Package org.apache.lucene.monitor
Class QueryDecomposer
java.lang.Object
org.apache.lucene.monitor.QueryDecomposer
Split a disjunction query into its consituent parts, so that they can be indexed and run
separately in the Monitor.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSplit a query up into individual parts that can be indexed and run separatelyDecompose aBooleanQuery
-
Constructor Details
-
QueryDecomposer
public QueryDecomposer()
-
-
Method Details
-
decompose
Split a query up into individual parts that can be indexed and run separately- Parameters:
q
- the query- Returns:
- a collection of subqueries
-
decomposeBoostQuery
-
decomposeBoolean
Decompose aBooleanQuery
- Parameters:
q
- the boolean query- Returns:
- a collection of subqueries
-