org.apache.lucene.search.spans
public abstract class SpanQuery extends Query
Method Summary | |
---|---|
protected Weight | createWeight(Searcher searcher) |
abstract String | getField() Returns the name of the field matched by this query. |
abstract Spans | getSpans(IndexReader reader) Expert: Returns the matches for this query in an index. |
abstract Collection | getTerms() Returns a collection of all terms matched by this query. |