[
"funktioniert OR die OR rechnungsübersicht OR sre OR stre OR zeigt OR alle OR deine OR belege OR inklusive"
392410
"funktioniert OR die OR rechnungsübersicht OR sre OR stre OR zeigt OR alle OR deine OR belege OR inklusive"
5]
SELECTp.id,ts_rank((
setweight(to_tsvector('german',coalesce(p.name,'')),'A') ||setweight(to_tsvector('german',coalesce(p.teaser,'')),'B') ||setweight(to_tsvector('german',coalesce(p.seo_keywords,'')),'B') ||setweight(to_tsvector('german',coalesce(regexp_replace(p.content,'<[^>]+>',' ','g'),'')),'C')
),websearch_to_tsquery('german','funktioniert OR die OR rechnungsübersicht OR sre OR stre OR zeigt OR alle OR deine OR belege OR inklusive')) ASrank,g.nameASgroup_name,g.slugASgroup_slug,c.nameAScategory_name,c.slugAScategory_slug,CASEWHENc.id=39THEN1ELSE0ENDASsame_categoryFROMsettings_content_pagepJOINsettings_content_groupgONg.id=p.group_idJOINsettings_content_categorycONc.id=g.category_idWHEREc.client_id=2ANDp.id<>410AND ((
setweight(to_tsvector('german',coalesce(p.name,'')),'A') ||setweight(to_tsvector('german',coalesce(p.teaser,'')),'B') ||setweight(to_tsvector('german',coalesce(p.seo_keywords,'')),'B') ||setweight(to_tsvector('german',coalesce(regexp_replace(p.content,'<[^>]+>',' ','g'),'')),'C')
)) @@websearch_to_tsquery('german','funktioniert OR die OR rechnungsübersicht OR sre OR stre OR zeigt OR alle OR deine OR belege OR inklusive')
ORDER BYsame_categoryDESC,rankDESC,p.updated_atDESCLIMIT5;
SELECTs0_.idASid_0,s0_.created_atAScreated_at_1,s0_.updated_atASupdated_at_2,s0_.nameASname_3,s0_.slugASslug_4,s0_.teaserASteaser_5,s0_.iconASicon_6,s0_.contentAScontent_7,s0_.priorityASpriority_8,s0_.visibleASvisible_9,s0_.seo_keywordsASseo_keywords_10,s0_.seo_meta_descriptionASseo_meta_description_11,s0_.page_view_counterASpage_view_counter_12,s0_.deleted_atASdeleted_at_13,s0_.group_idASgroup_id_14FROMsettings_content_pages0_WHERE (s0_.idIN (?,?,?,?,?)) AND (s0_.deleted_atISNULL)
SELECTs0_.idASid_0,s0_.created_atAScreated_at_1,s0_.updated_atASupdated_at_2,s0_.nameASname_3,s0_.slugASslug_4,s0_.teaserASteaser_5,s0_.iconASicon_6,s0_.contentAScontent_7,s0_.priorityASpriority_8,s0_.visibleASvisible_9,s0_.seo_keywordsASseo_keywords_10,s0_.seo_meta_descriptionASseo_meta_description_11,s0_.page_view_counterASpage_view_counter_12,s0_.deleted_atASdeleted_at_13,s0_.group_idASgroup_id_14FROMsettings_content_pages0_WHERE
(
s0_.idIN (?,?,?,?,?)
)
AND (s0_.deleted_atISNULL)
SELECTs0_.idASid_0,s0_.created_atAScreated_at_1,s0_.updated_atASupdated_at_2,s0_.nameASname_3,s0_.slugASslug_4,s0_.teaserASteaser_5,s0_.iconASicon_6,s0_.contentAScontent_7,s0_.priorityASpriority_8,s0_.visibleASvisible_9,s0_.seo_keywordsASseo_keywords_10,s0_.seo_meta_descriptionASseo_meta_description_11,s0_.page_view_counterASpage_view_counter_12,s0_.deleted_atASdeleted_at_13,s0_.group_idASgroup_id_14FROMsettings_content_pages0_WHERE (s0_.idIN (415,431,426,317,333)) AND (s0_.deleted_atISNULL);