lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rehan Abdulaziz <>
Subject Lock obtain timed out
Date Thu, 02 Apr 2009 10:02:37 GMT
Lucene is deployed at my Tomcat server, and when I send parallel calls from
my client to add, delete or update documents, some operations are
unsuccessful. The following exception is thrown: Lock obtain timed out:

I understand what this means, and why this exception shows up. What I'm
interested in knowing is what I can do about it. Does lucene try to send the
query for some time, and then gives up? Is there a way to increase this
time? Currently, if I send 100 documents to be added from my client, around
60-80 of them are added and the rest aren't. If I can play with the time,
then perhaps I can achieve better performance.

Secondly, can I somehow stack up all the queries at the server so as to
ensure 100% success rate, no matter how fast the queries arrive? That would
be helpful.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message