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

All Implemented Interfaces:
    Cloneable, Serializable

Direct Known Subclasses:

A Query that matches documents containing a term. This may be combined with other terms with a BooleanQuery .
 public TermQuery(Term t) 
    Constructs a query for the term t.
Method from org.apache.lucene.search.TermQuery Summary:
createWeight,   equals,   extractTerms,   getTerm,   hashCode,   toString
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.TermQuery Detail:
 public Weight createWeight(Searcher searcher) throws IOException 
 public boolean equals(Object o) 
    Returns true iff o is equal to this.
 public  void extractTerms(Set<Term> terms) 
 public Term getTerm() 
    Returns the term of this query.
 public int hashCode() 
    Returns a hash code value for this object.
 public String toString(String field) 
    Prints a user-readable version of this query.