You can delete individually, all (*:* query) or by specific query. So,
if there is no common query pattern you may need to do a multi-id
query - something like "id:(id1 id2 id3 id4)" which does require you
knowing the IDs.

Regards,
   Alex.
Personal: http://www.outerthoughts.com/ and @arafalov
Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
Solr popularizers community: https://www.linkedin.com/groups?gid=6713853


On 24 October 2014 15:44, Olivier Austina <olivier.aust...@gmail.com> wrote:
> Hi,
>
> This is newbie question. I have indexed some documents using some XML files
> as indicating in the tutorial
> <http://lucene.apache.org/solr/4_10_1/tutorial.html> with the command :
>
> java -jar post.jar *.xml
>
> I have seen how to delete an index for one document but how to delete
> all indexes
> for documents within an XML file. For example if I have indexed some
> files A, B, C, D etc.,
> how to delete indexes of documents from file C. Is there a command
> like above or other
> solution without using individual ID? Thank you.
>
>
> Regards
> Olivier

Reply via email to