* add notes on using RFC1738 URLs for ES connections (#1413) * add CQL info to record providers
This commit is contained in:
@@ -110,7 +110,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::
|
||||
|
||||
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.
|
||||
|
||||
@@ -15,12 +15,12 @@ pygeoapi core record providers are listed below, along with a matrix of supporte
|
||||
parameters.
|
||||
|
||||
.. csv-table::
|
||||
:header: Provider, properties (filters), resulttype, q, bbox, datetime, sortby, properties (display), transactions
|
||||
:header: Provider, properties (filters), resulttype, q, bbox, datetime, sortby, properties (display), CQL, transactions
|
||||
:align: left
|
||||
|
||||
`ElasticsearchCatalogue`_,✅,results/hits,✅,✅,✅,✅,❌
|
||||
`TinyDBCatalogue`_,✅,results/hits,✅,✅,✅,✅,✅
|
||||
`CSWFacade`_,✅,results/hits,✅,✅,✅,❌,❌
|
||||
`ElasticsearchCatalogue`_,✅,results/hits,✅,✅,✅,✅,✅,✅
|
||||
`TinyDBCatalogue`_,✅,results/hits,✅,✅,✅,✅,❌,✅
|
||||
`CSWFacade`_,✅,results/hits,✅,✅,✅,❌,❌,❌
|
||||
|
||||
|
||||
Below are specific connection examples based on supported providers.
|
||||
@@ -51,6 +51,11 @@ To publish an Elasticsearch index, the following are required in your index:
|
||||
id_field: identifier
|
||||
time_field: datetimefield
|
||||
|
||||
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.
|
||||
|
||||
TinyDBCatalogue
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user