[ckan-dev] Search results format different in 1.7 from 1.5 (but still API v2)

Sean Hammond sean.hammond at okfn.org
Wed May 30 13:58:41 UTC 2012


> At OpenColorado we have client web applications that use the CKAN Search
> API against the master data catalog at http://colorado.ckan.net.
>  OpenColorado is currently running on CKAN 1.5 and I am testing with CKAN
> 1.7 to make sure our installed client applications are compatible.
> 
> In testing I have found that the format of search results has changed in a
> breaking way even though it is still version 2 of the API.

colorado.ckan.net is running CKAN 1.3 not 1.5, isn't it? A major
refactor of CKAN's search was introduced in CKAN 1.5 (moved from using
postgres to solr as the search backend), I think that may be the reason
for the search API changes you're seeing. See the CKAN changelog entry
for 1.5:

https://github.com/okfn/ckan/blob/master/CHANGELOG.txt

So yes, unfortunately I think you do need to upgrade your client
applications.




More information about the ckan-dev mailing list