lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sethi, Parampreet" <>
Subject Re: $deleteDocByQuery and $deleteDocByID
Date Wed, 01 Feb 2012 16:54:15 GMT
Hi Erik,

Is this what you are looking for?

Execute the following command to delete a document
 java -Ddata=args -Dcommit=no -jar post.jar


Here is an example of using delete-by-query to delete anything with
      DDR <http://localhost:8983/solr/select?q=name:DDR&fl=name> in the
 java -Ddata=args -jar post.jar "<delete><query>name:DDR</query></delete>"

In case you are using Solrj client or similar there are direct functions
available to modify the index (add/update/delete).

Hope it helps!


On 2/1/12 11:14 AM, "ejcirel" <> wrote:

>Does anyone have an example of how to use the $deleteDocByQuery and
>$deleteDocByID special commands.  I am not finding much online.  Any help
>would be greatly appreciated.  Thank you.
>View this message in context:
>Sent from the Solr - User mailing list archive at

View raw message