Hi,
We have a problem using percolator with ElasticSearch v2.3.2.
Here is a path how to recreate the error:
1.Create document-test
index with mapping:
{
"document-type": {
"properties": {
"title": {
"type": "string"
}
}
}
}
2.Index new document: document-test/document-type/1
{
"title": "something"
}
3.Create percolator
index
4.Index percolator query: percolator/.percolator/1
{
"query": {
"match_all": {}
}
}
5.Execute percolator request: document-test/document-type/1/_percolate?percolate_index=percolator
and the response is:
{
"took": 3,
"_shards": {
"total": 1,
"successful": 0,
"failed": 1,
"failures": [
{
"shard": 0,
"index": "percolator",
"status": "INTERNAL_SERVER_ERROR",
"reason": {
"type": "null_pointer_exception",
"reason": null
}
}
]
},
"total": 0,
"matches": [
]
}
Any ideas what can be the reason?