apache / apache/lucene

Add syntax for DisjunctionMaxQuery to the Query Parser [LUCENE-4004]

Open
#5,077 15 comments 0 reactions 1 assignee Claimed by @rmuir View on GitHub
affects-version:3.6 legacy-jira-priority:Major module:core/queryparser type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

I've come up with a use for DisjunctionMaxQuery, but not the dismax parser. I note that the toString() method on that item proposes a syntax with vertical bars. Is there any sympathy for a patch that added this to the standard parser, or some other syntax?

---
Migrated from [LUCENE-4004](https://issues.apache.org/jira/browse/LUCENE-4004) by Benson Margulies (@bimargulies-google), updated Apr 22 2012
Attachments: [LUCENE-4004.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-4004/LUCENE-4004.patch) (versions: 2)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.