Skip to content

feat(container): update image docker.io/getmeili/meilisearch ( v1.39.0 → v1.40.0 )#2912

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/docker.io-getmeili-meilisearch-1.x
Open

feat(container): update image docker.io/getmeili/meilisearch ( v1.39.0 → v1.40.0 )#2912
renovate[bot] wants to merge 1 commit intomainfrom
renovate/docker.io-getmeili-meilisearch-1.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 23, 2026

This PR contains the following updates:

Package Update Change
docker.io/getmeili/meilisearch minor v1.39.0v1.40.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

meilisearch/meilisearch (docker.io/getmeili/meilisearch)

v1.40.0: 🦈

Compare Source

This release introduced support for the distinct attribute in federated search, enabling cross-index distinct attributes with facet distribution support. Additionally, significant performance improvements were delivered, including faster federated search (approximately 100ms faster), optimized JSON document generation for better handling of large documents and a much better memory usage for large workloads.

✨ Enhancement
  • Support distinct in federated search by @​dureuill in #​6214

    The distinct attribute can now be passed to the federation object in federated search to apply a global, cross-index and cross-remote distinct computation to the results.

    Example of a federated search request with distinct
    {
      "federation": {
        "distinct": "genres", // ✨ NEW
        "facetsByIndex": { // recovering facet distribution is also supported with distinct
          "comics": [
            "genres"
          ],
          "movies": [
            "genres"
          ]
        },
        "mergeFacets": {} // merging facet distributions is also supported with distinct
      },
      "queries": [
        {
          "indexUid": "comics",
          "q": "batman",
          "attributesToRetrieve": ["title", "genres"],
          "useNetwork": true // distinct is also supported with network queries
        },
        {
          "indexUid": "movies",
          "q": "superman",
          "attributesToRetrieve": ["title", "genres"],
          "useNetwork": true
        }
      ]
    }
    Sample response to a federated search request with distinct
    {
      "hits": [
        {
          "title": "Batman",
          "genres": [
            "Family",
            "Adventure",
            "Comedy",
            "Science Fiction",
            "Crime"
          ],
          "_federation": {
            "indexUid": "comics",
            "queriesPosition": 0,
            "weightedRankingScore": 1.0,
            "remote": "ms2"
          }
        },
        {
          "title": "Batman",
          "genres": [
            "Fantasy",
            "Action"
          ],
          "_federation": {
            "indexUid": "comics",
            "queriesPosition": 0,
            "weightedRankingScore": 1.0,
            "remote": "ms1"
          }
        },
        {
          "title": "Batman & Bill",
          "genres": [
            "Documentary"
          ],
          "_federation": {
            "indexUid": "comics",
            "queriesPosition": 0,
            "weightedRankingScore": 0.9848484848484848,
            "remote": "ms1"
          }
        },
        {
          "title": "Superman: Red Son",
          "genres": [],
          "_federation": {
            "indexUid": "movies",
            "queriesPosition": 1,
            "weightedRankingScore": 0.9848484848484849,
            "remote": "ms0"
          }
        },
        {
          "title": "Superman, Spider-Man or Batman",
          "genres": [
            "Drama"
          ],
          "_federation": {
            "indexUid": "movies",
            "queriesPosition": 1,
            "weightedRankingScore": 0.9848484848484849,
            "remote": "ms0"
          }
        }
      ],
      "processingTimeMs": 15,
      "limit": 5,
      "offset": 0,
      "estimatedTotalHits": 11,
      "facetDistribution": {
        "genres": {
          "Action": 1,
          "Adventure": 1,
          "Comedy": 3,
          "Crime": 2,
          "Documentary": 1,
          "Drama": 1,
          "Family": 1,
          "Fantasy": 1,
          "Horror": 2,
          "Romance": 1,
          "Science Fiction": 1,
          "Thriller": 1,
          "Western": 1
        }
      },
      "facetStats": {},
      "requestUid": "019d05c7-ea65-77a1-8274-22a8ba9e26db",
      "remoteErrors": {}
    }

    Note the following to apply the distinct attribute at the federation level:

    1. Applying distinct at the query level at the same time as the federation level is disallowed and will return a HTTP 400 error.
    2. The chosen distinct field will apply to all remotes and indexes, so it must be a filterable attribute for all participating remotes and indexes.
    3. While Meilisearch attempts to compute the most accurate facet distribution, in distributed contexts this cannot be guaranteed as the distinct algorithm is not applied on all of the remote documents.
  • Improve performance of federated search by @​dureuill in #​6229

    Improves performance of federated search: about 100ms faster for all requests. Improves reliability of the HTTP server: the server will no longer be blocked when too many federated search requests are being processed.

  • Optimize the generation of JSON documents by @​Kerollmops in #​6257

    Addresses performance issues that users might encounter when requesting large documents. Additionally, performance is enhanced when users request only a small subset of fields from large documents.

  • Use the latest version of mimalloc to improve memory usage by @​Kerollmops in #​6201

    Updates mimalloc from v2 to v3, improving memory sharing between threads and significantly reducing memory usage on large workloads. It also overrides the allocator to use mimalloc at linking time, allowing LMDB, Meilisearch, and other C libraries to share their allocations for better overall memory efficiency. @​Kerollmops wrote a blog post about the story behind this improvement.

  • Add POST /tasks/compact for task queue compaction by @​YoEight in #​6193

    Compacts the task queue database and reclaim space so new tasks can keep being enqueued, without deleting existing tasks. This feature is behind the taskQueueCompactionRoute experimental feature flag.

[!WARNING]
Once task queue compaction completes, all write operations are blocked until the server is restarted.

🔐 Security
  • Bump rustls-webpki from 0.103.8 to 0.103.10 in #​6273
  • Bump tar from 0.4.44 to 0.4.45 in #​6271
  • Bump actix-web-lab from 0.24.3 to 0.26.0 in #​6218
  • Bump quinn-proto from 0.11.13 to 0.11.14 in #​6217
🪲 Bug fixes
🔩 Miscellaneous

New Contributors


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

…0 → v1.40.0 )

| datasource | package                        | from    | to      |
| ---------- | ------------------------------ | ------- | ------- |
| docker     | docker.io/getmeili/meilisearch | v1.39.0 | v1.40.0 |
@mglants-bot
Copy link

mglants-bot bot commented Mar 23, 2026

--- kubernetes/subterra/apps/apps/karakeep/app Kustomization: flux-system/karakeep HelmRelease: apps/karakeep

+++ kubernetes/subterra/apps/apps/karakeep/app Kustomization: flux-system/karakeep HelmRelease: apps/karakeep

@@ -110,13 +110,13 @@

                   secretKeyRef:
                     key: meilisearch_master_key
                     name: karakeep-secret
               MEILI_NO_ANALYTICS: true
             image:
               repository: docker.io/getmeili/meilisearch
-              tag: v1.39.0
+              tag: v1.40.0
             resources:
               limits:
                 memory: 4Gi
               requests:
                 cpu: 10m
                 memory: 1Gi

@mglants-bot
Copy link

mglants-bot bot commented Mar 23, 2026

--- HelmRelease: apps/karakeep Deployment: apps/karakeep-meilisearch

+++ HelmRelease: apps/karakeep Deployment: apps/karakeep-meilisearch

@@ -59,13 +59,13 @@

           valueFrom:
             secretKeyRef:
               key: meilisearch_master_key
               name: karakeep-secret
         - name: MEILI_NO_ANALYTICS
           value: 'true'
-        image: docker.io/getmeili/meilisearch:v1.39.0
+        image: docker.io/getmeili/meilisearch:v1.40.0
         name: app
         resources:
           limits:
             memory: 4Gi
           requests:
             cpu: 10m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants