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

JSON FacetModule can't compute stats (min,max,etc...) on multivalued fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.4
    • Facet Module
    • None

    Description

      While trying to write some tests demonstrating equivalences between the StatsComponent and the JSON FacetModule i discovered that the FacetModules stat functions (min, max, etc...) don't seem to work on multivalued fields.

      Based on the stack traces, i gather the problem is because the FacetModule seems to rely exclusively on using the "Function" parsers to get a value source – apparently w/o any other method of accumulating numeric stats from multivalued (numeric) DocValues?

      Attachments

        1. SOLR-11706.patch
          13 kB
          Chris M. Hostetter
        2. SOLR-11706.patch
          56 kB
          Munendra S N
        3. SOLR-11706.patch
          67 kB
          Munendra S N
        4. SOLR-11706.patch
          67 kB
          Munendra S N
        5. SOLR-11706.patch
          85 kB
          Munendra S N
        6. SOLR-11706.patch
          14 kB
          Munendra S N
        7. SOLR-11706.patch
          14 kB
          Munendra S N

        Issue Links

          Activity

            People

              munendrasn Munendra S N
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: