How to search in geo_shape data?

I put geo_shape data
PUT test/landmark/dam_square1
{
"name" : "Dam Square, Amsterdam",
"location" : {
"type" : "polygon",
"coordinates" : [[
[ 4.89218, 52.37356 ],
[ 4.89205, 52.37276 ],
[ 4.89301, 52.37274 ],
[ 4.89392, 52.37250 ],
[ 4.89431, 52.37287 ],
[ 4.89331, 52.37346 ],
[ 4.89305, 52.37326 ],
[ 4.89218, 52.37356 ]
]]
}
}

and then after i search using

POST test/landmark/_search
{
"query":{
"bool": {
"must": {
"match_all": {}
},
"filter": {
"geo_shape": {
"location": {
"shape": {
"type": "Polygon",
"coordinates" : [ [ 4.89392, 52.37250 ],
[ 4.89431, 52.37287 ],
[ 4.89331, 52.37346 ]]
},
"relation": "within"
}
}
}
}
}
}

and i got this type of error.
{
"error": {
"root_cause": [
{
"type": "query_parsing_exception",
"reason": "No query registered for [geo_shape]",
"index": "test",
"line": 8,
"col": 17
}
],
"type": "search_phase_execution_exception",
"reason": "all shards failed",
"phase": "query",
"grouped": true,
"failed_shards": [
{
"shard": 0,
"index": "test",
"node": "tYWj-d2wSlOtjN5xiGD3jg",
"reason": {
"type": "query_parsing_exception",
"reason": "No query registered for [geo_shape]",
"index": "test",
"line": 8,
"col": 17
}
}
]
},
"status": 400
}