Worked like a charm - thanks a lot.
--- On Sun, 1/16/11, Raf wrote:
From: Raf
Subject: Re: Newbie: "Life span" of IndexWriter / IndexSearcher?
To: java-user@lucene.apache.org
Date: Sunday, January 16, 2011, 3:16 AM
Look at the JavaDoc:
http://lucene.apache.org/java/3_0_2/api/core/
ments, but I only see 1):
> reader.reopen(true);
> TopDocs results2 = searcher.search(query, 1);
> printResults(searcher, results2);
>
>
> --- On Thu, 1/13/11, Uwe Schindler wrote:
>
> From: Uwe Schindler
> Subject: RE: Newbie: "Life span" of IndexWriter / IndexSe
1);
printResults(searcher, results2);
--- On Thu, 1/13/11, Uwe Schindler wrote:
From: Uwe Schindler
Subject: RE: Newbie: "Life span" of IndexWriter / IndexSearcher?
To: java-user@lucene.apache.org
Date: Thursday, January 13, 2011, 7:40 AM
You can leave the IndexWriter and Index
Hi,
> We're writing a web application, which naturally needs
> - "IndexSearcher" when users use our search screen
> - "IndexWriter" in a background process that periodically updates and
> optimizes our index.
> Note our writer is exclusive - no other applications/threads ever write to
our
> index
Hi,
We're writing a web application, which naturally needs
- "IndexSearcher" when users use our search screen
- "IndexWriter" in a background process that periodically updates and optimizes
our index.
Note our writer is exclusive - no other applications/threads ever write to our
index files.
Wh