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

Implement alternative drill sideways faceting with provided CollectorManager

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 9.0
    • 9.0, 8.10
    • modules/facet
    • None
    • New

    Description

      Today, if a user of DrillSideways wants to provide their own CollectorManager when invoking search, they get this alternate, "concurrent" implementation that creates N copies of the provided DrillDownQuery (where N is the number of drill-down dimensions) and runs them all concurrently. This is a very different implementation than the one a user would get if providing a Collector instead. Additionally, an ExecutorService must be provided when constructing a DrillSideways instance if the user wants to bring their own CollectorManager (otherwise, they'll get an unfriendly NPE when calling search).

      I propose adding an implementation to DrillSideways that will run the "non-concurrent" algorithm in the case that a user wants to provide their own CollectorManager but doesn't want to provide an ExecutorService (and doesn't want the concurrent algorithm).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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