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

Add support for UnInvertedField based faceting to FacetComponent

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0, 5.1, 5.2, 5.2.1, 5.3, 5.3.1, 5.4
    • 5.5, 6.0
    • Facet Module, faceting
    • 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. 8466.diff
          51 kB
          Jamie Johnson
        2. SOLR-8466.patch
          36 kB
          Mikhail Khludnev
        3. SOLR-8466.patch
          35 kB
          Mikhail Khludnev
        4. SOLR-8466.patch
          36 kB
          Mikhail Khludnev
        5. SOLR-8466.patch
          36 kB
          Mikhail Khludnev
        6. SOLR-8466.patch
          26 kB
          Mikhail Khludnev
        7. SOLR-8466.patch
          8 kB
          Mikhail Khludnev
        8. SOLR-8466-failure.txt
          6 kB
          Mikhail Khludnev

        Issue Links

          Activity

            People

              mkhl Mikhail Khludnev
              jej2003 Jamie Johnson
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: