Breaking changes
-
The index setting
attributesForFaceting
has been renamed tofilterableAttributes
-
The
filters
andfacetsFilter
search parameters are replaced byfilter
To use thefilter
search parameter, you must add the attribute you want to filter on to thefilterableAttributes
index setting.
Only use the=
syntax (e.g.genres = comedy
). Filter expressions using the:
syntax (e.g.genres: comedy
) are deprecated. Filter expressions can be combined as strings or nested arrays:- string:
"filter": "genre = comedy AND price > 13"
- array:
"filter": ["genre = comedy", "price > 13 "]
- string:
-
When using the
filter
search parameter on an array, the operator!=
will only return results that do not contain the value -
The new default ranking rules are:
[
"words",
"typo",
"proximity",
"attribute",
"exactness"
]
fieldsDistribution
has been renamed tofieldDistribution
- Rename
MAX_MDB_SIZE
environment variable and--max-mdb-size
option flag toMAX_INDEX_SIZE
and--max-index-size
- In the route
/version
,buildDate
is now namedcommitDate
and format has changed. MeiliSearch is now reproducible
Improvements
- New Web UI
- Facets with numbers
- Criterion
words
is available - Search performance improvements
attributesToHighlight
now highlights matches inside arrays and objects- Phrase search (
"
around words in a search query) - Reduced RAM usage during indexation
- Removed the limit of 200 indexes per database
- Support typo on the first letter
- Facet distribution also works on arrays
- Enhanced logging capabilities with
MEILI_LOG_LEVEL
environment variable and--log-level
option. Debug level now outputs query and search results - Analytics (Amplitude and Sentry) are now unified and can be disabled at once with
MEILI_NO_ANALYTICS
and--no-analytics
flag - Improved
exactness
ranking rule - A new update status,
processing
, has been added - Add fields
startedAt
andfinishedAt
information on the route/dumps/{dump_id}/status
. - Cropping is now consistent
- Users can specify the payload limit size unit (e.g. Kb, Mb, Gb)
- Improve
/stats
route speed - Improve compilation time with a caching strategy
- Renamed branch
master
intomain
. - Improved README
Fixes
- Fix dumps bug that would exclude attributes not present in
displayedAttributes
from the dump file - Fix error on snapshots when the user enters a wrong path
- Fix number of calculated hits when a distinct field is set
- Fix CORS error when authentication is missing
- Windows instances only take as much space as necessary now