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

dataset search: query with white space #200

Open
aborruso opened this issue Apr 16, 2022 · 0 comments
Open

dataset search: query with white space #200

aborruso opened this issue Apr 16, 2022 · 0 comments

Comments

@aborruso
Copy link

aborruso commented Apr 16, 2022

Hi,
I would like to emulate this browser query (fq=maintainer:Comune\%20di\%20Arezzo) in the shell.

It works in the browser, but if I run

ckanapi -r https://dati.gov.it/opendata/ search datasets fq='(maintainer:"Comune\ di\ Arezzo")'

I have 504 error. What's wrong in my command?

Strangely the same query works via action:

ckanapi -r https://dati.gov.it/opendata/ action package_search fq='(maintainer:"Comune\ di\ Arezzo")'

Thank you

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

1 participant