Index not found exception

Hi guys,
Iam new to elasticsearch. I have indexed a small file. I get an error when i try to query it through an API as below:

"{
"errors": [
{
"message": "index_not_found_exception",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"gene"
]
}
],
"data": {
"gene": null
}
}

I am not able to figure out of the file has a problem, its content or the API connection. Is there a way to figure this out?

Mamta

Which API are u using? How do you know indexing was successful? Can you share code you are using to query?

Also post output of

curl http://localhost:9200/_cat/indices

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