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

FacetsAccumulator set incorrect value for FacetResult.numValidDescendants

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.3, 6.0
    • modules/facet
    • None
    • New, Patch Available

    Description

      This is cheap to compute, since the TopKFRH already must visit all non-zero-count ords under the FacetRequest.categoryPath.

      This can be useful to a front end, eg to know whether to present a "More..." under that dimension or not, whether to use a suggester like LinkedIn's facet UI, etc.

      Attachments

        1. LUCENE-4885.patch
          14 kB
          Michael McCandless
        2. LUCENE-4885.patch
          17 kB
          Michael McCandless
        3. LUCENE-4885.patch
          18 kB
          Shai Erera

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: