web & server: using tantivy for news post search

This commit is contained in:
2024-09-29 16:28:05 -07:00
parent f36d1e0c29
commit 3ec1741f10
22 changed files with 737 additions and 170 deletions

View File

@@ -3,7 +3,10 @@ SELECT
FROM
post
WHERE
($1::text IS NULL OR site = $1)
(
$1 :: text IS NULL
OR site = $1
)
AND (
NOT $2
OR NOT is_read