lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ning Li" <>
Subject Re: Deprecating IndexModifier
Date Wed, 08 Aug 2007 22:04:37 GMT
On 8/8/07, Yonik Seeley <> wrote:
> On 8/8/07, Ning Li <> wrote:
> > This reminds me: It'd be nice if we could support delete-by-query someday. :)
> >
> > I was thinking people use deleteDocument(int docid) when they are sure
> > the docid hasn't changed since obtained. That's why I considered it an
> > expert method...
> Sure, but when do you know that the ids haven't change?  A: When you
> haven't added anything with the writer.  So you get to keep the writer
> open, but you can't really *use* it... that doesn't seem incredibly
> useful ;-)

I was thinking a user knows the max buffered docs, and he knows the
buffer is far from full so he can continue adding documents and
deleting without triggering flush or merge so document ids won't

But I do see your point.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message