# Where is the index saved on disk?

**URL:** <https://discuss.elastic.co/t/where-is-the-index-saved-on-disk/297968>\
**Category:** Elasticsearch\
**Created:** [February 23, 2022, 4:15am UTC](https://discuss.elastic.co/t/where-is-the-index-saved-on-disk/297968 "2022-02-23T04:15:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jordane95](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jordane95/32/102063_2.png) [@jordane95](https://discuss.elastic.co/u/jordane95)\
**Post date:** [February 23, 2022, 4:15am UTC](https://discuss.elastic.co/t/where-is-the-index-saved-on-disk/297968/1 "2022-02-23T04:15:02Z")

</div>

Hello, I recently used the python toolkit `elasticsearch` to build a IR system on my server.  
May I know the path where the index is saved on my disk? Thank you!

---

<div class="post-metadata">

**Author:** ![DineshNaik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dineshnaik/32/89308_2.png) [@DineshNaik](https://discuss.elastic.co/u/DineshNaik)\
**Post date:** [February 23, 2022, 6:47am UTC](https://discuss.elastic.co/t/where-is-the-index-saved-on-disk/297968/2 "2022-02-23T06:47:04Z")

</div>

Look for data directory for your indices in the installation path.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 23, 2022, 9:51am UTC](https://discuss.elastic.co/t/where-is-the-index-saved-on-disk/297968/3 "2022-02-23T09:51:22Z")

</div>

Is there a reason why you're asking this?

---

<div class="post-metadata">

**Author:** ![casterQ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/casterq/32/93257_2.png) [@casterQ](https://discuss.elastic.co/u/casterQ)\
**Post date:** [February 23, 2022, 10:08am UTC](https://discuss.elastic.co/t/where-is-the-index-saved-on-disk/297968/4 "2022-02-23T10:08:28Z")

</div>

1. Find your cluster configuration file **Elasticsearch.yml** ；
2. Find `path.data` parameters in this yml file;
3. cd to this directory，assume that the parameter configuration is `/path/data` ，then: `cd /path/data/nodes/0/indices`
4. here you can see indices folder，folders are named by index‘s uuid ,and you can use `GET _cat/indices?v` API to view index’s name and index's uuid

---

<div class="post-metadata">

**Author:** ![jordane95](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jordane95/32/102063_2.png) [@jordane95](https://discuss.elastic.co/u/jordane95)\
**Post date:** [February 24, 2022, 9:19am UTC](https://discuss.elastic.co/t/where-is-the-index-saved-on-disk/297968/5 "2022-02-24T09:19:56Z")

</div>

I want to look how my documents are exactly indexed, which terms does `elasticsearch` used for the example I used at this [question](https://discuss.elastic.co/t/how-are-interger-numbers-treated-in-elasticsearch/297745/3)

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [February 24, 2022, 9:26am UTC](https://discuss.elastic.co/t/where-is-the-index-saved-on-disk/297968/6 "2022-02-24T09:26:08Z")

</div>

You should use the [analyze API](https://www.elastic.co/guide/en/elasticsearch/reference/8.0/indices-analyze.html) for that. Do not ever mess with the data on disk.

---

<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:** [March 24, 2022, 9:26am UTC](https://discuss.elastic.co/t/where-is-the-index-saved-on-disk/297968/7 "2022-03-24T09:26:39Z")

</div>

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