I see. Probably assigning blockID is the most efficient way. Thanks.
On Sun, Mar 3, 2013 at 7:39 AM, Michael McCandless
wrote:
> IndexWriter doesn't track the blocks ... so you need to something yourself.
>
> One approach is to add a Field, eg blockID, with the same value (maybe
> the id of the p
IndexWriter doesn't track the blocks ... so you need to something yourself.
One approach is to add a Field, eg blockID, with the same value (maybe
the id of the parent doc) to parent and child docs, and then delete by
that.
You may also get away with just deleting the parent or just the
children,