# What is the different between feature and endpoint in elasticsearch?

**URL:** <https://discuss.elastic.co/t/what-is-the-different-between-feature-and-endpoint-in-elasticsearch/113913>\
**Category:** Elasticsearch\
**Created:** [January 3, 2018, 11:40am UTC](https://discuss.elastic.co/t/what-is-the-different-between-feature-and-endpoint-in-elasticsearch/113913 "2018-01-03T11:40:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tremk](https://avatars.discourse-cdn.com/v4/letter/t/85f322/32.png) [@tremk](https://discuss.elastic.co/u/tremk)\
**Post date:** [January 3, 2018, 11:40am UTC](https://discuss.elastic.co/t/what-is-the-different-between-feature-and-endpoint-in-elasticsearch/113913/1 "2018-01-03T11:40:31Z")

</div>

What is the different between feature and endpoint in elasticsearch?

![image](https://us1.discourse-cdn.com/elastic/original/3X/9/3/936cd5da44b4a752b7f54f762a0e7d69b746dd06.png)

I have try with

`GET my_index/_mappings`

or

`GET my_index/_mapping`

and both return same result

---

<div class="post-metadata">

**Author:** ![val](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/val/32/138203_2.png) [@val](https://discuss.elastic.co/u/val)\
**Post date:** [January 3, 2018, 11:52am UTC](https://discuss.elastic.co/t/what-is-the-different-between-feature-and-endpoint-in-elasticsearch/113913/2 "2018-01-03T11:52:23Z")

</div>

Looking at the source code of [`RestGetMappingAction`](https://github.com/elastic/elasticsearch/blob/dcf57f296e8f691e8099ea57ce011c41061e79c8/core/src/main/java/org/elasticsearch/rest/action/admin/indices/RestGetMappingAction.java#L65-L66), they are merely synonyms and handled the same way.

I think both are still there for backward compatibility's sake.

---

<div class="post-metadata">

**Author:** ![tremk](https://avatars.discourse-cdn.com/v4/letter/t/85f322/32.png) [@tremk](https://discuss.elastic.co/u/tremk)\
**Post date:** [January 3, 2018, 12:10pm UTC](https://discuss.elastic.co/t/what-is-the-different-between-feature-and-endpoint-in-elasticsearch/113913/3 "2018-01-03T12:10:30Z")

</div>

> [@val](#):
>
> I think both are still there for backward compatibility's sake.

Thanks @val 👍

---

<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:** [January 31, 2018, 12:11pm UTC](https://discuss.elastic.co/t/what-is-the-different-between-feature-and-endpoint-in-elasticsearch/113913/4 "2018-01-31T12:11:04Z")

</div>

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