Hello ,
Can somebody point out what I am doing wrong here .
{
"script_score" : {
"script" : {
"lang": "painless",
"inline": "float a= doc['location'].planeDistance(33.6839473,-117.7946942); _score * log(a + 1);"
}
}
}
Many thanks in advance!!