New Features
Vector Search (Experimental)
Meilisearch now supports vector search, allowing you to use it as a vector store. You can add vector embeddings generated by third-party tools (such as Hugging Face, Cohere, or OpenAI) and search using vector similarity. Enable vector search via the experimental features endpoint:_vectors field:
/search or /multi-search endpoints:
_semanticScore field (0 to 1) indicating relevance:
Ranking Score Visibility
Use theshowRankingScore search parameter to see how relevant each document is to your query:
_rankingScore field (0 to 1, higher is more relevant).
Ranking Score Details (Experimental)
Get detailed scoring breakdowns per ranking rule using the experimentalshowRankingScoreDetails parameter:
_rankingScoreDetails object showing scores for each ranking rule (words, typo, proximity, attribute, exactness).
Define Searchable Fields at Query Time
The newattributesToSearchOn search parameter restricts searches to specific attributes:
name and genre fields, this query returns only documents with “adventure” in the genre field.
Search Facet Values
The newPOST /indexes/{index}/facet-search endpoint searches within facet values (fields defined as filterableAttributes). It supports prefix search and typo tolerance:
Sort Facets by Count
Use thesortFacetValuesBy setting to order facet values by frequency. Sort all facets by count:
Task Queue Visibility
The/tasks route now includes a total property showing the total number of tasks in the queue. You can filter this count, for example /tasks?statuses=succeeded shows the total number of successfully processed tasks.
Improvements
Attribute Ranking Rule Refinement
Theattribute ranking rule now calculates relevance based on how close a matching word is to that word’s position in the query, rather than its absolute distance from the beginning of the attribute. This provides more intuitive ranking when search terms appear at different positions in document fields.
Language Support Enhancements
- Improved Japanese word segmentation
- Enhanced separator-based tokenization: words containing underscores (
_) are now properly segmented into separate words, and brackets{()}are no longer treated as context separators for the proximity ranking rule
Performance and Size Improvements
- Reduced index size by approximately 15% through internal database optimization
- Improved deserialization performance
- Re-enabled task autobatching for addition and deletion operations
- Fixed performance issue on
/statsendpoint
Metrics Improvements
The experimental Prometheus/metrics endpoint now provides:
- Task queue metrics including number of queued and processing tasks
- Real database size used by Meilisearch
- “meilisearch” prefix on all metrics
lastUpdateandisIndexingfields in/statsendpoint
Web Interface Update
Updated the local search preview web interface and mini-dashboard to version v0.2.11.Other
Case-Sensitive Search Fix
Fixed case-sensitive search issues with camelCase words. Searches fordellonghi now properly match documents containing DeLonghi.
Vector and Geo Fixes
- Fixed geo bounding box queries with string coordinates (requires re-indexing documents with
latandlngfields) - Fixed handling of null JSON values in the
_vectorsfield - Fixed panic when using multiple vectors with different dimensions
- Fixed panic when sorting geo fields represented as strings
Filter Improvements
Fixed filter escaping to properly handle the backslash character at the end of filter values.Other Notable Changes
- Fixed highlighting document issues by properly remapping char map when lowercasing strings
- Fixed panic in ranking rule bucket sort algorithm
- Added new
/experimental-featuresendpoint for managing experimental features likescoreDetailsandvectorStore - Fixed document deletion statistics when using filters