public class FilterQuery extends ExtendedQueryBase
| Constructor and Description |
|---|
FilterQuery(Query q) |
| Modifier and Type | Method and Description |
|---|---|
Weight |
createWeight(IndexSearcher searcher,
boolean needScores,
float boost) |
boolean |
equals(Object obj) |
Query |
getQuery() |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
String |
toString(String field) |
getCache, getCacheSep, getCost, getOptions, getOptionsString, setCache, setCacheSep, setCostclassHash, sameClassAs, toStringprotected final Query q
public FilterQuery(Query q)
public Query getQuery()
public String toString(String field)
toString in class ExtendedQueryBasepublic Query rewrite(IndexReader reader) throws IOException
rewrite in class QueryIOExceptionpublic Weight createWeight(IndexSearcher searcher, boolean needScores, float boost) throws IOException
createWeight in class QueryIOExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.