I'm trying to do a geo distance query in a queryString query in java api. Doesn't seem to work. Is geo distance query supported in queryString query? i'm using 2.4.0. Here's what i'm posting to my local REST which uses queryStringQuery.
"query":{
"filtered":{
"query":{
"query_string" : {
"inStore": "Yes",
}
"filter": {
"geo_distance": {
"distance": "10mi",
"location": {
"lat": "32.4244948",
"lon": "-85.0322391"
}
}
}
}
}
}
}