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

Updates notes filtering to search description too #5622

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nenad-vujicic
Copy link
Contributor

Description

PR updates notes filtering (querying) to search for query text in both note comments and note's description.

How has this been tested?

Using automated tests before and after migration plus manual tests before and after migration.

Copy link
Member

@tomhughes tomhughes left a comment

Choose a reason for hiding this comment

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

We'll need to add a text index on notes.description like the one we have on note_comments.body or this will have to read every note.

Added text index to description column to table notes.
Updates notes filtering to search for query text in both note comments and note's description.
@nenad-vujicic nenad-vujicic force-pushed the issue_replace_opening_comment_task_7 branch from 7db83db to e8a983a Compare February 7, 2025 10:13
@nenad-vujicic
Copy link
Contributor Author

We'll need to add a text index on notes.description like the one we have on note_comments.body or this will have to read every note.

Pushed, thanks! Is it safe to have it in same PR or we have to create new PR with migration for adding index?

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.

2 participants