Re: Adding and deleting documents in the same update request

2019-01-27 Thread Luiz Armesto
__ > From: Shawn Heisey > Sent: Wednesday, January 23, 2019 3:33 PM > To: solr-user@lucene.apache.org > Subject: Re: Adding and deleting documents in the same update request > > On 1/23/2019 5:58 AM, Andreas Nilsson wrote: > > Related: in the case where I cannot rely on

Re: Adding and deleting documents in the same update request

2019-01-27 Thread Andreas Nilsson
ache.org Subject: Re: Adding and deleting documents in the same update request On 1/23/2019 5:58 AM, Andreas Nilsson wrote: > Related: in the case where I cannot rely on the operations order in a single > update request, is there a recommended way to do these kinds of updates > "atomicall

Re: Adding and deleting documents in the same update request

2019-01-23 Thread Shawn Heisey
On 1/23/2019 5:58 AM, Andreas Nilsson wrote: Related: in the case where I cannot rely on the operations order in a single update request, is there a recommended way to do these kinds of updates "atomically" in a single request? Ideally, I obviously don't want the collection to be left in a stat

Adding and deleting documents in the same update request

2019-01-23 Thread Andreas Nilsson
Hi all, I am updating a Solr Collection (Solr 7.3.1 in Cloud mode using SolrJ Java API) with requests that include both adding new documents as well as deleting existing ones (by query). The deletion part is meant to make sure any earlier revisions of the indexed source are deleted as part of t