简体   繁体   中英

elasticsearch/Kibana list field as “?”, although it is “text” in index, why?

I am adding documents to an elastic search 6.1 index using the python elasticsearch module. The data is json and that works nicely.

Before adding the data, I generate an additional field 'indexing_results' that contains a list of topics.

I find that field in the index (looking via a Kibana interface) but the type is not "t" (text) but "?" and I can't find out what makes elastic search / Kibana assume this.

在此处输入图片说明

When asking Kibana what the type of the new field is in the interface it tells me it is text:

在此处输入图片说明

With the type being "?" it seems I can't use it in Kibana visualisations - it is simply not offered as a field from which to construct charts. etc.

How can Kibana / elasticsearch be convinced to consider the "indexing_results" field as "text"?

Try to refresh the index pattern. Management > Index Pattern, then there is a refresh button on the top right.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM