Package org.apache.lucene.tests.search
Class DisablingBulkScorerQuery
java.lang.Object
org.apache.lucene.search.Query
org.apache.lucene.tests.search.DisablingBulkScorerQuery
A
Query wrapper that disables bulk-scoring optimizations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) booleaninthashCode()rewrite(IndexSearcher indexSearcher) voidvisit(QueryVisitor visitor) Methods inherited from class org.apache.lucene.search.Query
classHash, sameClassAs, toString
-
Constructor Details
-
DisablingBulkScorerQuery
Sole constructor.
-
-
Method Details
-
rewrite
- Overrides:
rewritein classQuery- Throws:
IOException
-
createWeight
public Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException - Overrides:
createWeightin classQuery- Throws:
IOException
-
toString
-
visit
-
equals
-
hashCode
public int hashCode()
-