Hi,

We are getting the  below error message while trying to delete 30k records
from solr.

Error occured while invoking endpoint on Solr: 
org.apache.solr.client.solrj.SolrServerException: Error executing query
        at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:98)
        at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:36)
        at
com.ntrs.wpf.search.batch.BatchProcessorImpl.run(BatchProcessorImpl.java:57)
        at
com.ntrs.wpf.search.batch.SolrIndexingController.purgePositions(SolrIndexingController.java:235)
        at
com.ntrs.wpf.search.batch.SolrIndexingController.execute(SolrIndexingController.java:106)
        at
com.ntrs.wpf.search.batch.BatchFrameworkManager.main(BatchFrameworkManager.java:63)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at
org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
Caused by: java.lang.RuntimeException: Invalid version (expected 2, but 60)
or the data in not in 'javabin' format
        at
org.apache.solr.common.util.JavaBinCodec.unmarshal(JavaBinCodec.java:109)
        at
org.apache.solr.client.solrj.impl.BinaryResponseParser.processResponse(BinaryResponseParser.java:41)
        at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:387)
        at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:181)
        at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:90)
        ... 10 more


we are forming the delete query as below.
 
(Account:123+AND+DATE:["2013-11-29T00:00:00Z"+TO+"2013-11-29T23:59:59Z"])+OR+
(Account:345+AND+DATE:["2013-11-29T00:00:00Z"+TO+"2013-11-29T23:59:59Z"])+OR+
(Account:569+AND+DATE:["2013-11-29T00:00:00Z"+TO+"2013-11-29T23:59:59Z"])+OR+
(Account:789+AND+DATE:["2013-11-29T00:00:00Z"+TO+"2013-11-29T23:59:59Z"])+OR+..........+OR+30k
th record)

But we are able to delete small number of records without any issues.

Can anyone please help us on this.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Invalid-version-expected-2-but-60-or-the-data-in-not-in-javabin-format-exception-while-deleting-30k-s-tp4109259.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to