# Cache directory on nodes with search role

**URL:** <https://forum.opensearch.org/t/cache-directory-on-nodes-with-search-role/23368>\
**Category:** Index Management\
**Tags:** configure\
**Created:** [February 10, 2025, 10:44am UTC](https://forum.opensearch.org/t/cache-directory-on-nodes-with-search-role/23368 "2025-02-10T10:44:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ManuelP](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@ManuelP](https://forum.opensearch.org/u/ManuelP)\
**Post date:** [February 10, 2025, 10:44am UTC](https://forum.opensearch.org/t/cache-directory-on-nodes-with-search-role/23368/1 "2025-02-10T10:44:16Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser):  
2.16

**Describe the issue** :  
By default, the cache directory is inside the path variable “path.data”, can we change the cache directory to another path?, thanks.

**Configuration** :

**Relevant Logs or Screenshots** :

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/3/33547ea01a5b12dcca2958411d3edd97ae2ea8c1.png) [@system](https://forum.opensearch.org/u/system)\
**Post date:** [April 11, 2025, 10:44am UTC](https://forum.opensearch.org/t/cache-directory-on-nodes-with-search-role/23368/2 "2025-04-11T10:44:17Z")

</div>

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