Class QueryTree.DisjunctionQueryTree

java.lang.Object
org.apache.lucene.monitor.QueryTree
org.apache.lucene.monitor.QueryTree.DisjunctionQueryTree
Enclosing class:
QueryTree

private static class QueryTree.DisjunctionQueryTree extends QueryTree
  • Field Details

  • Constructor Details

    • DisjunctionQueryTree

      private DisjunctionQueryTree(List<QueryTree> children)
  • Method Details

    • weight

      public double weight()
      Description copied from class: QueryTree
      The weight of this node
      Specified by:
      weight in class QueryTree
    • collectTerms

      public void collectTerms(BiConsumer<String,BytesRef> termCollector)
      Description copied from class: QueryTree
      Collect terms from the most highly-weighted path below this node
      Specified by:
      collectTerms in class QueryTree
    • advancePhase

      public boolean advancePhase(double minWeight)
      Description copied from class: QueryTree
      Find the next-most highly-weighted path below this node
      Specified by:
      advancePhase in class QueryTree
      Parameters:
      minWeight - do not advance if the next path has a weight below this value
      Returns:
      false if there are no more paths above the minimum weight
    • toString

      public String toString(int depth)
      Description copied from class: QueryTree
      Returns a string representation of the node
      Specified by:
      toString in class QueryTree
      Parameters:
      depth - the current depth of this node in the overall query tree