]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions2.php
implement per-feed stemming language setting
[tt-rss.git] / include / functions2.php
index a9bb49df83cda9fef8782bf900a60f4989a79dcc..551d55d730838aee30c6c67df7111ef384957587 100644 (file)
 
                        if (DB_TYPE == "pgsql") {
                                array_push($query_keywords,
-                                       "(tsvector_combined @@ '$search_query_leftover'::tsquery)");
+                                       "(tsvector_combined @@ to_tsquery('english', '$search_query_leftover'))");
                        }
 
                }