Add profile search#85
Merged
Merged
Conversation
JeffSpies
approved these changes
May 12, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
This PR adds ElasticSearch (ES) to databarary.org and enables search for users, and we are starting with a single node cluster for development reasons.
The ingest is processed through Hasura's event triggers that will POST a request to es/webhook route on update/insert event on the users' table. I'm using a single webhook in charge of finding the table triggering the event, and push cleansed data to the appropriate ES index. I have one index per table, and all databrary indices start with "databrary-" which allows us to use wildcards to query all databrary indices like such databrary-*. the reason behind one index per searchable table is to limit the data processing before sending data to the frontend.
Notes:
Tickets: