As I understand it, the “relevance” information is related to this search (and not a summary of records or complete records that can be downloaded later), and there is no rating or similar statement about how relevant this search result is to the data returned by the entrez search.
, , sort=relevance - . , :
default_search = entrez_search(db="pubmed", term=query, retmax=30)
default_search_again = entrez_search(db="pubmed", term=query, retmax=30)
all(default_search$ids == default_search_again$ids)
.
[1] TRUE
relevance :
rel_search = entrez_search(db="pubmed", term=query, retmax=30, sort="relevance")
default_search$ids == rel_search$ids
.
[1] TRUE TRUE TRUE TRUE FALSE FALSE TRUE FALSE FALSE TRUE FALSE FALSE
[13] FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE TRUE TRUE TRUE TRUE
[25] FALSE FALSE TRUE TRUE FALSE FALSE
summary, fetch link , (?) ?