You can write a script and remove say 50 docs in 1 call. It's always better than removing 1 by 1. Regards.
On 27 January 2013 13:17, Bruno Mannina <bmann...@free.fr> wrote: > Hi, > > Even If I have one or two thousands of Id ? > > Thanks > > Le 27/01/2013 13:15, Marcin Rzewucki a écrit : > >> 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=> >>> <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=> >>> <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 >>> >>> >>> >