Instrument IndexOrDocValuesQuery to report on its decisions
Open
type:enhancement
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
### Description
For Amazon Product Search, we use `IndexOrDocValuesQuery` and have changed it to take a listener type object that records and reports on the decision the query has made. We look at how often it picks indexed vs doc values and we can see if there are changes in the frequency with which we take each branch. Would this be a welcome addition?
Contributor guide
Research direction
Start by locating IndexOrDocValuesQuery and examining how it chooses between indexed values and doc values. Define the listener API and reporting behavior with the maintainers, then add coverage showing that each decision is reported correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- observability, search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100