# Kibana tag cloud does not count frequency of words in a text field

**URL:** <https://discuss.elastic.co/t/kibana-tag-cloud-does-not-count-frequency-of-words-in-a-text-field/326982>\
**Category:** Kibana\
**Created:** [March 4, 2023, 12:51pm UTC](https://discuss.elastic.co/t/kibana-tag-cloud-does-not-count-frequency-of-words-in-a-text-field/326982 "2023-03-04T12:51:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![eMitch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/emitch/32/93607_2.png) [@eMitch](https://discuss.elastic.co/u/eMitch)\
**Post date:** [March 5, 2023, 2:38am UTC](https://discuss.elastic.co/t/kibana-tag-cloud-does-not-count-frequency-of-words-in-a-text-field/326982/2 "2023-03-05T02:38:54Z")

</div>

Hi @Mehran_Goodarzi and welcome to the community!

Take a look [at this thread](https://discuss.elastic.co/t/kibana-word-cloud-on-text-field/250523).

the TL;DR:

Keyword fields are indexed as a whole value, whereas a `Text` field is indexed as individual terms or tokens.  
You will need to use the `Text` field and make sure it has `"fielddata": true` so it is aggregatable.  
This may require re-mapping or reindexing depending on your situation.

---

_[View the full topic](https://discuss.elastic.co/t/kibana-tag-cloud-does-not-count-frequency-of-words-in-a-text-field/326982)._
