Hi,
I have a document indexed a month back in Elasticsearch version 6.3.1. If I try searching by id or any other term in that doc, it returns that doc. However get api responds with found:false indicating that the doc is not present. Why would it happen and how can I debug this?
GET /_search
{ "query" : {
"match" : {
"_id": "&36866960708-282941204767833454"
}
}
}
{
"took" : 0,
"timed_out" : false,
"_shards" : {
"total" : 64,
"successful" : 11,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : 1,
"max_score" : 1.0,
"hits" : [
{
...
"_id" : "&36866960708-282941204767833454",
...
- GET _doc/&36866960708-282941204767833454?pretty"
{
...
"_id" : "&36866960708-282941204767833454",
"found" : false
}