Re: Bulk delete of Solr documents

2016-02-08 Thread Susheel Kumar
Yes, use below url http://localhost:8983/solr//update?stream.body= *:*&commit=true On Mon, Feb 8, 2016 at 11:33 AM, Anil wrote: > Hi , > > Can we delete solr documents from a collection in a bulk ? > > Regards, > Anil >

Re: Bulk delete of Solr documents

2016-02-08 Thread Yago Riveiro
Yes. You can delete using a query http://blog.dileno.com/archive/201106/delete-documents-from-solr-index-by- query/ \-- /Yago Riveiro > On Feb 8 2016, at 4:35 pm, Anil wrote: > > Hi , > > Can we delete solr documents from a collection in a bulk ? > >

Bulk delete of Solr documents

2016-02-08 Thread Anil
Hi , Can we delete solr documents from a collection in a bulk ? Regards, Anil

Re: Bulk delete

2008-07-07 Thread Frans Flippo
lds. E.g. date:[20080101 TO 20080330] ~ Frans On Fri, Jul 4, 2008 at 4:52 PM, Jonathan Ariel <[EMAIL PROTECTED]> 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

Re: Bulk delete

2008-07-05 Thread Walter Underwood
Sending chunked requests is more work, but as Mike points out, it is good design. A design without limits on request size can fail by overloading the server, hitting security triggers in firewall software, etc. That is a fragile design. I doubt that there is any difference in performance between b

Re: Bulk delete

2008-07-04 Thread Jonathan Ariel
It is reasonable, but it seems to me too much work if I already know in advance all the IDs that I want to delete. Having N Ids to delete in advance seems unnatural to execute N requests instead of just 1 or few, but not N. If I can avoid unnecessary requests grouping them, I would do it. Specially

Re: Bulk delete

2008-07-04 Thread Mike Klaas
Why? It is not reasonable in a distributed system to perform requests of unbounded size (not to say that it won't work). If the concern is throughput, large batches should be sufficient. -Mike On 4-Jul-08, at 9:06 AM, Jonathan Ariel wrote: Yes, I just wanted to avoid N requests and do ju

Re: Bulk delete

2008-07-04 Thread Jonathan Ariel
oh. you're right! if using 1.13 and if there is no limit to the amount of ids I can send with the delete tag. On Fri, Jul 4, 2008 at 1:10 PM, Yonik Seeley <[EMAIL PROTECTED]> wrote: > On Fri, Jul 4, 2008 at 12:06 PM, Jonathan Ariel <[EMAIL PROTECTED]> > wrote: > > Yes, I just wanted to avoid N re

Re: Bulk delete

2008-07-04 Thread Yonik Seeley
On Fri, Jul 4, 2008 at 12:06 PM, Jonathan Ariel <[EMAIL PROTECTED]> wrote: > Yes, I just wanted to avoid N requests and do just 2. Note that you can do it in a single request if you really want... just add ?commit=true to the URL. -Yonik

Re: Bulk delete

2008-07-04 Thread Jonathan Ariel
Yes, I just wanted to avoid N requests and do just 2. On Fri, Jul 4, 2008 at 12:48 PM, Walter Underwood <[EMAIL PROTECTED]> wrote: > Send multiple deletes, with a commit after the last one. --wunder > > On 7/4/08 8:40 AM, "Jonathan Ariel" <[EMAIL PROTECTED]> wrote: > > > yeah I know. the problem

Re: Bulk delete

2008-07-04 Thread Walter Underwood
Send multiple deletes, with a commit after the last one. --wunder On 7/4/08 8:40 AM, "Jonathan Ariel" <[EMAIL PROTECTED]> 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 o

Re: Bulk delete

2008-07-04 Thread Jonathan Ariel
ondition 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 <[EMAIL PROTECTED]> >> wrote: >> > Hi, >> > Is there any good way to do a bulk delete of several documents?

Re: Bulk delete

2008-07-04 Thread Jonathan Ariel
ery 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 <[EMAIL PROTECTED]> wrote: > > Hi, > > Is there any

Re: Bulk delete

2008-07-04 Thread Yonik Seeley
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 X. > Doing a query delete isn't a go

Re: Bulk delete

2008-07-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
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 X. > 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: > id:(

Bulk delete

2008-07-04 Thread Jonathan Ariel
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 X. 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: id:(X