Skip to content

Commit

Permalink
#3480 add schema changes for record full text search
Browse files Browse the repository at this point in the history
  • Loading branch information
t83714 committed Sep 4, 2023
1 parent 2d674ca commit fb77d9f
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CREATE INDEX idx_data_full_text ON recordaspects
USING GIN ((
to_tsvector('english', recordid) ||
to_tsvector('english', aspectid) ||
jsonb_to_tsvector('english', data, '["string"]')
))

0 comments on commit fb77d9f

Please sign in to comment.