org.apache.lucene.search.spans
public class SpanTermQuery extends SpanQuery
Constructor Summary | |
---|---|
SpanTermQuery(Term term) Construct a SpanTermQuery matching the named term's spans. |
Method Summary | |
---|---|
boolean | equals(Object o) Returns true iff o is equal to this. |
String | getField() |
Spans | getSpans(IndexReader reader) |
Term | getTerm() Return the term whose spans are matched. |
Collection | getTerms() |
int | hashCode() Returns a hash code value for this object. |
String | toString(String field) |
o
is equal to this.