Je travaille sur un tableau de bord basé sur facebook commentaires de facebook graphique api utilisant elasticsearch5 & kibana5. J'ajoute quelques champs analysés et ils apparaissent dans la partie découverte sur Kibana mais en allant à la visualisation je ne trouve pas ces champs.La visualisation de Kibana ne montre pas les champs analysés
Mon index commentaires facebook:
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
Salut, je ne suis pas sûr, mais en élastique 5 tapez "chaîne" changer en "mot-clé" si pas d'analyses et de "texte" si analysé https://www.elastic.co/guide/fr/elasticsearch/reference/ courant/text.html Essayez la cartographie des changements à: { "cordes": { "match_mapping_type": "string", "mapping": { "type": "mot-clé" }} } – Lax