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

Sort pubmed_central search results by relevance versus default newest #953

Merged
merged 1 commit into from
Oct 27, 2024

Conversation

cannin
Copy link
Contributor

@cannin cannin commented Oct 26, 2024

By default, it looks like pubmed_central results are sorted by latest. This can produce results that are not helpful.

The added sort=relevance parameter can be tried with a link like this:

https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pmc&term=what+are+the+physiological+functions+of+calcium+AND+free+fulltext%5Bfilter%5D&retmax=3&usehistory=y&retmode=json&sort=relevance

Copy link
Owner

@assafelovic assafelovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you great improvement!

@assafelovic assafelovic merged commit 4bef3cd into assafelovic:master Oct 27, 2024
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

Successfully merging this pull request may close these issues.

2 participants