Add minChildren and maxChildren options to ToParentBlockJoinQuery [LUCENE-6354]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
This effectively allows to ignore parent documents with too few children documents via the minChildren option or too many matching children documents via the maxChildren option.
---
Migrated from [LUCENE-6354](https://issues.apache.org/jira/browse/LUCENE-6354) by Martijn van Groningen (@martijnvg), 1 vote, updated Oct 25 2018
Attachments: [LUCENE-6354.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-6354/LUCENE-6354.patch) (versions: 4)
Contributor guide
Research direction
Start with the ToParentBlockJoinQuery entry point and review the archived LUCENE-6354.patch to understand the intended scope. Trace the existing query behavior and related tests, then verify that minChildren excludes parents with too few children and maxChildren excludes parents with too many matching children.
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