Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8466

Add support for UnInvertedField based faceting to FacetComponent

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0, 5.1, 5.2, 5.2.1, 5.3, 5.3.1, 5.4
    • Fix Version/s: 5.5, 6.0
    • Component/s: Facet Module, faceting
    • Labels:
      None

      Description

      The new JSON Faceting API supports building an UnInvertedField to do faceting which would be beneficial to add to Solr FacetComponent. This would provide additional options to implementors to choose the appropriate method of faceting for their particular use case.

      Summary

      added facet.method=uif which invokes UnInvertedField (top level data structure). facet.prefix and facet.contains are not supported. there are some jiras cover this gap.
      Note: field should be multivalued=true to get handled with uif, otherwise it silently goes to DV. Watch fieldValueCache stats while evaluating!

        Attachments

        1. SOLR-8466-failure.txt
          6 kB
          Mikhail Khludnev
        2. SOLR-8466.patch
          8 kB
          Mikhail Khludnev
        3. SOLR-8466.patch
          26 kB
          Mikhail Khludnev
        4. SOLR-8466.patch
          36 kB
          Mikhail Khludnev
        5. SOLR-8466.patch
          36 kB
          Mikhail Khludnev
        6. SOLR-8466.patch
          35 kB
          Mikhail Khludnev
        7. SOLR-8466.patch
          36 kB
          Mikhail Khludnev
        8. 8466.diff
          51 kB
          Jamie Johnson

          Issue Links

            Activity

              People

              • Assignee:
                mkhludnev Mikhail Khludnev
                Reporter:
                jej2003 Jamie Johnson
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: