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, setCost
classHash, sameClassAs, toString
protected final Query q
public FilterQuery(Query q)
public Query getQuery()
public String toString(String field)
toString
in class ExtendedQueryBase
public void visit(QueryVisitor visitor)
public Query rewrite(IndexReader reader) throws IOException
rewrite
in class Query
IOException
public Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
createWeight
in class Query
IOException
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.