Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FQ params are incorrectly wrapped in list when passed to Solr. #2853

Closed
rossjones opened this issue Jan 27, 2016 · 1 comment
Closed

FQ params are incorrectly wrapped in list when passed to Solr. #2853

rossjones opened this issue Jan 27, 2016 · 1 comment
Assignees

Comments

@rossjones
Copy link
Contributor

Just before 'fq' parameters are passed to Solr, they are wrapped in a list. This will break any usage of tagged fq parameters (such as {!tag name}name:something) as they don't like being sent as a single long string inside a list.

Solr is happy to either get a string for fq, with all parameters in, or a list where each item is a single fq term. Currently fq in the code is treated as a string and dangerously splits on spaces (which will break with terms that contain a space). We should change the fq parameter to be a list of filters to apply, but would need special considering for API calls to ensure it doesn't break anything.

@kmbn
Copy link
Contributor

kmbn commented Jan 22, 2019

We decided to close old issues that are not actively worked on so that we can focus our effort and attention on issues affecting the current versions of CKAN.

If this issue is still affecting the version of CKAN you're working with now, please feel free to comment or reopen the issue.

If you do reopen this issue, please update it with new details. One reason it might not have been resolved in the past is that it wasn't clear how a contributor could address the issue.

@kmbn kmbn closed this as completed Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants