lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From philipc <>
Subject Updating Lucene Index with Unstored fields
Date Wed, 30 Jan 2008 18:41:51 GMT


I'm trying to add a new field to all the documents in a lucene index.
After searching around, I found the only way to do an update 
is by retrieve the old documents, update it, delete it, then re-add
to index.

However, this worked for only preserving the stored fields.
i've lost all the unstored fields from the documents.
is there anyway to keep the unstored fields as well?

Or any way to go around the problem, 
ie, anyway to export the entire index to a csv file
and then update the cvs, and then import it back?

 - Philip
View this message in context:
Sent from the Lucene - Java Developer mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message