[ckan-dev] How to access an array in extra-fields ?

Pascal Christoph christoph at hbz-nrw.de
Fri Apr 29 08:03:00 UTC 2011


Am 28.04.2011 18:24 schrieb William Waites:
> * [2011-04-28 18:14:59 +0200] Pascal Christoph <christoph at hbz-nrw.de> écrit:
> ] wget
> ] "http://ckan.net/api/search/package?q=lobid&publishingInstitution=http%3A//lobid.org/organisation/DE-605"
> The ":" character is perfectly legal in that part of the URL, you
> don't need to escape it. In either case what CKAN will see is : since
> it will get decoded by the middleware.
> 
> I suspect what is happening is that the search back-end uses : as a
> field separator, similar to the way you can do
> site:exmaple.org with google.
> 
> So this will get transformed to 
> 
>     publishingInstitution:http://lobid.org/...
> 
> which isn't intelligible to Solr.
> 
> Just a guess.

no, we were on the wrong path, because in fact the query works alright
(that is, it gave us results), but it donot get us the document with the
value stored in an array in extra-fields.

oo




More information about the ckan-dev mailing list