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

Make per-dimension drill down optional for each facet dimension

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.5, 8.0
    • modules/facet
    • None
    • New

    Description

      Today, when you index a FacetField with path foo/bar, we index two drill down terms onto the document: foo and foo/bar.

      But I suspect some users (like me!) don't need to drilldown just on foo (effectively "find all documents that have any value for this facet dimension"), so I added an option to FacetsConfig to let you specify per-dimension whether you need to drill down (defaults to true, matching current behavior).

      I also added hashCode and equals to the LongRange and DoubleRange classes in facets module, and improved CheckIndex a bit to print the total %deletions across the index.

      Attachments

        1. LUCENE-8367.patch
          11 kB
          Michael McCandless
        2. LUCENE-8367.patch
          11 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: