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

Sorting response by Relevance #7

Open
Pikledom opened this issue Sep 27, 2022 · 3 comments
Open

Sorting response by Relevance #7

Pikledom opened this issue Sep 27, 2022 · 3 comments

Comments

@Pikledom
Copy link

Pikledom commented Sep 27, 2022

Hi there,

Is it possible to specify that results from the API calls are sorted by Relevance (as per the web search interface on WoS)?

I have tried various options for the sort_field parameter of the root_get call, but the only one that doesn't throw an error is PY (which I assume means Publication Year) as per the example.

Many thanks!

@maloku
Copy link
Member

maloku commented Sep 27, 2022

The relevance tag should be RS+D for descending or RS+A for ascending order.

@Pikledom
Copy link
Author

Pikledom commented Oct 4, 2022

Thank you @maloku, that works!

Is there a list of the abbreviations that can be used in the sort_field, like the one listed here for the Search Field tags?

@gneissone
Copy link
Collaborator

@Pikledom here is a summary of useful sort fields that are available.

Abbreviation Field
AU Author
CF Conference Title
CG Page
CW Source
CV Volume
CY Cited Year
LC Local Times Cited
LD Load Date
PG Page
PY Publication Year
RS Relevance
SO Source
TC Times Cited
VL Volume

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants