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

Catalogue Search does not return the return the same records as the SOLR API #841

Open
mdunhamwilkie opened this issue Sep 8, 2020 · 0 comments

Comments

@mdunhamwilkie
Copy link

Test Case

ENV

PROD, CAT (possibly CAD as well)

TESTCASE

In the BCDC, search for "Data Innovation Program" (without quotes), or alternatively use the CKAN API: https://catalogue.data.gov.bc.ca/api/3/action/package_search?q=data%20innovation%20program

EXPECTED

According to the docs (https://docs.ckan.org/en/2.7/api/index.html#ckan.logic.action.get.package_search), package_search should pass the q value to the CKAN API, so the URL above should return the same records as CKAN API: http://apps.bcgov:8093/solr/ckan-m/select?q=data%20innovation%20program

ACTUAL

https://catalogue.data.gov.bc.ca/api/3/action/package_search?q=data%20innovation%20program --> 858 matches
http://apps.bcgov:8093/solr/ckan-m/select?q=data%20innovation%20program --> 25 matches

However,
https://catalogue.data.gov.bc.ca/api/3/action/package_search?q=text:data%20innovation%20program --> 25 matches
https://catalogue.data.gov.bc.ca/api/3/action/package_search?q=data%20innovation%20program&defType=lucene --> 25 matches

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