public class FilterQuery extends ExtendedQueryBase
| Constructor and Description |
|---|
FilterQuery(Query q) |
| Modifier and Type | Method and Description |
|---|---|
Weight |
createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
boolean |
equals(Object obj) |
Query |
getQuery() |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
String |
toString(String field) |
void |
visit(QueryVisitor visitor) |
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 void visit(QueryVisitor visitor)
public Query rewrite(IndexReader reader) throws IOException
rewrite in class QueryIOExceptionpublic Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
createWeight in class QueryIOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.