Elasticsearch shard viewer
Drop the files of a shard's Lucene index, and its translog, to see inside: the commit and its segments, every file's header and checksum, stored documents, the inverted index term by term, doc values, points and norms, and the documents Elasticsearch would serve, rebuilt from the raw files.
Drop the files of a shard's index/ directory here (segments_N, *.si, *.cfs, *.cfe and the rest), with translog/translog-N.tlog and translog.ckp
Read in your browser, a page at a time. Nothing is uploaded.
What to drop
A shard lives in <data path>/indices/<index UUID>/<shard>/; GET _cat/indices?v&h=index,uuid gives the UUID. Copy it while the node is stopped, or take a snapshot-free copy of a closed index, and drop every file of index/ together, plus the two files of translog/. The same works for a Lucene index from OpenSearch, Solr or Lucene itself, if it was written by Lucene 9.9 or later. The sample is 94.4 KB to download.
What it reads
Lucene 10's formats: commit points, segment info, field infos, compound files, live documents, stored fields (LZ4 and Zstandard), the block-tree terms dictionary with its trie index, postings with positions, doc values of every type, norms and BKD points, with every file's checksum checked. Elasticsearch's _id encoding, soft deletes, the translog and its checkpoint. Not yet: term vectors, dense vectors (HNSW), payloads and offsets, stored fields compressed with DEFLATE, and Elasticsearch's time-series doc values format.
The parsers are written from the Lucene and Elasticsearch source and tested against shards Elasticsearch 9.2.2 (Lucene 10.3.2) wrote: every stored field, term, posting, position, doc value, norm and point must match what Lucene itself reads from the same files, and the rebuilt documents must match what Elasticsearch returns. They do not use Lucene or Elasticsearch code.