planetfederal / registry

pycsw + elasticsearch + opensearch + swagger - Based on HHyperMap
MIT License
11 stars 9 forks source link

Include layer references in search backend #136

Closed JorgeMartinezG closed 7 years ago

JorgeMartinezG commented 7 years ago

This pull request enables elasticsearch to index layers references. Within a layer, references must be included using this xml structure.

<dct:references scheme="scheme_type"> Server_url </dct:references>

Once a layer is indexed using this structure, elasticsearch will return a new field called references, which is a list of dictionaries whose fields correspond to "scheme" and "url"

Note. Search by scheme and/or search by reference url has not been included in the api (yet).

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.006%) to 99.356% when pulling 4bb245181b6af7656091a70de6e63049488b86d8 on JorgeMartinezG:index_references into 76bd81a49b1e786425cf85e3b0b44c877ebf4a91 on boundlessgeo:master.

JorgeMartinezG commented 7 years ago

Huh, looks like new pre-built ubuntu xenial image does not come with jdk_switcher.