apache / apache/lucene

MultiTerm disjunction query implementation [LUCENE-4579]

Open
#5,644 0 comments 0 reactions 0 assignees View on GitHub
affects-version:4.0 legacy-jira-label:patch legacy-jira-priority:Major module:core/search type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

This is a MultiTermQuery implementation for supporting disjunction of terms in the same field.

This should be the same as BooleanQuery for disjunction of the same field.

This is related to: #4406

---
Migrated from [LUCENE-4579](https://issues.apache.org/jira/browse/LUCENE-4579) by John Wang, 1 vote
Attachments: [multitermdisjunctionquery.diff](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-4579/multitermdisjunctionquery.diff)

Contributor guide

Open the contributing guide

Research direction

Read the attached multitermdisjunctionquery.diff and compare its proposed MultiTermQuery implementation with BooleanQuery, then inspect the related #4406 issue for context. Done means providing disjunction of terms in the same field with behavior matching BooleanQuery, but the issue names no files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.