Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-10001

Make CollectionTerminatedException handling in MultiCollector configurable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 9.0
    • None
    • core/search
    • None
    • New

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              gsmiller Greg Miller
              gsmiller Greg Miller
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m