You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jan Verbeeck (Jira)" <ji...@apache.org> on 2022/04/01 14:26:00 UTC

[jira] [Created] (SOLR-16139) [Regression] JSON stat facet functions not working on analysed String (SortableTextField)

Jan Verbeeck created SOLR-16139:
-----------------------------------

             Summary: [Regression] JSON stat facet functions not working on analysed String (SortableTextField)
                 Key: SOLR-16139
                 URL: https://issues.apache.org/jira/browse/SOLR-16139
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: faceting
    Affects Versions: 8.11.1
            Reporter: Jan Verbeeck


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|https://github.com/verbeeckjan/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'.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org