-
Notifications
You must be signed in to change notification settings - Fork 21
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
Feature / warning requests: Usage of "
versus '
and wildcard
#180
Comments
Thank you for this excellent suggestion @rkrug. 💯 Do you have any particular query examples you could share? |
Yes - here is the example which I used to solve the "issue" with OpanAlex support. In a nutshell:
{
Hope this helps. Also: as the precedence rules are not that clear, he highly recommended to use brackets. |
Just to be clear - does OpenAlex strip Also I don't know if it's just a formatting thing, but your example sometimes uses |
Yes - according tho the info I got from OpenAlex, the single inverted comma / quote Yes - I copied the code, so everything should be the single inverted comma / single quote. |
After some discussions with the OpenAlex support, I have solved an issue I had with using
search
, namely I used single quote ('
) while OpenAlex expects the double quotation mark ("
) to specify words adjacent to each other.Also (not a problem), the wildcard character
*
is stripped from the search (as is the single quotation mark'
, which causes a problem).This is done by Elasticsearch, and not under the control of OpenAlex.
I would therefore suggest two things:
oa_query()
that the wildcard character is stripped away and Openex is not doing any wildcard expansion (but stemming by default)This would help a to make openalexR easier to use and more reliable.
Thanks,
Rainer
The text was updated successfully, but these errors were encountered: