Implementation of count() in TermInSetQuery
Open
discussion
type:enhancement
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
### Description
Since [LUCENE-10608](https://issues.apache.org/jira/browse/LUCENE-10608) , could we implement count() in TermInSetQuery by rewriting TermInSetQuery to a pure disjunction BooleanQuery?
Contributor guide
Research direction
Start with TermInSetQuery and review the context in LUCENE-10608 to understand the requested count() behavior. Confirm that count() rewrites TermInSetQuery to a pure disjunction BooleanQuery and verify the resulting behavior with the relevant existing query tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100