# Multiple terms

**URL:** <https://discuss.elastic.co/t/multiple-terms/96131>\
**Category:** Elasticsearch\
**Created:** [August 7, 2017, 3:12pm UTC](https://discuss.elastic.co/t/multiple-terms/96131 "2017-08-07T15:12:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![the\_foxit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/the_foxit/32/20876_2.png) [@the\_foxit](https://discuss.elastic.co/u/the_foxit)\
**Post date:** [August 7, 2017, 3:12pm UTC](https://discuss.elastic.co/t/multiple-terms/96131/1 "2017-08-07T15:12:11Z")

</div>

hello, I am a newbie with elasticstack .

I am working with filebeats, logstash and elasticsearch 5.5. after creating an index I found out that the terms are duplicated .  
example user and user.keyword

![2017-08-07 16_04_36-OSSIM Authentication Dashboard - Kibana](https://us1.discourse-cdn.com/elastic/original/3X/2/3/23b5653aa39eb92efdfeae1bdba244a52ef77319.png)

Any idea how to fix this thx.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 7, 2017, 4:35pm UTC](https://discuss.elastic.co/t/multiple-terms/96131/2 "2017-08-07T16:35:06Z")

</div>

If you don't want to do both fulltext search and aggregations on such fields, then you can remove one or the other in the mapping template.

- `user` is used for fulltext search
- `user.keyword` is used for aggregations

Have a look at [https://www.elastic.co/guide/en/elasticsearch/reference/5.5/indices-templates.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.5/indices-templates.html)

---

<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:** [September 4, 2017, 4:35pm UTC](https://discuss.elastic.co/t/multiple-terms/96131/3 "2017-09-04T16:35:38Z")

</div>

Closed on September 4, 2017, 4:35pm UTC

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