lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ariel" <ionat...@gmail.com>
Subject Re: Bulk delete
Date Fri, 04 Jul 2008 15:41:13 GMT
this is a really nice feature. any known limit for the amount of Ids that I
can add there?


On Fri, Jul 4, 2008 at 12:40 PM, Jonathan Ariel <ionathan@gmail.com> wrote:

> yeah I know. the problem with a query is that there is a maximum amount of
> query terms that I can add, which is reasonable. The problem is that I have
> thousands of Ids.
>
>
> On Fri, Jul 4, 2008 at 12:29 PM, Noble Paul നോബിള്‍ नोब्ळ्
<
> noble.paul@gmail.com> wrote:
>
>> You can either delete by a query or by an id. It is like you use any
>> database . If you can find a condition by which you can identify these
>> docs then you can delete by a query .
>> --Noble
>> On Fri, Jul 4, 2008 at 8:22 PM, Jonathan Ariel <ionathan@gmail.com>
>> wrote:
>> > Hi,
>> > 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
>> >
>> > Thanks,
>> >
>> > Jonathan
>> >
>>
>>
>>
>> --
>> --Noble Paul
>>
>
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message