ContentMine / getpapers

Get metadata, fulltexts or fulltext URLs of papers matching a search query
MIT License
197 stars 37 forks source link

Understanding the IEEE query format #56

Open anusharanganathan opened 9 years ago

anusharanganathan commented 9 years ago

There is a discrepancy in results when I try to use the IEEE explore api and getpapers using the same query. It would be good to understand how the query gets constructed in getpapers.

I wanted to search for the query:

Author affiliation = syracuse theasurus terms = audio

Using the IEEE explore API, I get either 5 results or no results (if open access is true)

Trying to do the same in getpapers, I get 968 results.

$ getpapers -q 'cs=syracuse thsrsterms=audio' -o Output11 --api 'ieee'
info: Searching using ieee API
info: Found 968 open access results

I am not sure if the -a flag is used for ieee. I would expect not having it in the query would mean looking for only open access papers, in which case I should have got no results.

I tried the following two variations of the query, which also generated the same result

$ getpapers -q 'cs=syracuse AND thsrsterms=audio' -o Output10 --api 'ieee'
$ getpapers -q 'cs=syracuse&thsrsterms=audio' -o Output11 --api 'ieee'