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

[Regression] JSON stat facet functions not working on analysed String (SortableTextField)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 8.11.1
    • None
    • faceting

    Description

      After updating Solr on my dev environment to version 8.11.1 I noticed nested json stat facets where not working anymore. When downgrading to 8.11.0 worked as before.

      It seems the problem is related to using an analysed string fieldtype like 'solr.SortableTextField' and then using a subfacet with a stat facet function like 'avg'.
       
      I have managed to reproduce this behaviour using docker. You can find the repository here: solr-json-repro
       
      The only change I made to the default managed-schema is to change the type of the dynamic field '*_s' to 'text_gen_sort'.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              verbeeckjan Jan Verbeeck
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: