cambialens / lens-api-doc

10 stars 6 forks source link

[Scholar API] How do I search a list of paper filtered by institution? #57

Closed hide24 closed 2 years ago

hide24 commented 2 years ago

I got this result after filtering by institution name in web UI.

https://www.lens.org/lens/search/scholar/list?p=0&n=10&s=date_published&d=%2B&f=false&e=false&l=en&authorField=author&dateFilterField=publishedYear&orderBy=%2Bdate_published&presentation=false&preview=false&stemmed=true&useAuthorId=false&institution.must=National%20Institute%20of%20Informatics

Filters: Institution Name = ( National Institute of Informatics ) Scholaly Works 8000+

How I get same list from Scholar API?

in Scholar API

"query": { "match_phrase": { "author.affiliation.name": "National Institute of infomatics" } got total 16.

"query": { "match_phrase": { "author.affiliation.name_original": "National Institute of infomatics" } got total 17.

hide24 commented 2 years ago

sorry, miss type.