Documentation of 'org.apache.lucene.search.spans.SpanQuery' Java class
SpanQuery
org.apache.lucene.search.spans

Class SpanQuery

    • Constructor Detail

      • SpanQuery

        public SpanQuery()
    • Method Detail

      • getSpans

        public abstract Spans getSpans(IndexReader reader)
                                throws java.io.IOException
        Expert: Returns the matches for this query in an index. Used internally to search for spans.
        Throws:
        java.io.IOException
      • getField

        public abstract java.lang.String getField()
        Returns the name of the field matched by this query.
      • getTerms

        public abstract java.util.Collection getTerms()
        Deprecated. use extractTerms instead
        Returns a collection of all terms matched by this query.
        See Also:
        Query.extractTerms(Set)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.