yggvault ratatoskr-space connected via regular web
Color theme
also available via yggdrasil mesh http://[203:b338:2a84:a18f:986:47ae:1a4:d8d3]/pkg/meilisearch/v1.12.0
vault / meilisearch / v1.12.0

meilisearch @ v1.12.0

integrity

size
15.4 MiB
downloaded
last checked
source https://github.com/meilisearch/meilisearch · available · github

release notes

Meilisearch v1.12 introduces significant indexing speed improvements, almost halving the time required to index large datasets. This release also introduces new settings to customize and potentially further increase indexing speed.

🧰 All official Meilisearch integrations (including SDKs, clients, and other tools) are compatible with this Meilisearch release. Integration deployment happens between 4 to 48 hours after a new version becomes available.

Some SDKs might not include all new features. Consult the project repository for detailed information. Is a feature you need missing from your chosen SDK? Create an issue letting us know you need it, or, for open-source karma points, open a PR implementing it (we'll love you for that ❤️).

New features and updates 🔥

Improve indexing speed

Indexing time is improved across the board!

The new indexer also makes task cancellation faster.

Done by @dureuill, @ManyTheFish, and @Kerollmops in #4900.

New index settings: use facetSearch and prefixSearch to improve indexing speed

v1.12 introduces two new index settings: facetSearch and prefixSearch.

Both settings allow you to skip parts of the indexing process. This leads to significant improvements to indexing speed, but may negatively impact search experience in some use cases.

Done by @ManyTheFish in #5091

facetSearch

Use this setting to toggle facet search:

curl \
  -X PUT 'http://localhost:7700/indexes/books/settings/facet-search' \
  -H 'Content-Type: application/json' \
  --data-binary 'true'

The default value for facetSearch is true. When set to false, this setting disables facet search for all filterable attributes in an index.

prefixSearch

Use this setting to configure the ability to search a word by prefix on an index:

curl \
  -X PUT 'http://localhost:7700/indexes/books/settings/prefix-search' \
  -H 'Content-Type: application/json' \
  --data-binary 'disabled'

prefixSearch accepts one of the following values:

Disabling prefix search means the query he will no longer match the word hello. This may significantly impact search result relevancy, but speeds up the indexing process.

New API route: /batches

The new /batches endpoint allow you to query information about task batches.

GET /batches returns a list of batch objects:

curl  -X GET 'http://localhost:7700/batches'

This endpoint accepts the same parameters as GET /tasks route, allowing you to narrow down which batches you want to see. Parameters used with GET /batches apply to the tasks, not the batches themselves. For example, GET /batches?uid=0 returns batches containing tasks with a taskUid of 0 , not batches with a batchUid of 0.

You may also query GET /batches/:uid to retrieve information about a single batch object:

curl  -X GET 'http://localhost:7700/batches/BATCH_UID'

/batches/:uid does not accept any parameters.

Batch objects contain the following fields:

{
  "uid": 160,
  "progress": {
    "steps": [
      {
        "currentStep": "processing tasks",
        "finished": 0,
        "total": 2
      },
      {
        "currentStep": "indexing",
        "finished": 2,
        "total": 3
      },
      {
        "currentStep": "extracting words",
        "finished": 3,
        "total": 13
      },
      {
        "currentStep": "document",
        "finished": 12300,
        "total": 19546
      }
    ],
    "percentage": 37.986263
  },
  "details": {
    "receivedDocuments": 19547,
    "indexedDocuments": null
  },
  "stats": {
    "totalNbTasks": 1,
    "status": {
      "processing": 1
    },
    "types": {
      "documentAdditionOrUpdate": 1
    },
    "indexUids": {
      "mieli": 1
    }
  },
  "duration": null,
  "startedAt": "2024-12-12T09:44:34.124726733Z",
  "finishedAt": null
}

Additionally, task objects now include a new field, batchUid. Use this field together with /batches/:uid to retrieve data on a specific batch.

{
  "uid": 154,
  "batchUid": 142,
  "indexUid": "movies_test2",
  "status": "succeeded",
  "type": "documentAdditionOrUpdate",
  "canceledBy": null,
  "details": {
    "receivedDocuments": 1,
    "indexedDocuments": 1
  },
  "error": null,
  "duration": "PT0.027766819S",
  "enqueuedAt": "2024-12-02T14:07:34.974430765Z",
  "startedAt": "2024-12-02T14:07:34.99021667Z",
  "finishedAt": "2024-12-02T14:07:35.017983489Z"
}

Done by @irevoire in #5060, #5070, #5080

Other improvements

Fixes 🐞

Misc

❤️ Thanks again to our external contributors:

download

unix · zip
curl -fL -o v1.12.0.zip https://ratatoskr.space/pkg/meilisearch/v1.12.0.zip
                    printf '%s  %s\n' '4a92f38b0c91e2b1acd3a71a3c820cac24787b5f6d176e279a74b666597147e4' 'v1.12.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/meilisearch/v1.12.0.zip"
$out = "v1.12.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "4a92f38b0c91e2b1acd3a71a3c820cac24787b5f6d176e279a74b666597147e4") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.12.0.tar.gz https://ratatoskr.space/pkg/meilisearch/v1.12.0.tar.gz
                    printf '%s  %s\n' '6ad495404112cb9c6a87c2ceb7d9d39ebf367f174d49a70aecf28b67e2e89925' 'v1.12.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/meilisearch/v1.12.0.tar.gz"
$out = "v1.12.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "6ad495404112cb9c6a87c2ceb7d9d39ebf367f174d49a70aecf28b67e2e89925") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.12.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/meilisearch/v1.12.0.zip
                    printf '%s  %s\n' '4a92f38b0c91e2b1acd3a71a3c820cac24787b5f6d176e279a74b666597147e4' 'v1.12.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/meilisearch/v1.12.0.zip"
$out = "v1.12.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "4a92f38b0c91e2b1acd3a71a3c820cac24787b5f6d176e279a74b666597147e4") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.12.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/meilisearch/v1.12.0.tar.gz
                    printf '%s  %s\n' '6ad495404112cb9c6a87c2ceb7d9d39ebf367f174d49a70aecf28b67e2e89925' 'v1.12.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/meilisearch/v1.12.0.tar.gz"
$out = "v1.12.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "6ad495404112cb9c6a87c2ceb7d9d39ebf367f174d49a70aecf28b67e2e89925") { throw "sha256 mismatch" }
artifact format size hashes
v1.12.0.zip zip 15.4 MiB
blake3-24 a907ef31e2eb49f76f5c0039a16c7dbec6bdf6741862f793
sha256 4a92f38b0c91e2b1acd3a71a3c820cac24787b5f6d176e279a74b666597147e4
sha1 f7d0cb193183a2d55b479c7609ec47222fa4406c
v1.12.0.tar.gz tar.gz 14.7 MiB
blake3-24 80e958ae9d8686ea7152444d1536db207146cc812dcf040a
sha256 6ad495404112cb9c6a87c2ceb7d9d39ebf367f174d49a70aecf28b67e2e89925
sha1 388f51fc1ad9a96d1b38db9a7c043e57070eadca

install

bazel
http_archive(
    name = "meilisearch",
    urls = ["https://ratatoskr.space/pkg/meilisearch/v1.12.0.tar.gz"],
    integrity = "sha256-atSVQEESy5xqh8LOt9nTnr82fxdNSacK7PKLZ+LomSU=",
    strip_prefix = "meilisearch-v1.12.0",
)
zig
.url = "https://ratatoskr.space/pkg/meilisearch/v1.12.0.tar.gz",
install via yggdrasil mesh
bazel
http_archive(
    name = "meilisearch",
    urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/meilisearch/v1.12.0.tar.gz"],
    integrity = "sha256-atSVQEESy5xqh8LOt9nTnr82fxdNSacK7PKLZ+LomSU=",
    strip_prefix = "meilisearch-v1.12.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/meilisearch/v1.12.0.tar.gz",
← v1.12.1v1.11.3 →