lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Atri Sharma (JIRA)" <>
Subject [jira] [Updated] (LUCENE-8929) Early Terminating CollectorManager
Date Mon, 29 Jul 2019 06:51:00 GMT


Atri Sharma updated LUCENE-8929:
    Issue Type: Sub-task  (was: Improvement)
        Parent: LUCENE-8940

> Early Terminating CollectorManager
> ----------------------------------
>                 Key: LUCENE-8929
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Sub-task
>            Reporter: Atri Sharma
>            Priority: Major
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
> We should have an early terminating collector manager which accurately tracks hits across
all of its collectors and determines when there are enough hits, allowing all the collectors
to abort.
> The options for the same are:
> 1) Shared total count : Global "scoreboard" where all collectors update their current
hit count. At the end of each document's collection, collector checks if N > threshold,
and aborts if true
> 2) State Reporting Collectors: Collectors report their total number of counts collected
periodically using a callback mechanism, and get a proceed or abort decision.
> 1) has the overhead of synchronization in the hot path, 2) can collect unnecessary hits
before aborting.
> I am planning to work on 2), unless objections

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message