# Nest changes for ElasticSearch Keyword+Text type

**URL:** <https://discuss.elastic.co/t/nest-changes-for-elasticsearch-keyword-text-type/89598>\
**Category:** Elasticsearch\
**Created:** [June 15, 2017, 5:36pm UTC](https://discuss.elastic.co/t/nest-changes-for-elasticsearch-keyword-text-type/89598 "2017-06-15T17:36:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dimalini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dimalini/32/22448_2.png) [@dimalini](https://discuss.elastic.co/u/dimalini)\
**Post date:** [June 15, 2017, 5:36pm UTC](https://discuss.elastic.co/t/nest-changes-for-elasticsearch-keyword-text-type/89598/1 "2017-06-15T17:36:03Z")

</div>

Hi,  
I am working on ES5.4.1 and Nest 5.4.0. I have few Questions regarding the mapping changes.

We are trying to move the mapping from String to Keyword or Text appropriately.  
(1) The Keyword type's Index property is changed from FieldIndexOption to a bool.  
So is index = false equals to FieldIndexOption=No ?  
How could FieldIndexOption = analyzed/notanalyzed be achieved in this case?

(2)Include\_in\_all is going to be deprecated in ES6.X versions. If i don't want to have include\_in\_all to be in set in my current mapping (5.4.1) so that while i move to ES 6.x my changes would be minimal, want to know if it is false/true by default in the current scenario

TIA, Divya

---

<div class="post-metadata">

**Author:** ![dimalini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dimalini/32/22448_2.png) [@dimalini](https://discuss.elastic.co/u/dimalini)\
**Post date:** [June 15, 2017, 7:37pm UTC](https://discuss.elastic.co/t/nest-changes-for-elasticsearch-keyword-text-type/89598/2 "2017-06-15T19:37:59Z")

</div>

Just adding on to the above query can we assume that keyword fields are always not analyzed and stored, but not indexed unless specified explicitly ?

---

<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:** [July 13, 2017, 7:38pm UTC](https://discuss.elastic.co/t/nest-changes-for-elasticsearch-keyword-text-type/89598/3 "2017-07-13T19:38:01Z")

</div>

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