web & server: using tantivy for news post search
This commit is contained in:
@@ -6,6 +6,9 @@ SELECT
|
||||
date,
|
||||
is_read,
|
||||
uid,
|
||||
id
|
||||
FROM post
|
||||
WHERE title ILIKE '%grapheme%' OR summary ILIKE '%grapheme%';
|
||||
p.id id
|
||||
FROM
|
||||
post AS p
|
||||
JOIN feed AS f ON p.site = f.slug -- necessary to weed out nzb posts
|
||||
ORDER BY
|
||||
date DESC;
|
||||
|
||||
Reference in New Issue
Block a user