Skip to main content

New Features

Significant indexing speed improvements

Meilisearch v1.12 introduces major performance improvements for indexing:
  • More than twice as fast for raw document insertion tasks
  • More than 4x faster for incrementally updating documents in large databases
  • Embeddings generation improved up to 1.5x for some workloads
  • Performance is maintained or improved on smaller machines
  • Task cancellation is also faster

New index settings: facetSearch and prefixSearch

Two new index settings allow you to skip parts of the indexing process for additional speed improvements, though this may impact search experience in some use cases. facetSearch toggles facet search for all filterable attributes. Default is true:
prefixSearch configures prefix search capability. Accepts:
  • "indexingTime": enables prefix processing during indexing (default)
  • "disabled": deactivates prefix search completely
When prefixSearch is disabled, queries like he will no longer match hello, but indexing is significantly faster.

New API route: /batches

Query information about task batches with the new /batches endpoint. GET /batches returns a list of batch objects with the same query parameters as GET /tasks:
GET /batches/:uid retrieves information about a single batch:
Batch objects include progress tracking, statistics, and task information:
Task objects now include a batchUid field to link tasks to their batch:

Improvements

Phrase search with showMatchesPosition

Phrase searches with showMatchesPosition set to true now return a single location for the whole phrase instead of individual term locations.

Array field match positions

When a query finds matching terms in document fields with array values, Meilisearch now includes an indices field in _matchesPosition specifying which array elements contain the matches.

New query parameter for /tasks

The GET /tasks endpoint now accepts a reverse parameter. When set to true, tasks are returned in reversed order from oldest to newest.

New Prometheus metrics

Additional Prometheus metrics have been added for better monitoring and observability.

Better error messages

Error messages now include the index name for improved clarity when debugging issues.

Other

Breaking change: vectorStore field distribution

The vectorStore field in field distribution no longer contains _vectors. The previous value was incorrect, and there is no current use case for the fixed value. Find more information on GitHub