The way you update a document in lucene is by deleting the current one
and adding a new one. 

-Mufaddal.

-----Original Message-----
From: Don Vaillancourt [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 31, 2006 1:37 PM
To: java-user@lucene.apache.org
Subject: Update or Delete Document for Lucene 1.4.x

Hi All,

I need to implement the ability to update one document within a Lucene 
collection.

I haven't been able to find anything in the API.  Is there a way to 
update one document or delete a document so that I can add an update?

Thank You

-- 
Don Vaillancourt
Director of Software Development
WEB IMPACT INC.
phone:   416-815-2000 ext. 245
fax:     416-815-2001
toll free:       866-319-1573 ext. 245
email:   [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
blackberry:      [EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>
web:     http://www.web-impact.com
address:         http://www.mapquest.ca 
<http://www.mapquest.com/maps/map.adp?country=CA&addtohistory=&formtype=
address&searchtype=address&cat=&address=99%20Atlantic%20Ave&city=Toronto
&state=ON&zipcode=M6K%203J8> 


This email message is intended only for the addressee(s) and contains 
information that may be confidential and/or copyright.

If you are not the intended recipient please notify the sender by reply 
email and immediately delete this email.

Use, disclosure or reproduction of this email by anyone other than the 
intended recipient(s) is strictly prohibited. No representation is made 
that this email or any attachments are free of viruses. Virus scanning 
is recommended and is the responsibility of the recipient.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to