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

Make it possible to search with non-alphanumerical character #26

Open
liowalter opened this issue Jul 20, 2017 · 3 comments
Open

Make it possible to search with non-alphanumerical character #26

liowalter opened this issue Jul 20, 2017 · 3 comments

Comments

@liowalter
Copy link
Member

I would like to search the publication with the 035 field (NATIONALLICENCE)oxford-10.1093/intimm/1.1.11

This doesn't work :
http://sru.swissbib.ch/sru/search/defaultdb?query=+dc.anywhere+exact+(NATIONALLICENCE)oxford-10.1093/intimm/1.1.11&operation=searchRetrieve&recordSchema=info%3Asrw%2Fschema%2F1%2Fmarcxml-v1.1-light&maximumRecords=10&startRecord=0&recordPacking=XML&availableDBs=defaultdb&sortKeys=Submit+query

Therefore, I remove all non-alphanumeric characters which gives this
http://sru.swissbib.ch/sru/search/defaultdb?query=+dc.anywhere+exact+NATIONALLICENCEoxford101093intimm1111&operation=searchRetrieve&recordSchema=info%3Asrw%2Fschema%2F1%2Fmarcxml-v1.1-light&maximumRecords=10&startRecord=0&recordPacking=XML&availableDBs=defaultdb&sortKeys=Submit+query

This return one record, but is not the good one. It is the record with 035 (NATIONALLICENCE)oxford-10.1093/intimm/11.1.1

@basimar
Copy link

basimar commented Jul 21, 2017

Dear Lionel
You are searching for this article, I suppose: https://doi.org/10.1093/intimm/1.1.11. I've tried searching for the article title and/or authors in swissbib, but can't find the record, which would explain why you can't find it using SRU.

Regards, Basil

@liowalter
Copy link
Member Author

Dear Basil,
Thanks for the hint. Indeed you are right ! But the problem remains :

I didn't manage to have an SRU query that gives 0 record for 10.1093/intimm/1.1.11 and one record for 10.1093/intimm/11.1.1

The advanced swissbib search gives also the wrong record for the second doi :
https://www.swissbib.ch/Search/Results?sort=relevance&advancedSearchFormRequest=advancedSearchFormRequest&join=AND&bool0%5B%5D=AND&lookfor0%5B%5D=10.1093%2Fintimm%2F1.1.11&type0%5B%5D=ISN&lookfor0%5B%5D=&type0%5B%5D=AllFields&lookfor0%5B%5D=&type0%5B%5D=AllFields&daterange%5B%5D=publishDate&publishDatefrom=&publishDateto=&limit=20

I think that @guenterh is right. The problem is bound to SOLR.

@swissbib-unibas
Copy link

26

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