Re: Delete documents from the Solr index using SolrJ

2019-11-05 Thread Erick Erickson
. Then you can increment > version, re-index data, delete data for old version number. > > > -Original Message- > From: Khare, Kushal (MIND) [mailto:kushal.kh...@mind-infotech.com] > Sent: 04 November 2019 15:03 > To: solr-user@lucene.apache.org > Subject: [EXTERNAL] RE: Delete document

RE: Delete documents from the Solr index using SolrJ

2019-11-05 Thread Khare, Kushal (MIND)
November 2019 21:35 To: solr-user@lucene.apache.org Subject: RE: Delete documents from the Solr index using SolrJ You can delete documents in SolrJ by using deleteByQuery. Using this you can delete any number of documents from your index or all your documents depending on the query you specify as the

Re: Delete documents from the Solr index using SolrJ

2019-11-04 Thread Erick Erickson
gt; On Mon, Nov 4, 2019 at 9:30 AM Khare, Kushal (MIND) < >> kushal.kh...@mind-infotech.com> wrote: >> >>> Could you please let me know how to achieve that ? >>> >>> >>> -----Original Message- >>> From: Jörn Franke

Re: Delete documents from the Solr index using SolrJ

2019-11-04 Thread Walter Underwood
20:04 > To: solr-user@lucene.apache.org > Subject: Re: Delete documents from the Solr index using SolrJ > > when you add a new document using the same "id" value as another it just over > writes it > > On Mon, Nov 4, 2019 at 9:30 AM Khare, Kushal (MIND) < > kus

RE: Delete documents from the Solr index using SolrJ

2019-11-04 Thread Peter Lancaster
(MIND) [mailto:kushal.kh...@mind-infotech.com] Sent: 04 November 2019 15:03 To: solr-user@lucene.apache.org Subject: [EXTERNAL] RE: Delete documents from the Solr index using SolrJ Thanks! Actually am working on a Java web application using SolrJ for Solr search. The users would actually be uploading/ed

RE: Delete documents from the Solr index using SolrJ

2019-11-04 Thread Khare, Kushal (MIND)
carry on with the solution that you proposed. Please guide ! -Original Message- From: David Hastings [mailto:hastings.recurs...@gmail.com] Sent: 04 November 2019 20:10 To: solr-user@lucene.apache.org Subject: Re: Delete documents from the Solr index using SolrJ delete them by query would

Re: Delete documents from the Solr index using SolrJ

2019-11-04 Thread David Hastings
kushal.kh...@mind-infotech.com> wrote: > > > Could you please let me know how to achieve that ? > > > > > > -Original Message- > > From: Jörn Franke [mailto:jornfra...@gmail.com] > > Sent: 04 November 2019 19:59 > > To: solr-user@lucene.apache.org > > Subject: Re

RE: Delete documents from the Solr index using SolrJ

2019-11-04 Thread Khare, Kushal (MIND)
ubject: Re: Delete documents from the Solr index using SolrJ when you add a new document using the same "id" value as another it just over writes it On Mon, Nov 4, 2019 at 9:30 AM Khare, Kushal (MIND) < kushal.kh...@mind-infotech.com> wrote: > Could you please le

RE: Delete documents from the Solr index using SolrJ

2019-11-04 Thread Khare, Kushal (MIND)
more clear now. -Original Message- From: Khare, Kushal (MIND) [mailto:kushal.kh...@mind-infotech.com] Sent: 04 November 2019 20:00 To: solr-user@lucene.apache.org Subject: RE: Delete documents from the Solr index using SolrJ Could you please let me know how to achieve that

Re: Delete documents from the Solr index using SolrJ

2019-11-04 Thread David Hastings
age- > From: Jörn Franke [mailto:jornfra...@gmail.com] > Sent: 04 November 2019 19:59 > To: solr-user@lucene.apache.org > Subject: Re: Delete documents from the Solr index using SolrJ > > I don’t understand why it is not possible. > > However why don’t you simply overwrite th

RE: Delete documents from the Solr index using SolrJ

2019-11-04 Thread Khare, Kushal (MIND)
Could you please let me know how to achieve that ? -Original Message- From: Jörn Franke [mailto:jornfra...@gmail.com] Sent: 04 November 2019 19:59 To: solr-user@lucene.apache.org Subject: Re: Delete documents from the Solr index using SolrJ I don’t understand why it is not possible

Re: Delete documents from the Solr index using SolrJ

2019-11-04 Thread Jörn Franke
I don’t understand why it is not possible. However why don’t you simply overwrite the existing document instead of add+delete > Am 04.11.2019 um 15:12 schrieb Khare, Kushal (MIND) > : > > Hello mates! > I want to know how we can delete the documents from the Solr index . Suppose > for my sys

Delete documents from the Solr index using SolrJ

2019-11-04 Thread Khare, Kushal (MIND)
Hello mates! I want to know how we can delete the documents from the Solr index . Suppose for my system, I have a document that has been indexed, now its newer version is into use, so I want to use the latest one, for that I want the previous one to be deleted from the index. Kindly help me a wa