[
"verantwortlichkeiten OR sinnvoll OR nutzen OR best OR practices OR wie OR zuständigkeiten OR festlegst OR und OR aufgabenübergaben"
61122
"verantwortlichkeiten OR sinnvoll OR nutzen OR best OR practices OR wie OR zuständigkeiten OR festlegst OR und OR aufgabenübergaben"
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','verantwortlichkeiten OR sinnvoll OR nutzen OR best OR practices OR wie OR zuständigkeiten OR festlegst OR und OR aufgabenübergaben')) ASrank,g.nameASgroup_name,g.slugASgroup_slug,c.nameAScategory_name,c.slugAScategory_slug,CASEWHENc.id=6THEN1ELSE0ENDASsame_categoryFROMsettings_content_pagepJOINsettings_content_groupgONg.id=p.group_idJOINsettings_content_categorycONc.id=g.category_idWHEREc.client_id=1ANDp.id<>122AND ((
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','verantwortlichkeiten OR sinnvoll OR nutzen OR best OR practices OR wie OR zuständigkeiten OR festlegst OR und OR aufgabenübergaben')
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 (126,110,104,108,106)) AND (s0_.deleted_atISNULL);