Greg Miller created LUCENE-10001:
------------------------------------

             Summary: Make CollectionTerminatedException handling in 
MultiCollector configurable
                 Key: LUCENE-10001
                 URL: https://issues.apache.org/jira/browse/LUCENE-10001
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/search
    Affects Versions: main (9.0)
            Reporter: Greg Miller


In LUCENE-6772, {{MultiCollector}} was modified to continue collecting against 
other leaf collectors that had not thrown a {{CollectionTerminatedException}} 
in cases where another one does. It would be nice if this behavior could be 
configurable. Some use-cases might actually want to early terminate all leaf 
collectors as soon as one signals early termination.

We could add a configurable option to the {{MultiCollector#wrap}} factory 
methods that allows users to specify the behavior they want.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to