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

how es cluster config in geoserver #82

Closed lzp0070007 closed 5 years ago

lzp0070007 commented 6 years ago

i have three es node , 192.168.177.206:9200,192.168.177.142:9200,192.168.177.134:9200,

so how config in geoserver

sjudeng commented 6 years ago

Currently it's only supported to specify a single (host, port) pair corresponding to the master node in your cluster. We can leave this issue open to track updates to support providing multiple hosts.

BinyaminSchein commented 6 years ago

Does the geoserver get the rest of the nodes from the master and query all cluster nodes or query only the master itself?

sjudeng commented 6 years ago

Currently only the single host is included in the client configuration (see here). But supporting multiple hosts would be a nice update.

sjudeng commented 5 years ago

The update to support multiple Elasticsearch hosts in the GeoServer config has been merged. See the elasticsearch_host parameter examples in the documentation. The update is included in the latest releases (2.14.0 for GeoServer 2.14.x and 2.13.3 for earlier versions).