lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 蒋明原 <mailtojiangmingy...@gmail.com>
Subject Re: adding documents to an existing index
Date Wed, 27 Oct 2010 12:08:51 GMT
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 <jacobian@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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message