lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From daniel susanto <daniel_sus...@yahoo.com>
Subject RE: Is it possible to add new document into existing lucene index?
Date Fri, 17 Apr 2009 15:35:20 GMT
Thx, it works. :)

Daniel Susanto
http://susantodaniel.wordpress.com

--- On Fri, 4/17/09, Uwe Schindler <uwe@thetaphi.de> wrote:

From: Uwe Schindler <uwe@thetaphi.de>
Subject: RE: Is it possible to add new document into existing lucene index?
To: java-user@lucene.apache.org
Date: Friday, April 17, 2009, 9:18 PM

Hi Daniel,

Just open the IndexWriter on the same Lucene Directory and specify the
boolean ctor parameter "create" to false.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: daniel susanto [mailto:daniel_sus777@yahoo.com]
> Sent: Friday, April 17, 2009 4:11 PM
> To: java-user@lucene.apache.org
> Subject: Is it possible to add new document into existing lucene index?
> 
> Hi all,
> 
> I'm NB in Lucene.
> Is it possible to add new document into existing document? I think it is
> important so that we don't need to re-index the all in file folder if just
> one or two file that need to be added into index. Thx.
> 
> Daniel Susanto
> http://susantodaniel.wordpress.com
> 
> 
> 


---------------------------------------------------------------------
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