Yes, you can specify the index codec as part of a forcemerge action when transitioning to the warm phase. Only segments that are merged will get the new codec applied, so ideally set number of segments to 1. Ideally the index should be read-only after this point as you will have a single potentially large segment.
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.