mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
Add full-text search for entries and add search parameter to the API
This commit is contained in:
parent
89e5dacca9
commit
af15412954
7 changed files with 75 additions and 44 deletions
3
sql/schema_version_20.sql
Normal file
3
sql/schema_version_20.sql
Normal file
|
@ -0,0 +1,3 @@
|
|||
alter table entries add column document_vectors tsvector;
|
||||
update entries set document_vectors = to_tsvector(title || ' ' || coalesce(content, ''));
|
||||
create index document_vectors_idx on entries using gin(document_vectors);
|
Loading…
Add table
Add a link
Reference in a new issue