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

SolrJ's JsonFacetingResponse mishandles stat-facets on date fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 7.7, 8.0, 9.0
    • 8.3
    • SolrJ
    • None

    Description

      SolrJ has some classes which simplify access to JSON Faceting responses. These classes parse the response and maintain a Map of facet names to their values. Currently, this section has a bug where it only records stat facets in this Map if the facet value is a Number. (When writing this code, I mistakenly assumed that stat functions could be used on date fields).

      We should fix JsonFacetingResponse so that it handles date-based facets correctly.

      Attachments

        1. SOLR-13417.patch
          10 kB
          Munendra S N

        Activity

          People

            munendrasn Munendra S N
            gerlowskija Jason Gerlowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: