Skip to content

Elasticsearch query DSL support

Karl Hobley edited this page Aug 23, 2017 · 4 revisions

We aim to support as much of Elasticsearch's query DSL as possible. But due to limited resources, we will focus mainly on the most well used queries initially.

  • match_all
    • boost

Full text queries

  • match
    • boost
    • operator
    • zero_terms_query
    • cutoff_frequency
    • type
      • phrase
      • phrase_prefix
    • analyzer
    • max_expansions
  • match_query_phrase (Same as match_query with type set to phrase)
  • match_query_phrase_prefix (Same as match_query with type set to phrase_prefix)
  • multi_match
  • common (common terms)
  • query_string
  • simple_query_string

Term level queries

  • term
    • boost
  • terms
    • Terms lookup mechanism
  • range
    • gt
    • gte
    • lte
    • lt
    • boost
  • exists
  • missing
  • prefix
  • wildcard
  • regexp
  • fuzzy
  • type
  • ids

Compound queries

  • constant_score
  • bool
  • dis_max
  • function_score
  • boosting
  • indices
  • and
  • or
  • not
  • filtered
  • limit

Joining queries

  • nested
  • has_parent
  • has_child

Geo queries

  • geo_shape
  • geo_bounding_box
  • geo_distance
  • geo_distance_range
  • geo_polygon
  • geohash_cell

Specialised queries

  • more_like_this
  • template
  • script

Span queries

  • span_term
  • span_multi
  • span_first
  • span_near
  • span_or
  • span_not
  • span_containing
  • span_within
  • field_masking_span