I have 10 indices of 2 TB size each on ES 7.7 version. Lucene version of those indices is around 7.x. I want to update Lucene version of these indices to latest version that is 8.5?
I am aware of following options:
reindexing but it is slow due size.
_upgrade api. ES document says it will be removed but I tried running it and it is running. This is also very slow. Took around 4 hours to upgrade one index.
Please suggest me some better way to upgrade lucene version of existing indices.
Merging will automatically upgrade the Lucene version AFAIK. You may be able to run a force merge on it to do this, but I would just wait for someone else to confirm this will work
That's a relatively low shard size, have you considered reducing that by half?
I can see you edited your post and added in what you had tried after my response. Given they are 2TB, that sort of time doesn't seem to unreasonable. Why do you need it to run faster?
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.