Commit Graph

10 Commits

Author SHA1 Message Date
Tom Kralidis 9dd4ab05fe update docstring 2013-11-22 16:39:23 +00:00
Tom Kralidis f7289c4bba remove debugging 2013-11-22 16:37:49 +00:00
Tom Kralidis 0d64edeefa add functionality to set CSW keywords from CKAN tag counts
Conflicts:

	pip-requirements.txt
2013-11-22 16:37:34 +00:00
amercader 3ac4d983ed [#24] Let pycsw define and create the table 2013-08-30 14:42:28 +01:00
amercader b2759a83c4 [#24] Document CKAN-pycsw integration
Ad overview of how it works, how to set it up and deploy it in a
production server.

Conflicts:

	README.rst
2013-08-30 14:42:06 +01:00
amercader b2a653d90f [#24] Escape properly expression in last commit 2013-08-30 14:41:25 +01:00
amercader 9b9b534a32 [#24] Update API query to make it compatible with older Solr versions
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 *]"
2013-08-30 14:39:20 +01:00
amercader e2a3341777 [#24] Capture error when we get a wrong API response 2013-08-30 14:39:20 +01:00
amercader edd61f3a5b [#24] Add clear command to empty the pycsw table 2013-08-30 14:39:20 +01:00
amercader 108b834638 [#24] Add command for pycsw integration
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
2013-08-30 14:39:19 +01:00