public class BoostedQuery extends Query
| Constructor and Description |
|---|
BoostedQuery(Query subQuery,
ValueSource boostVal) |
| Modifier and Type | Method and Description |
|---|---|
Weight |
createWeight(Searcher searcher) |
boolean |
equals(Object o) |
void |
extractTerms(Set terms) |
Query |
getQuery() |
ValueSource |
getValueSource() |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
String |
toString(String field) |
clone, combine, getBoost, getSimilarity, mergeBooleanQueries, setBoost, toString, weightpublic BoostedQuery(Query subQuery, ValueSource boostVal)
public Query getQuery()
public ValueSource getValueSource()
public Query rewrite(IndexReader reader) throws IOException
rewrite in class QueryIOExceptionpublic void extractTerms(Set terms)
extractTerms in class Querypublic Weight createWeight(Searcher searcher) throws IOException
createWeight in class QueryIOException