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

Add unencoded nontrivial query example to README.md #122

Closed
gmontana opened this issue Aug 25, 2023 · 4 comments · Fixed by #143
Closed

Add unencoded nontrivial query example to README.md #122

gmontana opened this issue Aug 25, 2023 · 4 comments · Fixed by #143
Labels
documentation Modifications to documentation of existing behavior question Questions about how to use this package.

Comments

@gmontana
Copy link

I am trying to run a complex query, e.g.
query = "cat:cs.CV+OR+cat:cs.LG+OR+cat:cs.CL+OR+cat:cs.AI+OR+cat:cs.NE+OR+cat:cs.RO"
but I noticed that any query involving the AND/OR does not return anything.
I am able to run those queries from Python in other ways so the query expression is definitely correct.
Am I doing something wrong?
Thanks.

@gmontana gmontana added the question Questions about how to use this package. label Aug 25, 2023
@gmontana
Copy link
Author

apologies, I just saw the relevant comment in the code:
This should be unencoded. Use au:del_maestro AND ti:checkerboard, not
au:del_maestro+AND+ti:checkerboard.

@lukasschwab
Copy link
Owner

No need to apologize! I think this is common enough that I should lift a more complex query example into the README docs.

@lukasschwab lukasschwab reopened this Aug 27, 2023
@lukasschwab lukasschwab changed the title Complex queries Add unencoded nontrivial query example to README.md Aug 27, 2023
@lukasschwab lukasschwab added the documentation Modifications to documentation of existing behavior label Aug 27, 2023
@mdfwn
Copy link

mdfwn commented Oct 6, 2023

I think if you provide an API that wraps the arxiv.org API you should lift the user's burden of understanding the construction of queries and provide arguments like "authors", "categories", etc to the Search method.

@lukasschwab
Copy link
Owner

@mdfwn #84 was an initiative to that end, but it didn't yield a preferable interface. If you wind up writing a set of helpers you think might be generally applicable, I'm open to reviewing a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Modifications to documentation of existing behavior question Questions about how to use this package.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants