Search on node name

This commit is contained in:
Magnus Åhall 2023-07-20 07:27:29 +02:00
parent 83336cf0fa
commit 1389225b45
4 changed files with 9 additions and 3 deletions

2
sql/0012.sql Normal file
View file

@ -0,0 +1,2 @@
DROP INDEX node_content_index;
CREATE INDEX node_search_index ON node USING gin (name gin_trgm_ops, content gin_trgm_ops);