You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ pycsw's runtime configuration is defined by ``default.yml``. pycsw ships with a
16
16
- **level**: the logging level (see https://docs.python.org/library/logging.html#logging-levels)
17
17
- **logfile**: the full file path to the logfile
18
18
- **ogc_schemas_base**: base URL of OGC XML schemas tree file structure (default is http://schemas.opengis.net)
19
-
- **federatedcatalogues**: arrray of distributed catalogue endpoints to be used for distributed searching, if requested by the client (see :ref:`distributedsearching`)
19
+
- **distributedsearch**: distributed catalogue endpoints to be used for distributed searching, if requested by the client (see :ref:`distributedsearching`)
20
20
- **pretty_print**: whether to pretty print the output (``true`` or ``false``). Default is ``false``
21
21
- **gzip_compresslevel**: gzip compression level, lowest is ``1``, highest is ``9``. Default is off. **NOTE**: if gzip compression is already enabled via your web server, do not enable this directive (or else the server will try to compress the response twice, resulting in degraded performance)
22
22
- **domainquerytype**: for GetDomain operations, how to output domain values. Accepted values are ``list`` and ``range`` (min/max). Default is ``list``
Copy file name to clipboardExpand all lines: docs/distributedsearching.rst
+47-32Lines changed: 47 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Distributed Searching
15
15
CSW 2 / 3
16
16
---------
17
17
18
-
pycsw has the ability to perform distributed searching against other CSW servers. Distributed searching is disabled by default; to enable, ``federatedcatalogues`` must be set. A CSW client must issue a GetRecords request with ``csw:DistributedSearch`` specified, along with an optional ``hopCount`` attribute (see subclause 10.8.4.13 of the CSW specification). When enabled, pycsw will search all specified catalogues and return a unified set of search results to the client. Due to the distributed nature of this functionality, requests will take extra time to process compared to queries against the local repository.
18
+
pycsw has the ability to perform distributed searching against other CSW servers. Distributed searching is disabled by default; to enable, ``distributedsearch`` must be set. A CSW client must issue a GetRecords request with ``csw:DistributedSearch`` specified, along with an optional ``hopCount`` attribute (see subclause 10.8.4.13 of the CSW specification). When enabled, pycsw will search all specified catalogues and return a unified set of search results to the client. Due to the distributed nature of this functionality, requests will take extra time to process compared to queries against the local repository.
When `distributedsearch.merge_results` exists and is set to ``true``, pycsw will merge all results in ``federatedSearchResults``. To prevent identifier collision, merged federated search results will have identifiers prefixed by their catalogue ``id`` (as defined in ``distributedsearch.catalogues[*].id``. In addition, a ``federatedCatalogueId`` property is added to the feature with the catalogue id.
129
+
122
130
STAC API
123
131
--------
124
132
125
133
Experimental support for distibuted searching is available in pycsw's STAC API support to allow for searching remote services. The implementation uses the same approach as described above.
126
134
127
135
.. note::
128
136
129
-
The ``federatedcatalogues`` directives must point to a STAC API endpoint.
137
+
The ``distributedsearch.catalogues`` directives must point to a STAC API endpoint.
130
138
131
139
.. code-block:: yaml
132
140
133
-
federatedcatalogues:
134
-
- id: fedcat03
135
-
type: STAC-API
136
-
title: Copernicus Data Space Ecosystem (CDSE) asset-level STAC catalogue
137
-
url: https://stac.dataspace.copernicus.eu/v1
138
-
collections:
139
-
- daymet-annual-pr
141
+
distributedsearch:
142
+
catalogues:
143
+
- id: fedcat03
144
+
type: STAC-API
145
+
title: Copernicus Data Space Ecosystem (CDSE) asset-level STAC catalogue
146
+
url: https://stac.dataspace.copernicus.eu/v1
147
+
collections:
148
+
- daymet-annual-pr
140
149
141
150
142
151
.. note::
@@ -148,4 +157,10 @@ With the above configured, a distributed search can be invoked as follows:
Merging behaviour is implemented in the same manner as OGC API - Records support.
164
+
165
+
151
166
.. _`OGC API - Records - Part 4: Federated Search`: https://github.com/opengeospatial/ogcapi-records/blob/master/extensions/federated-search/document.adoc
0 commit comments