In 6.2 in the SOLR statistics schema.xml the field id is declared integer and the actual content is not integer. This causes some queries like this one
q=type:2& fq=-isBot:true& fq=owningComm:94a589a1-33a0-41e3-a83b-f7644db9a1a5& fq=time:[2018-10-01T00:00:00Z+TO+2018-11-01T00:00:00Z]& rows=0& facet=true& facet.limit=-1& facet.pivot=id,statistics_type& facet.pivot.mincount=1& indent=on to fail. In a test repository I added a new field <field name="idstrng" type="string" indexed="true" stored="true" required="false" /> and a new copyField <copyField source="id" dest="idstrng"/> Then I ran dspace solr-reindex-statistics Now the above query works with facet.pivot=idstrng,statistics_type& I am getting one facet for every item with subfacets for view events and search events. My only question - before doing this with the production repository - is - may this change of the schema cause problems for the upgrade from 6.2 to 7.x? -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.