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

Don't store full text in search index #1152

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

antidipyramid
Copy link
Collaborator

@antidipyramid antidipyramid commented Jul 25, 2024

Overview

This PR overrides django-councilmatic's BillIndex.full_text to no longer store a board report's full_text in the index.

Connects #1151

Testing Instructions

This PR requires an index rebuild and should be tested locally.

  • Run docker compose run --rm app python manage.py rebuild_index
  • Verify that search still works as expected

Once this is merged in, I'll rebuild the staging database's index and see if this addresses our memory problems when searching.

@fgregg fgregg temporarily deployed to la-metro-cou-feature-11-urvm56 July 25, 2024 14:46 Inactive
@antidipyramid antidipyramid requested a review from hancush July 25, 2024 14:47
Copy link
Collaborator

@hancush hancush left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@antidipyramid antidipyramid merged commit 071f0d6 into main Jul 26, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants