lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Eck" <tim...@gmail.com>
Subject RE: field sorted searches with unbounded hit count
Date Thu, 30 Jun 2011 16:54:29 GMT
Thanks for the confirmation Mike, two pass search it is. I appreciate the
knowledge on this list very much! 

-----Original Message-----
From: Michael McCandless [mailto:lucene@mikemccandless.com] 
Sent: Sunday, June 26, 2011 6:00 AM
To: java-user@lucene.apache.org
Subject: Re: field sorted searches with unbounded hit count

On Fri, Jun 24, 2011 at 2:14 PM, Tim Eck <timeck@gmail.com> wrote:

> I'm currently using the "real-time" readers from IndexWriter.getReader()
and never closing my IndexWriter. I was (perhaps wrongly) assuming that
those readers can observe mutations that have occurred after creating them.

Actually, the NRT reader (from IW.getReader() or, in newer releases,
IR.open(IW)) is still a point-in-time reader, ie, it will only reflect
changes done in IW before it was opened.

Mike McCandless

http://blog.mikemccandless.com

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



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


Mime
View raw message