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-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org