You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Ben <ne...@gmail.com> on 2005/09/06 14:58:17 UTC

Delete an entry in ArrayFile/MapFile

Hi

How can I delete an entry in the ArrayFile/MapFile if I know the id/key?

Thanks,
Ben

Re: Delete an entry in ArrayFile/MapFile

Posted by Ben <ne...@gmail.com>.
Are they thread-safe?

Ben

On 9/6/05, Piotr Kosiorowski <pk...@gmail.com> wrote:
> Hello,
> You cannot do it. These structures where not designed for it. But you can
> copy all the data to other ArrayFile skipping entries you want to delete.
> Regards
> Piotr
> 
> On 9/6/05, Ben <ne...@gmail.com> wrote:
> >
> > Hi
> >
> > How can I delete an entry in the ArrayFile/MapFile if I know the id/key?
> >
> > Thanks,
> > Ben
> >
> 
>

Re: Delete an entry in ArrayFile/MapFile

Posted by Piotr Kosiorowski <pk...@gmail.com>.
Hello,
You cannot do it. These structures where not designed for it. But you can 
copy all the data to other ArrayFile skipping entries you want to delete.
Regards
Piotr

On 9/6/05, Ben <ne...@gmail.com> wrote:
> 
> Hi
> 
> How can I delete an entry in the ArrayFile/MapFile if I know the id/key?
> 
> Thanks,
> Ben
>