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, 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 Query rewrite(IndexReader reader) throws IOException
rewrite
in class Query
IOException
public Weight createWeight(IndexSearcher searcher, boolean needScores, float boost) throws IOException
createWeight
in class Query
IOException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.