Unable to create index in elasticsearch 6.3.0 using kibana dev tools

PUT /shakespeare
{
"mappings": {
"doc": {
"properties": {
"speaker": {
"type": "keyword"
},
"play_name": {
"type": "keyword"
},
"line_id": {
"type": "integer"
},
"speech_number": {
"type": "integer"
}
}
}
}
}

it is giving error :[i am trying on windows ]

{
"statusCode": 504,
"error": "Gateway Time-out",
"message": "Client request timeout"
}

The mapping looks okay, most likely your elasticsearch instance is not running, or its running under a different port than the default one. Does curl -X GET http://localhost:9200/return anything when this happens?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.