Methods Summary |
---|
protected org.apache.lucene.search.Weight | createWeight(org.apache.lucene.search.Searcher searcher)
return new SpanWeight(this, searcher);
|
public abstract java.lang.String | getField()Returns the name of the field matched by this query.
|
public abstract org.apache.lucene.search.spans.Spans | getSpans(org.apache.lucene.index.IndexReader reader)Expert: Returns the matches for this query in an index. Used internally
to search for spans.
|
public abstract java.util.Collection | getTerms()Returns a collection of all terms matched by this query.
|