lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: IndexSearcher Refresh
Date Tue, 16 Nov 2004 15:28:18 GMT
This will help:

http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/index/IndexReader.html#getCurrentVersion(org.apache.lucene.store.Directory)

Otis


--- Luke Shannon <lshannon@hypermedia.com> wrote:

> It would nice if the IndexerSearcher contained a method that could
> return
> the last modified date of the index folder it was created with.
> 
> This would make it easier to know when you need to create a new
> Searcher.
> 
> ----- Original Message ----- 
> From: "Otis Gospodnetic" <otis_gospodnetic@yahoo.com>
> To: "Lucene Users List" <lucene-user@jakarta.apache.org>
> Sent: Tuesday, November 16, 2004 8:23 AM
> Subject: Re: IndexSearcher Refresh
> 
> 
> > I don't think so, you have to forget or close the old one and
> create a
> > new instance.
> >
> > Otis
> >
> > --- Ravi <ravi@htinc.com> wrote:
> >
> > > Is there a way to refresh the IndexSearcher object with the newly
> > > added
> > > documents to the index instead of creating a new object?
> > >
> > > Thanks in advance,
> > > Ravi.
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > 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
> >
> >
> 
> 
> 
> ---------------------------------------------------------------------
> 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