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

FacetsAccumulator set incorrect value for FacetResult.numValidDescendants

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3, 6.0
    • Component/s: modules/facet
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: