Re: simple question about index reader

2014-02-13 Thread Michael McCandless
e on last close"). Mike McCandless http://blog.mikemccandless.com On Thu, Feb 13, 2014 at 10:14 AM, Yonghui Zhao wrote: > Hi, > > I am new to lucene and I get a simple question about index reader. > > If I open a DirectoryReader say reader1 based on a disk directory, then the

simple question about index reader

2014-02-13 Thread Yonghui Zhao
Hi, I am new to lucene and I get a simple question about index reader. If I open a DirectoryReader say reader1 based on a disk directory, then the lucene index directory is changed, to get new result I need get a new DirectoryReader. Suppose reader1 will get the result before the change forever