Hi,

The best is if you could find a query for all docs you want to remove. If
this is not simple you can use the following syntax: id: (1 2 3 4 5) to
remove group of docs by ID (and if your default query operator is OR).

Regards.

On 27 January 2013 11:47, Bruno Mannina <bmann...@free.fr> wrote:

> Dear Solr users,
>
> Every Friday I need to delete some documents on my solr db (around 100~200
> docs).
>
> Could you help me to choose the best way to delete these documents.
> - I have the unique ID of each documents
>
> Another question:
> How can I disable to possibility to do:
>
> http://localhost:8983/solr/**update?stream.body=<http://localhost:8983/solr/update?stream.body=>
> <delete><**query>id:298253</query></**delete>&commit=true
> by using a webbrowser.
>
> I would like to do operations on my DB only if use a command line like
> java -jar -DUrl=
>
> http://localhost:8983/solr/**update?stream.body=<http://localhost:8983/solr/update?stream.body=>
> <delete><**query>id:298253</query></**delete>&commit=true post.jar
>
> is it possible?
>
> Thanks a lot,
> Bruno
>
>

Reply via email to