GET https://hilfe.patientify.io/de/content/search?q=2027

Query Metrics

3 Database Queries
3 Different statements
63.86 ms Query time
0 Invalid entities
2 Managed entities

Grouped Statements

Show all queries

Time Count Info
60.87 ms
(95.32%)
1
SELECT
  p.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')
), plainto_tsquery('german', ?)) AS rank,

  ts_headline(
    'german',
    coalesce(regexp_replace(p.content, '<[^>]+>', ' ', 'g'), p.teaser, ''),
    plainto_tsquery('german', ?),
    'MaxWords=25, MinWords=10, ShortWord=3, HighlightAll=FALSE, MaxFragments=2, FragmentDelimiter=" … "'
  ) AS snippet,

  g.name AS group_name,
  g.slug AS group_slug,
  c.name AS category_name,
  c.slug AS category_slug

FROM settings_content_page p
JOIN settings_content_group g ON g.id = p.group_id
JOIN settings_content_category c ON c.id = g.category_id

WHERE
  c.client_id = ?
  AND p.deleted_at IS NULL
  AND g.deleted_at IS NULL
  AND c.deleted_at IS NULL

  AND ((
  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')
)) @@ plainto_tsquery('german', ?)

ORDER BY rank DESC, p.updated_at DESC
LIMIT ? OFFSET ?
Parameters:
[
  "2027"
  "2027"
  1
  "2027"
  20
  0
]
2.32 ms
(3.63%)
1
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.company AS company_4, t0.email AS email_5, t0.branch AS branch_6, t0.first_name AS first_name_7, t0.last_name AS last_name_8, t0.telephone AS telephone_9, t0.subdomain AS subdomain_10, t0.status AS status_11, t0.layout_id AS layout_id_12 FROM client t0 WHERE t0.subdomain = ? LIMIT 1
Parameters:
[
  "patientify"
]
0.67 ms
(1.05%)
1
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.logo AS logo_4, t0.logo_footer AS logo_footer_5, t0.favicon AS favicon_6, t0.link_imprint AS link_imprint_7, t0.link_agb AS link_agb_8, t0.seo_main_keywords AS seo_main_keywords_9, t0.seo_main_description AS seo_main_description_10, t0.header_background_color AS header_background_color_11, t0.primary_color AS primary_color_12, t0.dark_mode_default AS dark_mode_default_13, t0.hero_image AS hero_image_14 FROM client_layout t0 WHERE t0.id = ?
Parameters:
[
  1
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\Client\Client 1
App\Entity\Client\Layout 1

Entities Mapping

Class Mapping errors
App\Entity\Client\Client No errors.
App\Entity\Client\Layout No errors.
App\Entity\Settings\General No errors.
App\Entity\User No errors.
App\Entity\Content\Category No errors.
App\Entity\Content\Page No errors.