I am creating a tag system for my site
I have the basics of adding a document to lucene, but I can figure out how to delete a document or update it when the user changes the tags of something. I found pages that speak using the document index, and I need to optimize to effect, but how do I get the document index? I also saw another who said to use IndexWriter to delete, but I could not figure out how to do this with this.
I am using C # asp.net and I do not have a java installation on this machine.
Lucene ? IndexWriter , (BTW - , ). (, ), . , , URL-, .. "" , . , URL-, :
IndexWriter writer = ... writer.update(new Term("id","http://somedomain.org/somedoc.htm"), doc);
IndexReader , .net, Java ++ Lucene API IndexModifier, IndexReader IndexWriter , addDocument() removeDocument().
IndexReader
IndexModifier
IndexWriter
addDocument()
removeDocument()
, Lucene, , . , .