apache / apache/lucene

Allow Callbacks For Events In Collectors/ CollectorManagers [LUCENE-8897]

Open
#9,940 0 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

It would be good to allow and Collectors and CollectorManagers to allow callbacks to happen for specific incidents (such as collection of N doc IDs across all Collectors of a CollectorManager). This will allow things like more accurate early termination to happen.

---
Migrated from [LUCENE-8897](https://issues.apache.org/jira/browse/LUCENE-8897) by Atri Sharma (@atris)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Collector and CollectorManager APIs and how collection events are coordinated across collectors. Define the callback behavior for incidents such as collecting N document IDs across all collectors, then verify that the design supports more accurate early termination.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.