Re: Readers synchronization

2008-07-08 Thread Eric Diaz
creating an IndexReader > > implementation that can directly search the RAM buffer in > IndexWriter, > which should give very fast turnaround in searching > just-indexed > documents, but that is quite a ways off... > > Mike > > Eric Diaz wrote: > > >

Re: Readers synchronization

2008-07-08 Thread Eric Diaz
ader always searches a > point-in-time > snapshot of the index. > > LUCENE-1044 does mean that you should call > IndexWriter.commit() (or, > close the writer) to ensure all changes you've made > become visible to > the reader. > > Mike > > Eric Diaz wrot

Readers synchronization

2008-07-08 Thread Eric Diaz
According to SVN history on the next version this will be available: LUCENE-1044: IndexWriter with autoCommit=true now commits (such that a reader can see the changes) far less often than it used to. Previously, every flush was also a commit. You can always force a commit by calling I