Re: Slow deleteById request

2008-07-15 Thread Renaud Delbru
Hi, I think the reason was indeed maxPendingDeletes which was configured to 1000. After having updated to a solr nightly build with Lucene 2.4, the issue seems to have disappeared. Thanks for your advices. -- Renaud Delbru Mike Klaas wrote: On 1-Jul-08, at 10:44 PM, Chris Hostetter wrote:

Re: Slow deleteById request

2008-07-03 Thread Mike Klaas
On 1-Jul-08, at 10:44 PM, Chris Hostetter wrote: : Yes, updating to a newer version of nightly Solr build could solve the : problem, but I am a little afraid to do it since solr-trunk has switched to : lucene 2.4-dev. but did you check wether or not you have maxPendingDeletes configured

Re: Slow deleteById request

2008-07-01 Thread Chris Hostetter
: Yes, updating to a newer version of nightly Solr build could solve the : problem, but I am a little afraid to do it since solr-trunk has switched to : lucene 2.4-dev. but did you check wether or not you have maxPendingDeletes configured as yonik asked? That would explain exactly waht you are

Re: Slow deleteById request

2008-07-01 Thread Renaud Delbru
Yonik Seeley wrote: I'd try the latest nightly solr build... it now lets Lucene manage the deletes. Yes, updating to a newer version of nightly Solr build could solve the problem, but I am a little afraid to do it since solr-trunk has switched to lucene 2.4-dev. Thanks for your answers, Yo

Re: Slow deleteById request

2008-07-01 Thread Yonik Seeley
On Tue, Jul 1, 2008 at 4:05 PM, Renaud Delbru <[EMAIL PROTECTED]> wrote: > We are not sending a commit with a delete. It happens when using the > following command: > curl http://mydomain.net:8080/index/update -s -H 'Content-type:text/xml; > charset=utf-8' -d "http://example.org/" > or using the So

Re: Slow deleteById request

2008-07-01 Thread Renaud Delbru
Hi Yonik, We are not sending a commit with a delete. It happens when using the following command: curl http://mydomain.net:8080/index/update -s -H 'Content-type:text/xml; charset=utf-8' -d "http://example.org/" or using the SolrJ deleteById method (that does not execute a commit as far as I kn

Re: Slow deleteById request

2008-07-01 Thread Yonik Seeley
That's very strange... are you sending a commit with the delete perhaps? If so, the whole request would block until a new searcher is registered. -Yonik On Tue, Jul 1, 2008 at 8:54 AM, Renaud Delbru <[EMAIL PROTECTED]> wrote: > Hi, > > We experience very slow delete, taking more than 10 seconds.

Re: Slow deleteById request

2008-07-01 Thread Renaud Delbru
Small precision, we are using a nightly build of Solr 1.3 (one of the nightly build just before the integration of Lucene 2.4). -- Renaud Delbru Renaud Delbru wrote: Hi, We experience very slow delete, taking more than 10 seconds. A delete is executed using deleteById (from Solrj or from cur

Slow deleteById request

2008-07-01 Thread Renaud Delbru
Hi, We experience very slow delete, taking more than 10 seconds. A delete is executed using deleteById (from Solrj or from curl), at the same time documents are being added. By looking at the log (below), it seems that a delete by ID request is only executed during the next commit (done automa