SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error in tsquery: "жил:жилий:" driver: pgsql host: localhost port: 5432 username: postgres database: trend charset: utf8 collation: utf8_unicode_ci SQL: select (fb_like_count + fb_share_count + tw_tweet_count) as score, news.id, name, url, title, news.site_id, news_picture, news_created_date, category_id, news_abstract, content_size, category_name, COUNT(*) OVER() as cnt, ts_headline(content, to_tsquery('жил:жилий:'), 'ShortWord=300') as highlighted_content from "news_tags" inner join "news" on "news"."id" = "news_tags"."news_id" inner join "news_stats" on "news_stats"."news_id" = "news"."id" inner join "categories" on "categories"."id" = "news"."category_id" inner join "sites" on "sites"."id" = "news"."site_id" where "tag_id" = 277 and "news_created_date" >= 2018-07-16 15:17 and "is_copy" = 0 order by score desc limit 10 offset 0