Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add notes on using RFC1738 URLs for ES connections (#1413) #1441

Merged
merged 2 commits into from
Dec 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion docs/source/data-publishing/ogcapi-features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,17 @@ To publish an Elasticsearch index, the following are required in your index:
id_field: geonameid
time_field: datetimefield

This provider has the support for the CQL queries as indicated in the table above.
.. note::
doublebyte1 marked this conversation as resolved.
Show resolved Hide resolved

For Elasticseach indexes that are password protect, a RFC1738 URL can be used as follows:

``data: http://username:password@localhost:9200/ne_110m_populated_places_simple``

To further conceal authentication credentials, environment variables can be used:

``data: http://${MY_USERNAME}:${MY_PASSWORD}@localhost:9200/ne_110m_populated_places_simple``

The ES provider also has the support for the CQL queries as indicated in the table above.

.. seealso::
:ref:`cql` for more details on how to use Common Query Language (CQL) to filter the collection with specific queries.
Expand Down
Loading