apache / apache/lucene

TermInSetQuery should include a getter for field [LUCENE-7786]

Open
#8,837 6 comments 0 reactions 0 assignees View on GitHub
affects-version:6.5 affects-version:7.0 legacy-jira-priority:Trivial type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Per #8688, TermInSetQuery is restricted to a single field. However, there is no getter for the field. A public getter should be added to expose the field name.

---
Migrated from [LUCENE-7786](https://issues.apache.org/jira/browse/LUCENE-7786) by Michael Braun (@michaelbraun), updated Jun 27 2019

Contributor guide

Open the contributing guide

Research direction

Start by locating TermInSetQuery and reviewing its existing single-field state and public API. Add the requested public getter for the field name, then verify that it exposes the expected value without changing query behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.