apache / apache/lucene

Cancellable Tasks and CancellableCollector [LUCENE-9789]

Open
#10,828 0 comments 0 reactions 1 assignee Claimed by @atris 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

Add the concept of cancellable tasks (tasks which can be cancelled by external means) and a physical implementation of the same, CancellableCollector which allows cancellation of a collector's collection using an AtomicBoolean, which can be triggered by an external call.

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.