server: add postgres based newsreader search and disable tantivy
This commit is contained in:
@@ -11,3 +11,7 @@ WHERE
|
||||
NOT $2
|
||||
OR NOT is_read
|
||||
)
|
||||
AND (
|
||||
$3 :: text IS NULL
|
||||
OR to_tsvector('english', summary) @@ websearch_to_tsquery('english', $3)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user