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) |
void |
visit(QueryVisitor visitor) |
classHash, sameClassAs, toStringpublic BlockScoreQueryWrapper(Query query, int blockLength)
public Query rewrite(IndexReader reader) throws IOException
rewrite in class QueryIOExceptionpublic void visit(QueryVisitor visitor)
public Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
createWeight in class QueryIOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.