IndexWriter writer =new IndexWirter(path,analyzer,false);

the 3rd parameter is what you want.
than you can

writer.add(doc)

enjoy .

On Wed, Oct 27, 2010 at 8:04 PM, Yakob <jacob...@opensuse-id.org> wrote:

> hello all,
> I would like to ask of how to add new documents to an existing lucene
> index. I mean what's class should I use to achieve this goal.
>
> thanks
>
> --
> http://jacobian.web.id
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

Reply via email to