documentation icon indicating copy to clipboard operation
documentation copied to clipboard

v1.11: Experimental: New `STARTS_WITH` filter operator

Open guimachiavelli opened this issue 5 months ago • 0 comments

v1.11 adds a new filter operator, STARTS_WITH.

STARTS_WITH matches any field values that start with the specified. Matches do not need to be perfect: dog.name STARTS_WITH kef will match dog.name = kefir.

This is an experimental feature. To activate it, users must set the containsFilter option to true, which might be a bit counterintuitive.

Tasks

  • [ ] Update learn/filtering_and_sorting/filter_expression_reference

Reference

  • Engine issue: https://github.com/meilisearch/meilisearch/issues/4872
  • PRD: https://meilisearch.notion.site/Introduce-the-new-STARTS-WITH-filter-operator-329c5d6924434df1b734c6fc4c9f415d
  • SME: @Kerollmops

guimachiavelli avatar Sep 24 '24 15:09 guimachiavelli