【发布时间】:2019-02-22 02:25:10
【问题描述】:
我无法在 kibana 中的 full_text 字段内显示单词的出现,该字段在索引中的文档中映射为 "type": "keyword"。
我的第一次尝试涉及使用分析仪。但是我无法以任何方式更改文档,索引映射反映分析器,但没有字段反映分析。
这是简化的映射:
{
"mappings": {
"doc": {
"properties": {
"text": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword"
},
"analyzed": {
"type": "text",
"analyzer": "rebuilt"
}
}
}
}
}
},
"settings": {
"analysis": {
"analyzer": {
"rebuilt": {
"tokenizer": "standard"
}
}
},
"index.mapping.ignore_malformed": true,
"index.mapping.total_fields.limit": 2000
}
}
但我仍然无法看到我希望保存在 text.analyzed 字段下的单词数组,确实该字段不存在,我想知道为什么
【问题讨论】:
标签: elasticsearch kibana elasticsearch-aggregation