Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.9, 2.0.0
-
None
-
None
-
All
Description
Following on from Lucene-323, here is a replacement for the old DistributingMultiFieldQueryParser that works with the new QueryParser. This is essentially a cut-and-paste of MultiFieldQueryParser, using DisjunctionMaxQuery instead of BooleanQuery as the combing operator for the expansion of query terms across the multiple fields being searched. This is an important adjunct to DisjunctionMaxQuery as it provides a way to generate this query from input query strings.
It would be possible to generalize MultiFieldQueryParser to parameterize the combining operator, but this would require modifying it rather than simply adding a new class.