public class WrappedQuery extends ExtendedQueryBase
| Constructor and Description |
|---|
WrappedQuery(Query q) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Weight |
createWeight(Searcher searcher) |
boolean |
equals(Object obj) |
void |
extractTerms(Set<Term> terms) |
float |
getBoost() |
Query |
getWrappedQuery() |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
void |
setBoost(float b) |
void |
setWrappedQuery(Query q) |
String |
toString(String field) |
getCache, getCacheSep, getCost, getOptions, setCache, setCacheSep, setCostcombine, getSimilarity, mergeBooleanQueries, toString, weightpublic WrappedQuery(Query q)
public Query getWrappedQuery()
public void setWrappedQuery(Query q)
public Weight createWeight(Searcher searcher) throws IOException
createWeight in class QueryIOExceptionpublic Query rewrite(IndexReader reader) throws IOException
rewrite in class QueryIOExceptionpublic void extractTerms(Set<Term> terms)
extractTerms in class Querypublic String toString(String field)
toString in class ExtendedQueryBase