-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Officer, Agency combined Search #376
base: main
Are you sure you want to change the base?
Conversation
.env.save
Outdated
@@ -0,0 +1,7 @@ | |||
POSTGRES_USER=postgres |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this file
bp = Blueprint("search_route", __name__, url_prefix="/api/v1/search") | ||
""" | ||
TODO: | ||
Convert search function to endpoint, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there another endpoint you're planning or is this TODO satisfied with this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the TODO is satisfied. Forgot to remove it.
-Added alembic migration to set up a Postgres materialized view for the search function to search relevant Officers, Agencies.
-Migration handles insertions, deletions etc. to Agency, Officer Tables, and updates the view necessary for search.
-Search function returns most relevant results according to search terms specified in the function.
Questions: