Ich arbeite an einem basierten Facebook Kommentare Dashboard von Facebook Graph API mit elasticsearch5 & kibana5. Ich füge einige analysierte Felder hinzu und sie erscheinen im Discover-Teil auf Kibana, aber wenn ich zur Visualisierung gehe, finde ich diese Felder nicht.Kibana Visualisierung zeigt keine analysierten Felder
My Facebook Kommentare Index:
PUT fb_comments
{
"settings": {
"analysis": {},
"mapping.ignore_malformed": true
},
"mappings": {
"fb_comment": {
"dynamic_templates": [
{
"created_time": {
"match": "created_time",
"mapping": {
"type": "date",
"format": "epoch_second"
}
}
},
{
"message": {
"match": "message",
"mapping": {
"type": "string",
"analyzer": "simple"
}
}
},
{
"strings": {
"match_mapping_type": "string",
"mapping": {
"type": "string",
"index": "not_analyzed"
}
}
}
]
}
}
}
The field message the analyzed one is appearing in discover The field message the analyzed one is not appearing in visualization part
Hallo, ich bin mir nicht sicher, aber in elastischen 5 Typ "String" zu "Keyword" ändern, wenn nicht analysiert und zu "Text", wenn analysiert https://www.elastic.co/guide/en/elasticsearch/reference/ Strom/text.html Versuchen Änderung Mapping: { "Strings": { "match_mapping_type": "string", "Mapping": { "type": "Schlüsselwort" } } } – Lax