your requirement basically means, that you have to retrieve every document
from your index, modify it (in your case remove some fields except three)
and then reindex your document. I am not sure, if there is some automatic
tool for this, but it only requires two manual steps, so it is quite simple
to do it yourself
You can use the scroll query for this, see
While you are getting back the results, you could use a
python/ruby/whateveryoulike script to do the actuall modifications and
execute the index operation in another index (preferrably batched).
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.