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

Add indexes to optimize biological entity endpoints #89

Open
AlanSimmons opened this issue Apr 17, 2024 · 1 comment · Fixed by #90
Open

Add indexes to optimize biological entity endpoints #89

AlanSimmons opened this issue Apr 17, 2024 · 1 comment · Fixed by #90
Assignees
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request HuBMAP/SenNet

Comments

@AlanSimmons
Copy link
Contributor

Statement of issue

Calls to endpoints like /gene-info are slow.

Solution

Add relevant indexes to optimize the endpoint queries.

@AlanSimmons
Copy link
Contributor Author

I moved the SKIP and LIMIT clauses in the Cypher queries. This seems to speed the corresponding endpoints somewhat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request HuBMAP/SenNet
1 participant