# Not analyzed number field

**URL:** <https://discuss.elastic.co/t/not-analyzed-number-field/126413>\
**Category:** Elasticsearch\
**Created:** [April 2, 2018, 10:04am UTC](https://discuss.elastic.co/t/not-analyzed-number-field/126413 "2018-04-02T10:04:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![die\_seltsame](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/die_seltsame/32/29303_2.png) [@die\_seltsame](https://discuss.elastic.co/u/die_seltsame)\
**Post date:** [April 2, 2018, 10:04am UTC](https://discuss.elastic.co/t/not-analyzed-number-field/126413/1 "2018-04-02T10:04:19Z")

</div>

How to specify index option with attribute mapping for fields type Number?

For example, I have this attribute for field by using elastic 1.7:

```
 [ElasticProperty(Name = "totalPaymentAmount", Type = FieldType.Double, Index = FieldIndexOption.NotAnalyzed)]
 public decimal TotalPaymentAmount { get; set; }

```

What attribute parameters will be for a new version of elastic?

---

<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:** [April 30, 2018, 10:06am UTC](https://discuss.elastic.co/t/not-analyzed-number-field/126413/2 "2018-04-30T10:06:55Z")

</div>

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