My use case is to reindexing the data if any index got corrupted. I am able
to read the data of a shard by using lucene's java api IndexReader. But
using this api we can read data only if index is in stable state.
If any file in index shard directory got corrupt or got delete then that
shard goes to UNASSIGNED state. In this state i am not able to read the
data. Lucene also provides an api which check and fix the index if index
is corrupt but that simply remove reference of corrupt file's segment from
segment file of index.That means loss of data. We do not want that.
I am storing all fields in elasticsearch. As all fields are stored in only
.fdx ad .fdt files so we should be able to read data from .fdx and .fdt
I referred below links but not got much success.
Somebody posted a tool to recover data from .fdt files as mentioned in
https://issues.apache.org/jira/browse/LUCENE-4706 but it is also not able
to read if any file in shard got corrupt.
Request to share your views..
Thanks & Regards
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
For more options, visit https://groups.google.com/groups/opt_out.