Hi,

I have Cocoon web site backed by a database. On inserts or updates of some rows
in the database, I update the Lucene index with the LuceneIndexTransformer.

I don't see however how to delete a specific row/column (which is identified by
a particular url) from the Lucene index.

As a workaround I use the LuceneIndexTransformer with the url I want to delete
from the index and just leave the lucent:document content empty. I seems to
work: when I make a search with some keywords I don't retrieve the 'deleted'
urls which is what I expect.

There is surely a better way to do this. I have seen that Lucene provides a
'delete' method to perform this kind delete. 

Is there a way to perform a Lucene delete with the LuceneTransformer or any
other Lucene/Cocoon component?

Thanks.


                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

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

Reply via email to