-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix oplog search breaking with very long entries
Postgres aborts queries that try to make a `tsvector` with too many unique tokens. This patch reworks the FTS oplog query to limit each individual field to avoid collecting too many tokens and running into the error. A drawback is that text after this cutoff point will not be searchable. Fixes #557
- Loading branch information
1 parent
c0860f6
commit 0bebda0
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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