public final class BoostedQuery extends Query
| Constructor and Description | 
|---|
| BoostedQuery(Query subQuery,
            ValueSource boostVal) | 
| Modifier and Type | Method and Description | 
|---|---|
| Weight | createWeight(IndexSearcher searcher,
            boolean needsScores) | 
| boolean | equals(Object other) | 
| Query | getQuery() | 
| ValueSource | getValueSource() | 
| int | hashCode() | 
| Query | rewrite(IndexReader reader) | 
| String | toString(String field) | 
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) throws IOException
createWeight in class QueryIOExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.