# Elasticsearch query and dicover how data is stored

**URL:** <https://discuss.elastic.co/t/elasticsearch-query-and-dicover-how-data-is-stored/183833>\
**Category:** Elasticsearch\
**Created:** [June 1, 2019, 8:44pm UTC](https://discuss.elastic.co/t/elasticsearch-query-and-dicover-how-data-is-stored/183833 "2019-06-01T20:44:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kumar4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kumar4/32/48326_2.png) [@kumar4](https://discuss.elastic.co/u/kumar4)\
**Post date:** [June 1, 2019, 8:44pm UTC](https://discuss.elastic.co/t/elasticsearch-query-and-dicover-how-data-is-stored/183833/1 "2019-06-01T20:44:25Z")

</div>

i ma using kibana to visulaiz my logs and my stored documents (image , pdf) using fscrawler and logstash but now i want to know how my data is stored in elasticsearch (the real storage since ES is like a database) is there any possibility to know the storage structure and send queries

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 2, 2019, 3:11am UTC](https://discuss.elastic.co/t/elasticsearch-query-and-dicover-how-data-is-stored/183833/2 "2019-06-02T03:11:05Z")

</div>

There are multiple data structures used by Elasticsearch which is using Lucene under the hood. Have a look at [http://lucene.apache.org/core/8\_1\_1/core/org/apache/lucene/codecs/lucene80/package-summary.html#package.description](http://lucene.apache.org/core/8_1_1/core/org/apache/lucene/codecs/lucene80/package-summary.html#package.description)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 30, 2019, 3:11am UTC](https://discuss.elastic.co/t/elasticsearch-query-and-dicover-how-data-is-stored/183833/3 "2019-06-30T03:11:05Z")

</div>

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