diff options
author | Andrew Dolgov <[email protected]> | 2015-08-04 13:32:52 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-08-04 13:32:52 +0300 |
commit | df659891ac0597c3f58b7714ddd4103ccad66b07 (patch) | |
tree | 919853d7f521e127df753be0615e2fa7c610acb5 /include/functions2.php | |
parent | e854442e1f402349419be2205ddc47173ab9a3df (diff) |
implement per-feed stemming language setting
Diffstat (limited to 'include/functions2.php')
-rw-r--r-- | include/functions2.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions2.php b/include/functions2.php index a9bb49df8..551d55d73 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -402,7 +402,7 @@ if (DB_TYPE == "pgsql") { array_push($query_keywords, - "(tsvector_combined @@ '$search_query_leftover'::tsquery)"); + "(tsvector_combined @@ to_tsquery('english', '$search_query_leftover'))"); } } |