Re: $deleteDocByQuery and $deleteDocByID

2019-11-15 Thread Dominique Bejean
Hi Paresh, Due to deleteDocByQuery impact on commits and searcher reopen, if a lot of deletions are done it is preferable when possible to use deletebyid . Regards Dominique Le mar. 12 nov. 2019 à 07:03, Paresh a écrit : > Hi Erik, > > I am also looking for some example of deleteDocByQuery. H

Re: $deleteDocByQuery and $deleteDocByID

2019-11-12 Thread Paresh
Hi, I am able to get it done using following way - Thanks, Paresh -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: $deleteDocByQuery and $deleteDocByID

2019-11-12 Thread Paresh
Hi, I am able to get it done using following way - Thanks, Paresh -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: $deleteDocByQuery and $deleteDocByID

2019-11-11 Thread Paresh
Hi Erik, I am also looking for some example of deleteDocByQuery. Here is my requirement - I want to do the database query and get the list of values of which matching documents should be deleted from Solr. I want to delete the docs which matches following query SolrColumnName: This will c

Re: $deleteDocByQuery and $deleteDocByID

2012-02-01 Thread ejcirel
Thanks Alan, going to try this as well. Thanks for taking the time to answer. Erik -- View this message in context: http://lucene.472066.n3.nabble.com/deleteDocByQuery-and-deleteDocByID-tp3707070p3707266.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: $deleteDocByQuery and $deleteDocByID

2012-02-01 Thread ejcirel
Thanks James, I appreciate you taking the time to answer my question. I'll give this a shot. Erik -- View this message in context: http://lucene.472066.n3.nabble.com/deleteDocByQuery-and-deleteDocByID-tp3707070p3707263.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: $deleteDocByQuery and $deleteDocByID

2012-02-01 Thread Alan Rykhus
Hello Erik, We are running jetty in the background and use curl and the following: /usr/bin/curl -s http://127.0.0.1:8983/solr/biblio/update?commit=true -H "Content-Type: text/xml" --data-binary 'ebr*'; /usr/bin/curl -s http://127.0.0.1:8983/solr/biblio/update?commit=true -H "Content-Type: text/

Re: $deleteDocByQuery and $deleteDocByID

2012-02-01 Thread ejcirel
Thanks for answering Param, I appreciate it. I am actually looking for a way to delete records when performing a full import to the index. I am able to do it when issuing a delta import command by using the deletedPkQuery, but unfortnately the poor performance of the delta import prohibits me fro

RE: $deleteDocByQuery and $deleteDocByID

2012-02-01 Thread Dyer, James
Here is an example DIH entity that will delete from solr anything in the database that is not flagged as 'active'. There also was a bug, fixed in version 3.4, that would not commit automatically if only Deletes were processed in a DIH run. See https://issues.apache.org/jira/browse/SOLR-2492

Re: $deleteDocByQuery and $deleteDocByID

2012-02-01 Thread Sethi, Parampreet
Hi Erik, Is this what you are looking for? http://lucene.apache.org/solr/tutorial.html#Deleting+Data Execute the following command to delete a document java -Ddata=args -Dcommit=no -jar post.jar "SP2514N" Š Here is an example of using delete-by-query to delete anything with DDR