Module org.apache.lucene.monitor
Package org.apache.lucene.monitor
Class QueryTree.DisjunctionQueryTree
java.lang.Object
org.apache.lucene.monitor.QueryTree
org.apache.lucene.monitor.QueryTree.DisjunctionQueryTree
- Enclosing class:
QueryTree
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadvancePhase(double minWeight) Find the next-most highly-weighted path below this nodevoidcollectTerms(BiConsumer<String, BytesRef> termCollector) Collect terms from the most highly-weighted path below this nodetoString(int depth) Returns a string representation of the nodedoubleweight()The weight of this nodeMethods inherited from class org.apache.lucene.monitor.QueryTree
anyTerm, conjunction, conjunction, disjunction, disjunction, space, term, term, term, toString
-
Field Details
-
children
-
-
Constructor Details
-
DisjunctionQueryTree
-
-
Method Details
-
weight
public double weight()Description copied from class:QueryTreeThe weight of this node -
collectTerms
Description copied from class:QueryTreeCollect terms from the most highly-weighted path below this node- Specified by:
collectTermsin classQueryTree
-
advancePhase
public boolean advancePhase(double minWeight) Description copied from class:QueryTreeFind the next-most highly-weighted path below this node- Specified by:
advancePhasein classQueryTree- Parameters:
minWeight- do not advance if the next path has a weight below this value- Returns:
falseif there are no more paths above the minimum weight
-
toString
Description copied from class:QueryTreeReturns a string representation of the node
-