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

William Waites ww at styx.org
Thu Apr 28 16:24:37 UTC 2011


* [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.

-w
-- 
William Waites                <mailto:ww at styx.org>
http://river.styx.org/ww/        <sip:ww at styx.org>
F4B3 39BF E775 CF42 0BAB  3DF0 BE40 A6DF B06F FD45




More information about the ckan-dev mailing list