lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Shannon" <lshan...@hypermedia.com>
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" <luke.francl@stellent.com>
To: "Lucene Users List" <lucene-user@jakarta.apache.org>
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 @ http://www.getopt.org/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:
> http://sourceforge.net/projects/limo
>
> 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: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message