Class IndriAndQuery

All Implemented Interfaces:
Iterable<BooleanClause>

public class IndriAndQuery extends IndriQuery
A Query that matches documents matching combinations of subqueries.
  • Constructor Details

  • Method Details

    • createWeight

      public Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws 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 class IndriQuery
      scoreMode - How the produced scorers will be consumed.
      boost - The boost that is propagated by the parent queries.
      Throws:
      IOException