@Deprecated public final class BoostedQuery extends Query
| Constructor and Description |
|---|
BoostedQuery(Query subQuery,
ValueSource boostVal)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Weight |
createWeight(IndexSearcher searcher,
boolean needsScores,
float boost)
Deprecated.
|
boolean |
equals(Object other)
Deprecated.
|
Query |
getQuery()
Deprecated.
|
ValueSource |
getValueSource()
Deprecated.
|
int |
hashCode()
Deprecated.
|
Query |
rewrite(IndexReader reader)
Deprecated.
|
String |
toString(String field)
Deprecated.
|
classHash, sameClassAs, toStringpublic BoostedQuery(Query subQuery, ValueSource boostVal)
public Query getQuery()
public ValueSource getValueSource()
public Query rewrite(IndexReader reader) throws IOException
rewrite in class QueryIOExceptionpublic Weight createWeight(IndexSearcher searcher, boolean needsScores, float boost) throws IOException
createWeight in class QueryIOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.