org.apache.lucene.search
Class MultiTermQuery
- Cloneable, Serializable
public abstract class MultiTermQuery
clone, combine, createWeight, extractTerms, getBoost, getSimilarity, mergeBooleanQueries, rewrite, setBoost, toString, toString, weight |
MultiTermQuery
public MultiTermQuery(Term term)
Constructs a query for terms matching term.
equals
public boolean equals(Object o)
getEnum
protected abstract FilteredTermEnum getEnum(IndexReader reader)
throws IOExceptionConstruct the enumeration to be used, expanding the pattern term.
getTerm
public Term getTerm()
Returns the pattern term.
hashCode
public int hashCode()
rewrite
public Query rewrite(IndexReader reader)
throws IOExceptionExpert: called to re-write queries into primitive queries. For example,
a PrefixQuery will be rewritten into a BooleanQuery that consists
of TermQuerys.
- rewrite in interface Query
toString
public String toString(String field)
Prints a user-readable version of this query.
- toString in interface Query
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.