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

Add facets impl to count unique numeric values

Details

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

    Description

      The facets module has multiple facet methods for counting flat and hierarchical fields, and also a method for counting numeric ranges. I'd like to also add a method that counts unique numeric (long) values, designed to be used for fields that have only a few, typically low valued, numbers across the index e.g. a "review" rating from 1 to 5.

      Attachments

        1. LUCENE-7927.patch
          42 kB
          Michael McCandless
        2. LUCENE-7927.patch
          41 kB
          Michael McCandless
        3. LUCENE-7927.patch
          17 kB
          Michael McCandless

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: