koopjs / koop-provider-elasticsearch

A provider for koop that can connect to one or more elastic search instances and turn indices/aliases into individual feature services.
Apache License 2.0
13 stars 4 forks source link

Nested query for Multilinestring #23

Open sjain227 opened 4 years ago

sjain227 commented 4 years ago

I have a multilinestring geometry type which has nested query. What should I provide in the config to make query something like below: esquery { "index": "test_index", "body": { "size": 6000, "query": { "nested": { "path": "test_abc", "query": { "bool": { "must": [ { "exists": { "field": "test_abc.pqr" } } ] } } } } } }

If I give "geometryField": "test_abc.pqr" in the config, It does not work.