The following expression is not valid in Solr 1.X:
"q":"harvest_object_id:*"
It returns the following error:
'*' or '?' not allowed as first character in WildcardQuery
It has been replaced with:
"q":"harvest_object_id:[\"\" TO *]"
Based on the work by @kindly on https://github.com/kindly/ckan_pycsw_import,
adds a command to the extension that allows to export easily the spatial
datasets to pycsw. This will only work for harvested ISO datasets for the time
being.
The command can be run both via paster (in the context of a CKAN install) or
independently (eg a separate server), as it uses the API to get the datasets.
TODO docs
We will target a specific changeset of OWSLib for the time being, just until
there is a proper release which includes geopython/OWSLib@4b0a62cd.
Basically OWSLib required python-dateutil==2.1, which is intended for
Python 3 and conflicted with the version used by CKAN core.
We will target a specific changeset of OWSLib for the time being, just until
there is a proper release which includes geopython/OWSLib@4b0a62cd.
Basically OWSLib required python-dateutil==2.1, which is intended for
Python 3 and conflicted with the version used by CKAN core.
The following expression is not valid in Solr 1.X:
"q":"harvest_object_id:*"
It returns the following error:
'*' or '?' not allowed as first character in WildcardQuery
It has been replaced with:
"q":"harvest_object_id:[\"\" TO *]"
Based on the work by @kindly on https://github.com/kindly/ckan_pycsw_import,
adds a command to the extension that allows to export easily the spatial
datasets to pycsw. This will only work for harvested ISO datasets for the time
being.
The command can be run both via paster (in the context of a CKAN install) or
independently (eg a separate server), as it uses the API to get the datasets.
TODO docs