Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiFieldDisjunctionMaxQueryParser [LUCENE-553] #1631

Open
asfimport opened this issue Apr 22, 2006 · 1 comment
Open

MultiFieldDisjunctionMaxQueryParser [LUCENE-553] #1631

asfimport opened this issue Apr 22, 2006 · 1 comment

Comments

@asfimport
Copy link

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.


Migrated from LUCENE-553 by Chuck Williams, updated Feb 28 2013
Environment:

All

Attachments: MultiFieldDisjunctionMaxQueryParser.java, MultiFieldDisjunctionMaxQueryParserTest.java

@asfimport
Copy link
Author

Jan Høydahl (@janhoy) (migrated from JIRA)

This issue has been inactive for more than 4 years. Please close if it's no longer relevant/needed, or bring it up to date if you intend to work on it. SPRING_CLEANING_2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant