{
    "filtered" : {
        "query" : {
            "match_all" : {}
        },
        "filter" : {
            "geo_shape" : {
                "country" : {
                    "shape" : {
                        "type" : "Envelope",
                        "coordinates" : [
                            [-45, 45],
                            [45, -45]
                        ]
                    },
                    "relation" : "intersects"
                }
            }
        }
    }
}