org.apache.lucene.search
public class TermQuery extends Query
| Constructor Summary | |
|---|---|
| TermQuery(Term t) Constructs a query for the term t. | |
| Method Summary | |
|---|---|
| protected Weight | createWeight(Searcher searcher) |
| boolean | equals(Object o) Returns true iff o is equal to this. |
| Term | getTerm() Returns the term of this query. |
| int | hashCode() Returns a hash code value for this object. |
| String | toString(String field) Prints a user-readable version of this query. |
t.o is equal to this.