: 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 somet
ginal Message-
From: Erick Erickson [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 22, 2007 2:06 PM
To: java-user@lucene.apache.org
Subject: Re: Open & Close Reader
* This message comes from the Internet Network *
Well, it's your logic that takes the request from the user an
nd are there solutions
for this.
__
Matt
-Original Message-
From: Michael McCandless [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 22, 2007 12:48 PM
To: java-user@lucene.apache.org
Subject: Re: Open & Close Reader
* This mess
: Thursday, February 22, 2007 12:48 PM
To: java-user@lucene.apache.org
Subject: Re: Open & Close Reader
* This message comes from the Internet Network *
<[EMAIL PROTECTED]> wrote:
> I need to merge indexes,
> if I want the user to see the changes (the merged indexes), I heard I
<[EMAIL PROTECTED]> wrote:
> I need to merge indexes,
> if I want the user to see the changes (the merged indexes), I heard I
> need to close the index reader and re-open it again.
Yes. More generally, whenever there have been changes to an index
that you want your readers/searchers to see, you