Get the internal representation of a record


I want to understand, how elasticsearch stores its data - especially text data. Is there a way to say "show me the internal representation of a specific record"?


That really depends on how the document is analysed, and what you want to look at when you refer to internal representation.

Firstly there is the json version of the doc, which you can view by doing a GET on it's ID.
Next would be the inverted index, along with doc values and a number of other lucene level structures that are created. Those are not visible via Elasticsearch though, we abstract that out.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.