Re: Delete documents from the Solr index using SolrJ

2019-11-05 Thread Erick Erickson
wly added > docs. I hope this is possible, but how ? > Because, currently I am using SolrJ and it re-index complete data each time. > > -Original Message- > From: Peter Lancaster [mailto:peter.lancas...@findmypast.com] > Sent: 04 November 2019 21:35 > To: solr-user@luc

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
In my case, id won't be same. > Suppose, I have a doc with id : 20 > Now, it's newer version would be either 20.1 or 22 > What in this case? > -Original Message- > From: David Hastings [mailto:hastings.recurs...@gmail.com] > Sent: 04 November 2019 20:04 > To: solr

RE: Delete documents from the Solr index using SolrJ

2019-11-04 Thread Khare, Kushal (MIND)
t 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 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

Re: Delete Documents

2015-07-18 Thread Nagasharath
Cool, just curious Thanks Eric Sent from my iPhone > On 18-Jul-2015, at 10:23 am, Erick Erickson wrote: > > No idea what you mean by "chance of these deleted docs > getting re-indexed". Solr shouldn't be doing this by itself. > Certainly if your indexing process sends them in again > they'll

Re: Delete Documents

2015-07-18 Thread Erick Erickson
No idea what you mean by "chance of these deleted docs getting re-indexed". Solr shouldn't be doing this by itself. Certainly if your indexing process sends them in again they'll be re-indexed, there's no notion of "never index this doc again". Why? Are you seeing some symptom or are you just curi

Re: Delete documents in SOLR 1.4.1

2012-11-29 Thread Illu.Y.Ying (mis.sh04.Newegg) 41417
I tried your second case with SOLR3.5, It runs fine and the record could be deleted when you only configure deletedPkQuery. Could you consider upgrading your SOLR to version 3.5? Best Regards, Illu Ying -邮件原件- 发件人: RPSolrUser [mailto:roopa.parek...@gmail.com] 发送时间: 2012年11月27日 23:49 收件

Re: Delete documents with empty fields

2011-09-15 Thread Massimo Schiavon
On 15/09/2011 13:01, Ahmet Arslan wrote: +*:* -title:[* TO *] Worked fine. Thanks a lot! Massimo

Re: Delete documents with empty fields

2011-09-15 Thread Ahmet Arslan
> I want to delete all documents with > empty title field. > If i run the query -title:[* TO *] I obtain the correct > list of documents but when I submit to solr the delete > command: > > curl http://localhost:8080/solr/web/update\?commit=true -H > 'Content-Type: text/xml' --data-binary \ > '-tit

Re: Delete documents from index with dataimport

2009-05-14 Thread Fergus McMenemie
>Hi > >Yes I'd like the document deleted from Solr and yes, there is a unique >document id field in Solr. > I that case try the following. Create a field in the entity:- Notes. 1) the entity is assumed to have name="jc". 2) the uniqueKey field is assumed to called "id".

Re: Delete documents from index with dataimport

2009-05-14 Thread Andrew McCombe
Hi Yes I'd like the document deleted from Solr and yes, there is a unique document id field in Solr. Regards Andrew Andrew 2009/5/13 Fergus McMenemie : >>Hi >> >>Is it possible, through dataimport handler to remove an existing >>document from the Solr index? >> >>I import/update from my databas

Re: Delete documents from index with dataimport

2009-05-13 Thread Fergus McMenemie
>Hi > >Is it possible, through dataimport handler to remove an existing >document from the Solr index? > >I import/update from my database where the active field is true. >However, if the client then set's active to false, the document stays >in the Solr index and doesn't get removed. > >Regards >A