Hi Everyone, I hope you are safe and well. I am reaching out today to inquire about an error I received while running the solr stats migration tool for migrating stats from DSpace 5 to DSpace 6. We are on JSPUI 6.3, we imported a small set of solr documents from our DSpace 5.9 environment and the error thrown states "Exception: Type mismatch: id was indexed with multiple values per document, use SORTED_SET instead"
Has anyone encountered this error while running the tool or has any tips for making this successful run? Thank you for reading, the full stack trace is below. Best Regards, Rachel ./dspace dsrun org.dspace.util.SolrUpgradePre6xStatistics * This process should be run iteratively over every statistics shard * until there are no remaining records with legacy ids present. * This process can be run while the system is in use. * It is likely to take 1 hour/1,000,000 legacy records to be udpated. * * This process will rewrite most solr statistics records and may temporarily double * the size of your statistics repositories. Consider optimizing your solr repos when complete. * ------------------------------------------------------------------- No index name provided, defaulting to : statistics Connecting to http://solrcloud:8983/solr/statistics ================================================================= *** Statistics Records with Legacy Id *** 6 Bistream View 1 Community View 0 Item View 0 Collection View -------------------------------------- 7 TOTAL ================================================================= Exception: Type mismatch: id was indexed with multiple values per document, use SORTED_SET instead org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Type mismatch: id was indexed with multiple values per document, use SORTED_SET instead at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:552) at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210) at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206) at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91) at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301) at org.dspace.util.SolrUpgradePre6xStatistics.updateRecords(SolrUpgradePre6xStatistics.java:495) at org.dspace.util.SolrUpgradePre6xStatistics.run(SolrUpgradePre6xStatistics.java:454) at org.dspace.util.SolrUpgradePre6xStatistics.main(SolrUpgradePre6xStatistics.java:366) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81) -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/7deb4167-1f3c-4331-9c79-abecff187189n%40googlegroups.com.
