[
"rechnungsübersicht OR aufbau OR und OR funktionen OR patientify OR rechnungen OR rechnungsliste OR entwürfe OR bezahlstatus OR offener"
5181
"rechnungsübersicht OR aufbau OR und OR funktionen OR patientify OR rechnungen OR rechnungsliste OR entwürfe OR bezahlstatus OR offener"
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','rechnungsübersicht OR aufbau OR und OR funktionen OR patientify OR rechnungen OR rechnungsliste OR entwürfe OR bezahlstatus OR offener')) ASrank,g.nameASgroup_name,g.slugASgroup_slug,c.nameAScategory_name,c.slugAScategory_slug,CASEWHENc.id=5THEN1ELSE0ENDASsame_categoryFROMsettings_content_pagepJOINsettings_content_groupgONg.id=p.group_idJOINsettings_content_categorycONc.id=g.category_idWHEREc.client_id=1ANDp.id<>81AND ((
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','rechnungsübersicht OR aufbau OR und OR funktionen OR patientify OR rechnungen OR rechnungsliste OR entwürfe OR bezahlstatus OR offener')
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 (91,82,83,84,88)) AND (s0_.deleted_atISNULL);