Hi,

On 09/05/2008, Otis Gospodnetic <[EMAIL PROTECTED]> wrote:

>  I don't understand what that lock and unlock is for...
>  Just do this:
>  add
>  add
>  add
>  add
>  ...
>  ...
>  optionally commit or optimize

Yeah, I didn't understand what the lock/unlock was for either - but on
further reviewing the code, we have a wrapper around the solr servlet
which does a crude type of locking to ensure only one index updater
process can run at a time. Not sure it's needed, as I'd guess that
solr would handle things gracefully anyway, but it at least stops
multiple index clients firing up.

Meanwhile it seems that these documents can successfully be added to
solr when it is running in jetty, so I'm now trying to find out what
Tomcat is doing to break things.

Thanks for the reply,


Andrew.

Reply via email to