Hi
I have Elastic search version 7.16.3, in this one index is showing RED and when i tried recover it using CheckIndex command "java -cp lucene-core-8.10.1.jar -ea:org.apache.lucene… org.apache.lucene.index.CheckIndex C:\Program Files\data\elasticsearch\data\nodes\0\indices_NHgtxr9TCWE2bYp_hk-nA\0\index\segments_g60\ -verbose -exorcise" its giving following error
NOTE: testing will be more thorough if you run java with '-ea:org.apache.lucene...', so assertions are enabled
Opening index @ C:\PROGRA~1\data\elasticsearch\data\nodes\0\indices_NHgtxr9TCWE2bYp_hk-nA\0\index\
ERROR: could not read any segments file in directory
org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported (resource BufferedChecksumIndexInput(MMapIndexInput(path="C:\Program Files\data\elasticsearch\data\nodes\0\indices_NHgtxr9TCWE2bYp_hk-nA\0\index\segments_g60"))): 1229866072 (needs to be between 1071082519 and 1071082519). This version of Lucene only supports indexes created with release 6.0 and later.
at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:307)
at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:291)
at org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:522)
at org.apache.lucene.index.CheckIndex.doCheck(CheckIndex.java:2962)
at org.apache.lucene.index.CheckIndex.doMain(CheckIndex.java:2860)
at org.apache.lucene.index.CheckIndex.main(CheckIndex.java:2786)
there is no Elastic upgrade performed on this setup, it was working previously on same ES version version 7.16.3.
help me to recover my index without data loss.