public class WrappedQuery extends ExtendedQueryBase
Constructor and Description |
---|
WrappedQuery(Query q) |
Modifier and Type | Method and Description |
---|---|
WrappedQuery |
clone() |
Weight |
createWeight(IndexSearcher searcher,
boolean needsScores) |
boolean |
equals(Object obj) |
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, getOptionsString, setCache, setCacheSep, setCost
public WrappedQuery(Query q)
public Query getWrappedQuery()
public void setWrappedQuery(Query q)
public Weight createWeight(IndexSearcher searcher, boolean needsScores) throws IOException
createWeight
in class Query
IOException
public Query rewrite(IndexReader reader) throws IOException
rewrite
in class Query
IOException
public WrappedQuery clone()
public String toString(String field)
toString
in class ExtendedQueryBase
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.