On Tue, May 24, 2022 at 04:26:37AM -0700, Sergio Luis Alegr??a wrote: > I migrate from 5.3 to 6.3. > The database migrate commando run everything ok. > I can access to my Dspace installation. > > But when I run *dspace index-discovery -b *throw the next error: > > > > *2022-05-24 10:58:41,980 ERROR org.dspace.discovery.SolrServiceImpl @ Error > while writing item to discovery index: 11086/804 message:Error while > creating field > 'search.resourceid{type=sint,properties=indexed,stored,omitNorms,omitTermFreqAndPositions,sortMissingLast,required, > > required=true}' from value > '01353d2a-229f-4d24-b0ee-5885669e6e29'org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: > > Error while creating field > 'search.resourceid{type=sint,properties=indexed,stored,omitNorms,omitTermFreqAndPositions,sortMissingLast,required, > > required=true}' from value '01353d2a-229f-4d24-b0ee-5885669e6e29'* > > In solr log throw the next error. > Caused by: java.lang.NumberFormatException: For input string: > "c06eb490-7034-46d5-ad20-bd6fd8873786" at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > > Seems like something is wrong with key values when the schema change (by > migration) from id (integer) to uuid (string) in items tables maybe?
Since Solr is saying that 'search.resourceid' is of type 'sint', it appears that your Solr schema for the 'search' core was not updated. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- 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 view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/Yo4SLnT6tOvaVNrG%40IUPUI.Edu.
signature.asc
Description: PGP signature