[ckan-dev] recent Solr with space-separated, multi-valued fq parameter
pduchesne at gmail.com
Sun Jun 10 21:06:14 UTC 2018
Thank you for this pointer.
I understand solr 6 is the recommended version, but I had solr 7 has a
So, for the record, if solr 7 is ever to be supported, I managed to get the
whole thing running with the changes I mentioned, i.e. using fq_list
instead of fq whenever multiple filter values were required. That meant
patching ckan core, and ckanext-harvest.
On Fri, Jun 8, 2018 at 8:04 PM Cam Findlay <cam at camfindlay.com> wrote:
> You may want to check if that version of solr is supported with CKAN 2.7,
> see this thread...
> On Sat, 2 Jun 2018 at 2:31 AM, Philippe Duchesne <pduchesne at gmail.com>
>> 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.
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ckan-dev