summaryrefslogtreecommitdiff
path: root/include/functions2.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-08-04 13:32:52 +0300
committerAndrew Dolgov <[email protected]>2015-08-04 13:32:52 +0300
commitdf659891ac0597c3f58b7714ddd4103ccad66b07 (patch)
tree919853d7f521e127df753be0615e2fa7c610acb5 /include/functions2.php
parente854442e1f402349419be2205ddc47173ab9a3df (diff)
implement per-feed stemming language setting
Diffstat (limited to 'include/functions2.php')
-rw-r--r--include/functions2.php2
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'))");
}
}