public class IndriAndQuery extends IndriQuery
Constructor and Description |
---|
IndriAndQuery(List<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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public IndriAndQuery(List<BooleanClause> clauses)
public Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
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.IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.