Publishing Elasticsearch Service
|
Feedback
|
SuperMap iServer supports publishing Elasticsearch services as data sources directly to REST Data service.
You can publish the existing Elasticsearch data services by following these steps:
- On the Home page of Service Management -> Publish Service or the Services -> Service Management page, click Quickly Publish Service to enter the publishing wizard;
- Select datasource as "Elasticsearch Service" and click Next;
- Set the Elasticsearch service address port, cluster name, index and other information. Please confirm the input correctness of Elasticsearch service address and ports. Then click Next;
The address configuration of the Elasticsearch service supports two types of protocols:
- The HTTPS protocol, for example, https://127.0.0.1:9200, and configure the cluster name, index, username, and password.
- The HTTP protocol, for example, 127.0.0.1: 9200 or http://127.0.0.1:9200. And configure the cluster name, index.
- Select the published service type, such as rest data service, and click Next;
- Set whether data services is editable. The default is not editable. Click Publish;
- After publishing, you can see the name and link of the currently published service. Click it to access the service directly.
Note that it only supports publishing Elasticsearch services as data services in the GCSWGS_1984 (EPSG: 4326) coordinate system currently.