Closed nreese closed 7 years ago
Yes, use a semi-colon as separator: viewparams=q:encoded_query_body;a:encoded_aggregation_body
. See SQL Views documentation for more info. I need to update docs to include this.
Thanks. I have a kibana tilemap plugin that allows for putting WMS overlays on the map. And...if the WMS layer is served from Elasticsearch with ElasticGeo, it passes kibana's filter context to the WMS layer. Meaning that the WMS layer updates anytime new kibana filters are applied. I can even use WMS layers generated from aggregations now!
Sounds powerful. Thanks for sharing.
Is it possible to provide both a query and aggregation in viewparams? If so, what is the syntax?