biothings.api icon indicating copy to clipboard operation
biothings.api copied to clipboard

improvement on the use-cases of the batch query endpoint with field-level weights

Open newgene opened this issue 3 years ago • 0 comments

e.g.

mg.querymany(['Tmem27', 'TYMP'], scopes='symbol,alias', species='human', size=1) mg.querymany(['Tmem27', 'TYMP'], scopes='symbol^10,alias', species='human', size=1)

We should better document this use- case (with custom field-level weights), adding query examples, etc.

also size parameter should be aliased and documented as max_hits.

newgene avatar Sep 29 '20 21:09 newgene