Skip to main content

🗓️ 23052024 1433
📎 #elasticsearch

es_expensive_queries

  • Generally execute slowly
  • Can affect cluster

Linear scans to identify matches

  • script
  • queries on certain fields of types that are not indexed but have doc values enabled
    • boolean
    • numberic
    • date
    • ip
    • geo_point
    • keyword

High upfront cost

  • fuzzy queries
  • regexp queries
  • prefix queries
  • wildcard queries
  • range queries on text / keyword fields

Joining queries

...


References