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

No results from Deutsche Digitale Bibliothek when query contains more than one keyword #37

Open
schloett opened this issue Apr 12, 2016 · 1 comment
Assignees

Comments

@schloett
Copy link

I am not able to retrieve results from DDB when querying with more than one keyword, even when using two keywords from a result title which was retrieved with a single keyword. E.g. 5th result of query "weben" is "weberin beim weben", while "weberin weben" returns 0 results.

@jr-dig-orgel
Copy link
Member

jr-dig-orgel commented Apr 21, 2016

I have debugged this, and the problem is that the PR generates a wrong query.
actual the queryGenerator is:
"queryGeneratorClass": "eu.eexcess.partnerrecommender.reference.OrQueryGeneratorFieldTermConjunction",

and this generates queries like:
https://api.deutsche-digitale-bibliothek.de/search?query=weben%2BOR%2Bweberin&rows=10&facet=place_fct

but it should be:
https://api.deutsche-digitale-bibliothek.de/search?query=weben+Bweberin&rows=10&facet=place_fct
as described in https://api.deutsche-digitale-bibliothek.de/doku/display/ADD/search#search-Request2

jr-dig-orgel added a commit that referenced this issue Apr 21, 2016
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