Improves search.
This commit is contained in:
parent
3a97576160
commit
8af27ae64d
3 changed files with 18 additions and 18 deletions
2
fts.sql
2
fts.sql
|
|
@ -43,7 +43,7 @@ SELECT
|
|||
THEN snippet(post_fts, '<b>', '</b>', '...', what)
|
||||
ELSE post_fts.header END AS header,
|
||||
CASE what WHEN 2
|
||||
THEN snippet(post_fts, '<b>', '</b>', '...', what, -45)
|
||||
THEN snippet(post_fts, '**', '**', '...', what, -45)
|
||||
ELSE SUBSTR(post_fts.content, 1, 200) END AS content,
|
||||
person.name AS author,
|
||||
cdate,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue