Elastic Search Percolation of Existing document doesn't work.
I tries the below example.
Indexed the below document.
POST http://localhost:9200/abc/cand/230
{
"doc": {
"message":"Java C# Bangalore"
}
}
Indexed the below query
POST http://localhost:9200/abc/.percolator/2702
{
"query" : {
"match" : {
"message" : "Bangalore"
}
}
}
GET http://localhost:9200/abc/cand/230/_percolate
{
"took": 5,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"total": 0,
"matches": []
}
zero matches was retuned. It should have returned 'Bangalore'. When I give the document in the body while precolating, I am getting the matches. Only this percolation of Existing document doesn't work.