simple question about decRef

2013-05-31 Thread Yonghui Zhao
After we use IndexReader do we always need call decRef explicitly? What will happen, if I don't call decRef? Thanks Sent from my iPad - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-m

Re: Calling IndexWriter.commit() immediately after creating the writer

2013-05-31 Thread Vitaly Funstein
Thanks, just wanted to make one other comment. In my case, there were no "segments_..." files created prior to the crash, so I don't think we can safely rely on their presence/content. On Thu, May 30, 2013 at 8:21 AM, Michael McCandless < luc...@mikemccandless.com> wrote: > I opened https://issu