# Which mapping is appropriate for url field?

**URL:** <https://discuss.elastic.co/t/which-mapping-is-appropriate-for-url-field/140287>\
**Category:** Elasticsearch\
**Created:** [July 17, 2018, 9:00am UTC](https://discuss.elastic.co/t/which-mapping-is-appropriate-for-url-field/140287 "2018-07-17T09:00:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Olexandr](https://avatars.discourse-cdn.com/v4/letter/o/eb8c5e/32.png) [@Olexandr](https://discuss.elastic.co/u/Olexandr)\
**Post date:** [July 17, 2018, 9:00am UTC](https://discuss.elastic.co/t/which-mapping-is-appropriate-for-url-field/140287/1 "2018-07-17T09:00:05Z")

</div>

I have a field where I store urls. Should it be mapped as `keyword` or there is something more specific to urls?

---

<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:** [August 14, 2018, 9:00am UTC](https://discuss.elastic.co/t/which-mapping-is-appropriate-for-url-field/140287/2 "2018-08-14T09:00:16Z")

</div>

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