# High Level Java Rest Client. Index ( ILS) management

**URL:** <https://discuss.elastic.co/t/high-level-java-rest-client-index-ils-management/177028>\
**Category:** Elasticsearch\
**Created:** [April 16, 2019, 8:37am UTC](https://discuss.elastic.co/t/high-level-java-rest-client-index-ils-management/177028 "2019-04-16T08:37:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![suikast42](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suikast42/32/29865_2.png) [@suikast42](https://discuss.elastic.co/u/suikast42)\
**Post date:** [April 16, 2019, 8:37am UTC](https://discuss.elastic.co/t/high-level-java-rest-client-index-ils-management/177028/1 "2019-04-16T08:37:18Z")

</div>

Hi,

is that possilbe to let the rest client calculate the concrete index name based on the index pattern with ILS enabled and disabled option ?

```
        IndexRequest indexRequest = new IndexRequest("awesomeidx") ->should write to awesomeidx-[currentdate|ils]
```

---

<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:** [May 14, 2019, 8:37am UTC](https://discuss.elastic.co/t/high-level-java-rest-client-index-ils-management/177028/2 "2019-05-14T08:37:19Z")

</div>

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