[ckan-dev] recent Solr with space-separated, multi-valued fq parameter

Philippe Duchesne pduchesne at gmail.com
Fri Jun 1 14:30:55 UTC 2018


Hello,

I currently have to deploy a CKAN 2.7 instance with Solr 7.3 .
It turns out that most dataset search requests fail, in that they return
all records.

After some debugging, it appears that this instance of Solr does not
process properly fq values that contain space-separated filters, as those
produced by search/query.py, like
'organization:"acme" +dataset_type:dataset -dataset_type:harvest
+site_id:"mysite" +state:active'

I can't find any record of this in ckan or solr issues. Is this a known
problem, or a misconfiguration on my part?
I have a PR I can submit that replaces all space-separated fq values with
fq_list usage, but i'd like to know if this is a relevant fix first.

Thanks,

--p.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20180601/6b03b6e3/attachment.html>


More information about the ckan-dev mailing list