OpenSearch Support¶
pycsw supports the A9 OpenSearch 1.1 implementation in support of aggregated searching.
Description Document¶
To generate an OpenSearch Description Document:
$ cd /path/to/pycsw
$ export PYTHONPATH=`pwd`
$ python-admin.py -c gen_opensearch_description -f default.cfg -o /path/to/opensearch.xml
This will create the document which can then be autodiscovered.
OpenSearch support is enabled by default. HTTP requests must be specified with mode=opensearch in the base URL for OpenSearch requests, e.g.:
http://localhost/pycsw/csw.py?mode=opensearch&service=CSW&verison=2.0.2&request=GetRecords&elementsetname=brief&typenames=csw:Record&resulttype=results
![This product conforms to the OpenGIS Catalogue Service Implementation Specification [Catalogue Service for the Web], Revision 2.0.2. OGC, OGC®, and CERTIFIED OGC COMPLIANT are trademarks or registered trademarks of the Open Geospatial Consortium, Inc. in the United States and other countries.](https://portal.opengeospatial.org/public_ogc/compliance/Certified_OGC_Compliant_Logo_Web.gif)
