apache / apache/lucene

ToChildBlockJoinSortField to sort children by a parent field [LUCENE-7835]

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

Description

When searching by `ToChildBlockJoinQuery` compare child docs by parent fields.

---
Migrated from [LUCENE-7835](https://issues.apache.org/jira/browse/LUCENE-7835) by Mikhail Khludnev (@mkhludnev), updated May 25 2019
Attachments: [LUCENE-7835.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-7835/LUCENE-7835.patch)
Linked issues:
- [SOLR-10701](https://issues.apache.org/jira/browse/SOLR-10701)
- #5839
- #8460
- #8922
- #8460

Contributor guide

Open the contributing guide

Research direction

The request concerns ToChildBlockJoinQuery and a proposed ToChildBlockJoinSortField, with the LUCENE-7835.patch attachment as the only implementation reference. Start by reviewing that patch and the linked issues, then determine how child documents should be compared by parent fields. Done means searches using ToChildBlockJoinQuery can sort child documents according to their parent fields.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.