Re: Add numDeletedDocs() to IndexReader

2008-01-11 Thread Shai Erera
Interesting you mention numDeletedDocs w.r.t. optimize - I need that information for exactly the same reason. Is there any good rule of thumb of knowing when it's best to call optimize? I know that during the internal merges Lucene does, deleted docs are removed. However there are those large segme

Re: Add numDeletedDocs() to IndexReader

2008-01-11 Thread Shai Erera
If that's the case, then I can open an issue and create the appropriate patch. On Jan 11, 2008 9:43 PM, Otis Gospodnetic <[EMAIL PROTECTED]> wrote: > I think that's useful (for knowing when it's time to optimize), though I > thought I added something like that a long time ago... maybe on some loc

Re: Add numDeletedDocs() to IndexReader

2008-01-11 Thread Otis Gospodnetic
I think that's useful (for knowing when it's time to optimize), though I thought I added something like that a long time ago... maybe on some local version... Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Shai Erera <[EMAIL PROTECTED]> To: j