Salut, je l'ai utilisé la version 1.6 élastique précédemment et fait la cartographie pour l'index comme ci-dessous,Impossible carte index élastique 5.6
//jarSetup.json
mappings": {
"jardata": {
"properties": {
"groupID": {
"index": "not_analyzed",
"type": "string"
},
"artifactID": {
"index": "not_analyzed",
"type": "string"
},
"directory": {
"type": "string"
},
"jarFileName": {
"index": "not_analyzed",
"type": "string"
},
"version": {
"index": "not_analyzed",
"type": "string"
}
}
}
}
Et j'exécutez la commande curl -XPOST http://localhost:9200/testjar -d @jarSetup.json
à fais la cartographie. Cela a bien fonctionné dans la version élastique 1.6. Mais quand j'ai essayé exactement la même chose dans la version 5.6, il me donne une erreur
No handler found for uri [/testjardata] and method [POST]
Je ne pouvais pas comprendre quel est le problème. Si quelqu'un sait quelque chose à ce sujet s'il vous plaît aidez-moi.