ngageoint / elasticgeo

ElasticGeo provides a GeoTools data store that allows geospatial features from an Elasticsearch index to be published via OGC services using GeoServer.
GNU General Public License v3.0
169 stars 85 forks source link

sort the layer result from elasticsearch #115

Open atur opened 4 years ago

atur commented 4 years ago

Hi Is it possible to sort the layer result from elasticsearch in geoserver in the "Restrict the features on layer by CQL filter" text field?

Thanks

sjudeng commented 4 years ago

That's a general layer configuration option provided by GeoServer (see https://docs.geoserver.org/stable/en/user/data/webadmin/layers.html#restricting-features-showing-up-in-the-layer). Typically sorting is done on GetFeature requests through the sortBy parameter (see https://docs.geoserver.org/stable/en/user/services/wfs/reference.html#getfeature).