lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Miscellaneous DIH related questions
Date Sun, 18 Sep 2011 15:55:28 GMT
No cron job, I'm just clicking on the full import button in dataimport.jsp page.

1) Can you point me to the code in Solr where such a retry functionality should be added?
I might be able to contribute.
2) What is a good place to add the java based scheduling? Again I'll test and share if I succeed.

- Pulkit

Sent from my iPhone

On Sep 18, 2011, at 12:37 AM, Gora Mohanty <> wrote:

> On Sun, Sep 18, 2011 at 4:50 AM, Pulkit Singhal <> wrote:
> [...]
>> 3) Is there some way to configure the datasource to retry 3 time or
>> something like that? I have increased the values for connectionTimeout
>> and readTimeout but it doesn't help when sometimes the server simply
>> denies the request due to heavy load. I need to be able to retry at
>> those times. The onError has only the abort,skip,continue options, non
>> of which really let me retry anything.
> [...]
> Don't think that there is a built-in feature for this, though it sounds like
> it would be useful.
> I presume that you are scheduling your imports through cron, or
> something like that. One possibility then would be to have the script
> check the status of the import, and retry if needed.
> Regards,
> Gora

View raw message