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

DrillSideways users should be able to opt-out of "drill down" facet collecting

Details

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

    Description

      The DrillSideways search methods will always populate a FacetsCollector for the "drill down" dimensions in addition to the "drill sideways" dimensions. For most cases, this makes sense, but it would be nice if users had a way to opt-out of this collection. It's possible a user may not care to do any faceting on "drill down" dims, or may have custom needs for facet collecting on the "drill downs." For the latter case, the user might want to provide a Collector/CollectorManager that does facet collecting with some custom logic (e.g., behind a MultiCollector/MultiCollectorManager), in which case the population of an additional FacetsCollector in DrillSideways is wasteful.

      The DrillSidewaysScorer already supports a null drillDownCollector gracefully, so this change should mostly just involve creating a protected method in DrillSideways for the purpose of creating a "drill down" FacetsCollector that users can override by providing null.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gsmiller Greg Miller
            Votes:
            0 Vote for this issue
            Watchers:
            3 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 - 2h
                2h

                Slack

                  Issue deployment