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

Citation field is not filtered by citation count #94

Open
andresgur opened this issue Dec 30, 2022 · 1 comment
Open

Citation field is not filtered by citation count #94

andresgur opened this issue Dec 30, 2022 · 1 comment

Comments

@andresgur
Copy link

The problem appears in both on the API and on the search engine:
property:refereed,article citation_count:[0 TO 1] year:1987

returns 191 papers with 0 to 1 citation

The number of paper citing these papers should be 191 or less as they all have 0 or 1 citations. But instead:

citations(property:refereed,article citation_count:[0 TO 1])

returns 8,928,552 results and in fact is insensitive to the value in citation_count. Thus the return values are not being filtered by the citation_count keyword. I could reproduce these same results using the API too with

r = requests.get("https://api.adsabs.harvard.edu/v1/search/query?q=year:1987&property:refereed,article&rows=2000&start=0&fl=citation&fq=citation_count:[0 TO 1]",\
            headers={'Authorization': 'Bearer ' + token})

This makes it difficult to retrieve the papers that cited papers with a given number of citations.

@andresgur
Copy link
Author

I realized the issue was here:

property:(refereed AND article) instead of property:refereed,article

With that I find the expected behaviour.

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

1 participant