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

Use Postgres built-in search functionalities instead of Elasticsearch? #43

Open
dongbohu opened this issue Jun 13, 2019 · 0 comments
Open

Comments

@dongbohu
Copy link
Contributor

dongbohu commented Jun 13, 2019

Postgres has been improving full text search and trigram search a lot since version 9.6. I wonder whether it is possible to use them to replace Elasticsearch. If we can, the backend architecture (and deployment) can be greatly simplified. With the GIN or GIST indexes on search fields, we don't have to worry about the index updates (which invoke celery jobs right now).

Right now, Elasticsearch is being used to search genes and genesets. We have 312,983 genes and 408,237 genesets in Postgres backend database.

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

No branches or pull requests

1 participant