Hi Stephano, you're welcome. Please write a mail to dspace-tech whether this helped or not. The -b option replaces the old index with a completely new one. Running index-discover without options updates and cleans the index. It is recommended to run index-discovery -o daily to optimize the index. You can find more information here: https://wiki.duraspace.org/display/DSDOC4x/Discovery#Discovery-DiscoverySolrIndexMaintenance
Regards, Pascal > -----Original Message----- > From: Stephano John [mailto:[email protected]] > Sent: Friday, May 16, 2014 1:39 PM > To: Becker, Pascal-Nicolas > Subject: RE: [Dspace-tech] Error message when updating index > > Dear Pascal, > > Thank you for your immediately response, i always do [dspace- > install]/bin/dspace index-discovery > > Then i will try [dspace-install]/bin/dspace index-discovery -b") > > Regards > Stephano > > > > Hi Stephano, > > > > have you tried to use index-discovery to rebuild the complete index > > (using "[dspace-install]/bin/dspace index-discovery -b")? > > > > Regards, > > Pascal > > > >> -----Original Message----- > >> From: Stephano John [mailto:[email protected]] > >> Sent: Friday, May 16, 2014 7:50 AM > >> To: [email protected] > >> Subject: [Dspace-tech] Error message when updating index > >> > >> Dear all, > >> > >> We are running dspace 4.0, still not launched to be seen by the > >> public but when we run [dspace]/bin ..... index-discovery we get the > >> following error message, but previously it was working fine!! > >> > >> > >> Exception: Error executing query > >> org.dspace.discovery.SearchServiceException: Error executing query > >> at > >> > org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:484) > >> at org.dspace.discovery.IndexClient.main(IndexClient.java:119) > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> at > >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > >> j > >> ava:57) > >> at > >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > >> sorImpl.java:43) > >> at java.lang.reflect.Method.invoke(Method.java:606) > >> at > >> > org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.j > >> a > >> va:225) > >> at > >> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77) > >> Caused by: org.apache.solr.client.solrj.SolrServerException: Error > >> executing query > >> at > >> org.apache.solr.client.solrj.request.QueryRequest.process(QueryReques > >> t.ja > >> va:98) > >> at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301) > >> at > >> > org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:454) > >> ... 7 more > >> Caused by: java.lang.ClassCastException: > >> org.apache.solr.common.util.SimpleOrderedMap cannot be cast to > >> java.lang.String > >> at > >> > org.apache.solr.common.util.JavaBinCodec.readOrderedMap(JavaBinCodec. > >> j > >> ava:120) > >> at > >> > org.apache.solr.common.util.JavaBinCodec.readVal(JavaBinCodec.java:184) > >> at > >> > org.apache.solr.common.util.JavaBinCodec.readSolrDocument(JavaBinCode > >> c > >> .java:325) > >> at > >> > org.apache.solr.common.util.JavaBinCodec.readVal(JavaBinCodec.java:215) > >> at > >> org.apache.solr.common.util.JavaBinCodec.readArray(JavaBinCodec.java: > >> 451 > >> ) > >> at > >> > org.apache.solr.common.util.JavaBinCodec.readVal(JavaBinCodec.java:182) > >> at > >> org.apache.solr.common.util.JavaBinCodec.readSolrDocumentList(JavaBin > >> Co > >> dec.java:343) > >> at > >> > org.apache.solr.common.util.JavaBinCodec.readVal(JavaBinCodec.java:217) > >> at > >> > org.apache.solr.common.util.JavaBinCodec.readOrderedMap(JavaBinCodec. > >> j > >> ava:121) > >> at > >> > org.apache.solr.common.util.JavaBinCodec.readVal(JavaBinCodec.java:184) > >> at > >> org.apache.solr.common.util.JavaBinCodec.unmarshal(JavaBinCodec.java: > >> 11 > >> 2) > >> at > >> org.apache.solr.client.solrj.impl.BinaryResponseParser.processRespons > >> e(Bin > >> aryResponseParser.java:41) > >> at > >> > org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java: > >> 407) > >> at > >> > org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java: > >> 180) > >> at > >> org.apache.solr.client.solrj.request.QueryRequest.process(QueryReques > >> t.ja > >> va:90) > >> > >> > >> > >> > >> -- > >> This message has been scanned for viruses and dangerous content by > >> MailScanner, and is believed to be clean. > >> > >> > >> --------------------------------------------------------------------- > >> --------- "Accelerate Dev Cycles with Automated Cross-Browser Testing > >> - For FREE Instantly run your Selenium tests across 300+ browser/OS > >> combos. > >> Get unparalleled scalability from the best Selenium testing platform > >> available Simple to use. Nothing to install. Get started now for > >> free." > >> http://p.sf.net/sfu/SauceLabs > >> _______________________________________________ > >> DSpace-tech mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/dspace-tech > >> List Etiquette: > >> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > > > > -- > > This message has been scanned for viruses and dangerous content by > > MailScanner, and is believed to be clean. > > > > > > > > -- > This message has been scanned for viruses and dangerous content by > MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

