And warming a segment in mergeMiddle doesn't block the addition of new segments.
On Thu, May 28, 2009 at 12:30 PM, Michael McCandless < luc...@mikemccandless.com> wrote: > This is exactly why we added IndexReaderWarmer -- it pre-warms a newly > merged segment before committing to SegmentInfos. > > So, while such warming is happening, if getReader() is called, the > returned reader will still read the old segments. > > Mike > > On Thu, May 28, 2009 at 3:06 PM, Jason Rutherglen > <jason.rutherg...@gmail.com> wrote: > > An interesting discussion came up. How do we handle IW.getReader > turnaround > > time on large new segments? > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-dev-h...@lucene.apache.org > >