public final class BlockScoreQueryWrapper extends Query
| Constructor and Description |
|---|
BlockScoreQueryWrapper(Query query,
int blockLength)
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Weight |
createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
boolean |
equals(Object obj) |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
String |
toString(String field) |
classHash, sameClassAs, toStringpublic BlockScoreQueryWrapper(Query query, int blockLength)
public Query rewrite(IndexReader reader) throws IOException
rewrite in class QueryIOExceptionpublic Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
createWeight in class QueryIOExceptionCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.