public class BoostingQuery extends Query
| Constructor and Description |
|---|
BoostingQuery(Query match,
Query context,
float boost) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
Query |
rewrite(IndexReader reader)
Expert: called to re-write queries into primitive queries.
|
String |
toString(String field)
Prints a query to a string, with
field assumed to be the
default field and omitted. |
clone, combine, createWeight, extractTerms, getBoost, getSimilarity, mergeBooleanQueries, setBoost, toString, weightpublic Query rewrite(IndexReader reader) throws IOException
Queryrewrite in class QueryIOExceptionpublic String toString(String field)
Queryfield assumed to be the
default field and omitted.
The representation used is one that is supposed to be readable
by QueryParser. However,
there are the following limitations: