public class IndriAndQuery extends IndriQuery
Constructor and Description |
---|
<BooleanClause> clauses) |
Modifier and Type | Method and Description |
---|---|
Weight |
createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost)
Expert: Constructs an appropriate Weight implementation for this query.
|
equals, getClauses, hashCode, iterator, toString, visit
classHash, rewrite, sameClassAs, toString
public IndriAndQuery(<BooleanClause> clauses)
public Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws
Query
Only implemented by primitive queries, which re-write to themselves.
createWeight
in class IndriQuery
scoreMode
- How the produced scorers will be consumed.boost
- The boost that is propagated by the parent queries.
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.