lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Shannon" <>
Subject Re: Index File
Date Mon, 15 Nov 2004 15:52:12 GMT
Based on Otis's suggestion I was able to resolve this issue. The class I was
integrating with for search created one IndexSearcher when it was
instantiated and keep that same reference throughout the session.

Once this was modified to create a new IndexerSearch for every search
request, all my problems went away.

----- Original Message ----- 
From: "Luke Francl" <>
To: "Lucene Users List" <>
Sent: Monday, November 15, 2004 10:39 AM
Subject: RE: Index File

> On Fri, 2004-11-12 at 19:07, Richard Greenane wrote:
> > You might wat to look at LUKE @
> > A great tool for checking the index to make sure that everything is
> > there
> There is also a web-based tool that you can run in your servlet
> container called LIMO. I've added some query features to it in CVS,
> which you can check out from Sourceforge:
> But I will second what Otis said: you must (or rather your colleague
> must) check to see if the index has been updated before a search (use
> IndexReader.getCurrentVersion), and if it is, close the IndexSearcher
> and create a new one.
> Luke
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message