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

Oplog full-text-search take two #430

Merged
merged 1 commit into from
May 29, 2024

Conversation

ColonelThirtyTwo
Copy link
Collaborator

This patch enables searching of tags and extra fields. The downside is that we can't build an FTS index, since the tags are in a different table and the extra fields are user-editable.

In the future, we can look into storing the compiled SearchVector as a field in the OplogEntry, updating it whenever the entry or its tags change, and indexing that.

I haven't tested this with a large amount of entries in one log. We should make sure that it has acceptable performance.

This patch enables searching of tags and extra fields. The downside
is that we can't build an FTS index, since the tags are in a different
table and the extra fields are user-editable.

In the future, we can look into storing the compiled SearchVector as a
field in the OplogEntry, updating it whenever the entry or its tags
change, and indexing that.
@chrismaddalena chrismaddalena merged commit 31ff0cb into GhostManager:v4-1-dev May 29, 2024
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.

None yet

2 participants