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: Are IndexReader objects always up to date?
Date Tue, 11 Jun 2002 18:22:32 GMT
Hm, this sounds an awful lot like a FAQ, yet I don't see it in Lucene's
FAQ at jGuru.com.
You need to close and reopen the index(reader) if you want to see the
latest changes.
There is a method that you can use to figure out if the index has been
modified since you opened it.

Otis

--- James Ricci <james@riccinursery.com> wrote:
> Hi,
> 
> If I have an IndexReader object open, and someone else is using an
> IndexWriter to update the contents of an index, will my IndexReader
> automatically reflect the current contents of the index? If not, what
> must I
> do to refresh it?
> 
> James
> 
> --
> To unsubscribe, e-mail:  
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:lucene-user-help@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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


Mime
View raw message