On 8/8/07, Ning Li <[EMAIL PROTECTED]> wrote: > On 8/8/07, Yonik Seeley <[EMAIL PROTECTED]> wrote: > > To make delete by docid useful, one needs a way to *get* those docids. > > A callback after flush that provided acurrent list of readers for the > > segments would serve. > > Interesting. That makes sense. > > > I think IndexWriter.deleteDocument(int doc) is something that wouldn't > > be used by expert users, and would be accidentally used by novices. > > But you still think it's worth to be included in IndexWriter, right?
I'm not sure... (unless I'm missing some obvious use-cases). If one could get a list of IndexReaders, one could directly use those for deletions, right? -Yonik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]