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
>
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 ?
>
>
Hi ,
Can we delete solr documents from a collection in a bulk ?
Regards,
Anil
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
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
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
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
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
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
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
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
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?
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
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
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:(
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
16 matches
Mail list logo