This type of query does not exist in Elasticsearch. The geo_shape is not store as GeoJSON in the index so the information on what type of shape it was is lost while indexing. If you want to search on this information, you will need to index the type as a separate keyword field alongside your geo_shape field