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

MyChem query endpoint should return a subset of field by default #56

Open
newgene opened this issue Dec 20, 2018 · 3 comments
Open

MyChem query endpoint should return a subset of field by default #56

newgene opened this issue Dec 20, 2018 · 3 comments
Assignees

Comments

@newgene
Copy link
Member

newgene commented Dec 20, 2018

Similar to how mygene.info/v3/query behavior. By default, the matching hits return a subset of "essential fields" by default, instead of all available fields. This will return hits much smaller and faster.

Users can always get the specific fields they need by specifying "fields" parameter, or passing fields=all to return all available field (the current default)

@newgene newgene added this to the Next data release milestone Dec 20, 2018
@newgene
Copy link
Member Author

newgene commented Dec 20, 2018

Let's define a set of "essential fields" as the default first.

@kevinxin90 kevinxin90 self-assigned this Jan 17, 2019
@newgene
Copy link
Member Author

newgene commented Mar 19, 2019

settings example here (from mygene.info):

https://github.com/biothings/mygene.info/blob/master/src/config_web.py#L110

@newgene newgene assigned ravila4 and unassigned cyrus0824 and kevinxin90 Apr 7, 2022
@newgene newgene assigned DylanWelzel and unassigned ravila4 May 29, 2024
@DylanWelzel
Copy link
Contributor

Google sheet with fields to keep vs drop and example values:
https://docs.google.com/spreadsheets/d/1F1BIZ-hGyzLvBCR5AWU5b9DUxgPGqbomwbb95kRrYCg/edit?usp=sharing

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

No branches or pull requests

5 participants