### Navigation

- next
- previous |
- pycsw 1.8.2 documentation »

# 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

### Navigation

- next
- previous |
- pycsw 1.8.2 documentation »