Re: solrj - Batching and Optimistic Concurrency

2018-12-04 Thread lstusr 5u93n4
Hi Erick, Looks like TolerantUpdateProcessor is exactly what I need. Thanks! Kyle. P.S. I can find the doc for TolerantUpdateProcessorFactory here: http://lucene.apache.org/solr/7_5_0/solr-core/org/apache/solr/update/processor/TolerantUpdateProcessor.html , but it seems to be missing from the gu

Re: solrj - Batching and Optimistic Concurrency

2018-12-03 Thread Erick Erickson
You can add, say, a ScriptUpdateProcessor that checks this for you pretty easily. Have you looked at the Overwrite=false option (assuming you're not assigning _version_ yourself)? Best, Erick On Mon, Dec 3, 2018 at 11:57 AM lstusr 5u93n4 wrote: > > Hi All, > > I have a scenario where I'm trying

Re: solrj - Batching and Optimistic Concurrency

2018-12-03 Thread Erick Erickson
And I forgot to mention TolerantUpdateProcessor, might be another approach. On Mon, Dec 3, 2018 at 12:57 PM Erick Erickson wrote: > > You can add, say, a ScriptUpdateProcessor that checks this for you > pretty easily. > > Have you looked at the Overwrite=false option (assuming you're not > assign

solrj - Batching and Optimistic Concurrency

2018-12-03 Thread lstusr 5u93n4
Hi All, I have a scenario where I'm trying to enable batching on the solrj client, but trying to see how that works with Optimistic Concurrency. >From what I can tell, if I pass a list of SolrInputDocument to my solr client, and a document somewhere in that list contains a `_version_` field that