Open
Description
It would be nice to be able to take advantage of the storage savings from
index-time sorting, however, in a lot of cases the sorting criteria is not known
at index time, or the indexing cost is too high for the throughput required.
One way that we might be able to address this is to enhance the merging process
to perform an offline sort followed by a forcemerge. This could hopefully be
done while an index was frozen or closed.
This would allow us to build a functionality for this into ILM and have it
automatically done during the index's lifecycle.
/cc @s1monw maybe you can comment on the feasibility and details on doing the
offline sort and force merge?