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

Cam Findlay cam at camfindlay.com
Fri Jun 8 18:04:22 UTC 2018


You may want to check if that version of solr is supported with CKAN 2.7,
see this thread...
https://lists.okfn.org/pipermail/ckan-dev/2017-October/011172.html

On Sat, 2 Jun 2018 at 2:31 AM, Philippe Duchesne <pduchesne at gmail.com>
wrote:

> 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.
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20180609/bc8f62f2/attachment-0002.html>


More information about the ckan-dev mailing list