lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mitu2009 <musicfrea...@gmail.com>
Subject Deleting and updating documents in Lucene index
Date Wed, 11 Mar 2009 05:40:50 GMT

Hi,

Am using Lucene.Net dll version 2.0.0.4 Looks like its IndexWriter class
does not have methods for DeleteDocument and UpdateDocument.Am i missing
something here?How do i achieve delete,update functionality in this version
of dll?

Version 2.1 Lucene dll seems to have support for delete and update
documents: public virtual void DeleteDocuments(Term term); public virtual
void UpdateDocument(Term term, Document doc);

For updating a document, shall i use delete and insert or a direct update
command?

Following URL has the source code for verion 2.1,but i will have to download
all the files one by one and then build a dll out of it.
https://svn.apache.org/repos/asf/incubator/lucene.net/tags/Lucene.Net_2_1_0/

Can I download latest Lucene dll and Highlighter from some site?

Thanks.

-- 
View this message in context: http://www.nabble.com/Deleting-and-updating-documents-in-Lucene-index-tp22449134p22449134.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message