Reputation: 121
I'm new to Elastic and Kibana. I'm creating my first visualizations in Kibana. I have a index with news with the following fields:
I created a tag cloud with the "top 5 keywords" field. I'd like to do the same with the "body". However, I don't see the field available when creating the visualization:
Here is a screenshot of my mapping:
I assume there's something wrong with my mapping but I cannot figure that out. any help?! Many thanks! Raul.
Upvotes: 1
Views: 4527
Reputation: 2156
Each visualization is a kind of aggregation.
text
type not allow aggregations by default. This is to keep the heap memory amount.
before you enable fielddata
on the body be sure that you know what you do
For enable, fielddata
on body field add to your mapping
{
"properties": {
"body": {
"type": "text",
"fielddata": true
}
}
}
Upvotes: 2