What's the difference between the 'field' and 'field.keyword' fields in Kibana?

后端 未结 3 1845
生来不讨喜
生来不讨喜 2021-02-07 09:29

When adding a filter in kibana all string fields have a entry and .keyword entry. What is the difference?

3条回答
  •  太阳男子
    2021-02-07 10:12

    to add on to this in case it helps someone is that the .keyword field can be used to create scripted fields on the index if you already have a matching keyword field. Do not need to go through the trouble of switching fielddata to true and reindexing

提交回复
热议问题