- java.lang.Object
-
- org.apache.lucene.search.Query
-
- org.apache.lucene.search.IndriQuery
-
- org.apache.lucene.search.IndriAndQuery
-
- All Implemented Interfaces:
java.lang.Iterable<BooleanClause>
public class IndriAndQuery extends IndriQuery
A Query that matches documents matching combinations of subqueries.
-
-
Constructor Summary
Constructors Constructor Description IndriAndQuery(java.util.List<BooleanClause> clauses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Weight
createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)
Expert: Constructs an appropriate Weight implementation for this query.-
Methods inherited from class org.apache.lucene.search.IndriQuery
equals, getClauses, hashCode, iterator, toString, visit
-
Methods inherited from class org.apache.lucene.search.Query
classHash, rewrite, rewrite, sameClassAs, toString
-
-
-
-
Constructor Detail
-
IndriAndQuery
public IndriAndQuery(java.util.List<BooleanClause> clauses)
-
-
Method Detail
-
createWeight
public Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws java.io.IOException
Description copied from class:Query
Expert: Constructs an appropriate Weight implementation for this query.Only implemented by primitive queries, which re-write to themselves.
- Specified by:
createWeight
in classIndriQuery
scoreMode
- How the produced scorers will be consumed.boost
- The boost that is propagated by the parent queries.- Throws:
java.io.IOException
-
-