Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-553

MultiFieldDisjunctionMaxQueryParser

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.9, 2.0.0
    • None
    • core/queryparser
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            manawiz Chuck Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: