On 5/29/2014 9:55 PM, M, Arjun (NSN - IN/Bangalore) wrote:
>       Thanks a lot for your nice explanation..  Now I understood the 
> difference between autoCommit and autoSoftCommit.. Now my config looks like 
> below.
>
> <autoCommit> 
>        <maxDocs>10000</maxDocs> 
>        <openSearcher>false</openSearcher> 
>      </autoCommit>
>
> <autoSoftCommit> 
>        <maxTime>15000</maxTime> 
>      </autoSoftCommit>
>
>
>       With this now I am getting some other error like this.  
>
> org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: version 
> conflict for 1401421678039128128000000030383128128 
> expected=1469497192978841608 actual=1469497212082847746

This sounds like you are including the _version_ field in your document
when you index.  You probably shouldn't be doing that.  Here's what that
field is for, and how it works:

http://heliosearch.org/solr/optimistic-concurrency/

Thanks,
Shawn

Reply via email to