fa...@butterflycluster.net wrote:
hi all,

i have an existing index - we have a custom field that needs to be added
or changed in every currently indexed document ;

whats the best way to go about this without recreating the index again?

There are ways to do it directly on the index, but this is complicated and involves hacking the low-level Lucene format. Alternatively, you could build a parallel index with just these fields, but synchronized internal docId-s, open both indexes with ParallelReader, and then create a new index using IndexWriter.addIndexes().

I suggest recreating the index.

--
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com

Reply via email to