Home » lucene-3.0.1-src » org.apache » lucene » search » spans » [javadoc | source]
abstract public class: SpanQuery [javadoc | source]

All Implemented Interfaces:
    Cloneable, Serializable

Direct Known Subclasses:
    BoostingTermQuery, SpanOrQuery, SpanTermQuery, SpanRegexQuery, FieldMaskingSpanQuery, SpanNotQuery, PayloadTermQuery, SpanNearQuery, SpanFirstQuery, PayloadNearQuery

Base class for span-based queries.
Method from org.apache.lucene.search.spans.SpanQuery Summary:
createWeight,   getField,   getSpans
Methods from org.apache.lucene.search.Query:
clone,   combine,   createWeight,   equals,   extractTerms,   getBoost,   getSimilarity,   hashCode,   mergeBooleanQueries,   rewrite,   setBoost,   toString,   toString,   weight
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.search.spans.SpanQuery Detail:
 public Weight createWeight(Searcher searcher) throws IOException 
 abstract public String getField()
    Returns the name of the field matched by this query.
 abstract public Spans getSpans(IndexReader reader) throws IOException
    Expert: Returns the matches for this query in an index. Used internally to search for spans.