BlockJoinQuery: Allow to add a custom child collector, and customize the parent bitset extraction [LUCENE-3282]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
It would be nice to allow to add a custom child collector to the BlockJoinQuery to be called on every matching doc (so we can do things with it, like counts and such). Also, allow to extend BlockJoinQuery to have a custom code that converts the filter bitset to an OpenBitSet.
---
Migrated from [LUCENE-3282](https://issues.apache.org/jira/browse/LUCENE-3282) by Shay Banon (@kimchy), updated Nov 07 2014
Attachments: [LUCENE-3282.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-3282/LUCENE-3282.patch) (versions: 2)
Contributor guide
Research direction
Start by locating BlockJoinQuery and read its current child-collector and filter-bitset handling. Review the attached LUCENE-3282.patch for the historical approach, then determine the API changes needed so both behaviors can be customized and verify the requested use cases with appropriate 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
- Mostly clear
- Newbie friendliness
- 28/100