lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject RE: Open & Close Reader
Date Thu, 22 Feb 2007 19:46:25 GMT
: Actually I don't see how it could not be multi-threaded,
: since it seems normal to me that I run it in a web application which is
: multi-threaded for each user request ?

every application in the world is not a web application.

if you are dealing with multiple threads, you will need to o something to
ensure that threads don't try to use an IndexReader refrence while you are
in the middle of closing it and assigning a new IndexReader to it ... you
can do this with synchronization for example.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message