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