lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: Slow deleteById request
Date Tue, 01 Jul 2008 21:02:39 GMT
On Tue, Jul 1, 2008 at 4:05 PM, Renaud Delbru <renaud.delbru@deri.org> 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 "<delete><id>http://example.org/</id></delete>"
> or using the SolrJ deleteById method (that does not execute a commit as far
> as I know).
>
> The strange things is that it is not always reproduced. Ten or so delete
> requests will be executed fast (in few ms), then a batch of few delete
> requests will take 10, 20 or even 30 seconds.
>
> By looking more precisely at the log, it seems that, in fact,  the delete
> request triggers the opening of a new searcher,

Yes,  perhaps you have maxPendingDeletes configured.

I'd try the latest nightly solr build... it now lets Lucene manage the deletes.

-Yonik

Mime
View raw message