# Store different price per day?

**URL:** <https://discuss.elastic.co/t/store-different-price-per-day/131999>\
**Category:** Elasticsearch\
**Created:** [May 15, 2018, 8:53pm UTC](https://discuss.elastic.co/t/store-different-price-per-day/131999 "2018-05-15T20:53:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![remco\_zwaan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/remco_zwaan/32/129991_2.png) [@remco\_zwaan](https://discuss.elastic.co/u/remco_zwaan)\
**Post date:** [May 15, 2018, 8:53pm UTC](https://discuss.elastic.co/t/store-different-price-per-day/131999/1 "2018-05-15T20:53:58Z")

</div>

Hi,

Just started earning ES. We have 1000+ accommodations. Each accommodation has different price ranges per day. By example in accommodation X, customer pay in june 100 euro per day and in may its 85 per day ect.

Whats the best mapping to get this data right in the index?

thanks remco

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 16, 2018, 5:04am UTC](https://discuss.elastic.co/t/store-different-price-per-day/131999/2 "2018-05-16T05:04:35Z")

</div>

> [@remco\_zwaan](#):
>
> Whats the best mapping to get this data right in the index?

Right for what exactly? You should just be able to map it as a number.

---

<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:** [June 13, 2018, 5:04am UTC](https://discuss.elastic.co/t/store-different-price-per-day/131999/3 "2018-06-13T05:04:41Z")

</div>

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