Module org.apache.lucene.monitor
Package org.apache.lucene.monitor
Class QueryTree.ConjunctionQueryTree
java.lang.Object
org.apache.lucene.monitor.QueryTree
org.apache.lucene.monitor.QueryTree.ConjunctionQueryTree
- Enclosing class:
QueryTree
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
advancePhase
(double minWeight) Find the next-most highly-weighted path below this nodevoid
collectTerms
(BiConsumer<String, BytesRef> termCollector) Collect terms from the most highly-weighted path below this nodetoString
(int depth) Returns a string representation of the nodedouble
weight()
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
-
COMPARATOR
-
children
-
-
Constructor Details
-
ConjunctionQueryTree
-
-
Method Details
-
weight
public double weight()Description copied from class:QueryTree
The weight of this node -
collectTerms
Description copied from class:QueryTree
Collect terms from the most highly-weighted path below this node- Specified by:
collectTerms
in classQueryTree
-
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 classQueryTree
- 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
Description copied from class:QueryTree
Returns a string representation of the node
-