On Fri, Jul 4, 2008 at 10:52 AM, Jonathan Ariel <[EMAIL PROTECTED]> wrote:
> Is there any good way to do a bulk delete of several documents?
> I have more than 1000 documents to delete... and I don't want to send N
> request with <delete><id>X</id></delete>.
> Doing a query delete isn't a good solution because I have a maximum amount
> of terms that I can use in the query. For example:
> <delete><query>id:(X1 OR X2 OR .... OR Xn)</query></delete> where n could be
> more than 1000

As of Solr 1.3, you can specify multiple ids

<delete><id>1</id><id>2</id></delete>

-Yonik

Reply via email to