Filter geo_distance - Failed to parse source

Hi,

i'm trying to filter by geo_distance, but always geting error (logs) "Failed to parse source"

i have query:

{
"query": {
"filtered" : {
"query" : {
"field" : {
"_all" : "test~0.3"
}
},
"filter" : {
"term" : { "model" : "company" }
}
}
}
}

..which work fine, then i add geo_distance

{
"query": {
"filtered" : {
"query" : {
"field" : {
"_all" : "test~0.3"
}
},
"filter" : {
"geo_distance" : {
"distance" : "200km",
"location" : {
"lat" : 40,
"lon" : -70
}
}
}
}
}
}

i get Failed to parse source

i mapped location as geo_point type

what am i doing wrong?

I've solved, problem was in mapping