lucene-dev mailing list archives

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

hi,

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: http://www.nabble.com/Updating-Lucene-Index-with-Unstored-fields-tp15188818p15188818.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