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 "<delete><id>SP2514N</id></delete>" Š 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 name: 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! -param On 2/1/12 11:14 AM, "ejcirel" <ejci...@yahoo.com> 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. > >Erik > >-- >View this message in context: >http://lucene.472066.n3.nabble.com/deleteDocByQuery-and-deleteDocByID-tp37 >07070p3707070.html >Sent from the Solr - User mailing list archive at Nabble.com.