meilisearch @ v1.51.0
integrity
- size
- 20.3 MiB
- downloaded
- last checked
release notes
✨ Enhancement
-
Add filter condition to DSRs by @dureuill in https://github.com/meilisearch/meilisearch/pull/6505
New
filterrule activation conditionDynamic search rules (DSR) can now declare a new
filtercondition: it contains a singlevalueskey, whose value is a JSON object. The keys of thisvaluesJSON object are the facet names (e.g.,color,genres, ...), while their values are the values that a filter must resolve to for these facets, so that the rule is active.// PATCH /dynamic-search-rules/test-filter { "conditions": { "filter": { "values": { "color": "red", "category": "shirt" } } }, "actions": [ { "selector": { "id": "red shirt on sales" }, "action": { "type": "pin", "position": 0 } } ] }{ "filter": "(category = shirt AND color = red) OR (category = jeans AND color = blue)" }Note that the filter only needs to have one branch resolving to all the facet values declared in the rule for the rule to be active.
New
lastUpdatedAtfieldDynamic search rules returned by
GET /dynamic-search-rules/{:ruleUid}andPOST /dynamic-search-rulescontain an additionallastUpdatedAtfield.This field is automatically updated with the
enqueuedAtvalue of the last task that modified the rule.Rules are listed with the most recently updated first
POST /dynamic-search-rulesnow lists rules in descendinglastUpdatedAtorder, meaning that the most recently updated rules will be listed first.New environment variables
New environment variables are defined to control the behavior of the DSR fuel:
MEILI_EXPERIMENTAL_DSR_FUEL_FILTER_FUEL(in range 0..4294967296): controls how many filter constraint combinations Meilisearch will attempt to resolve at search time before giving up and applying partial rules.MEILI_EXPERIMENTAL_DSR_FUEL_FILTER_OR_FUEL(in range 0..65536): controls how many filter disjunctions Meilisearch will build when turning a filter to its canonical shapeMEILI_EXPERIMENTAL_DSR_FUEL_FILTER_AND_FUEL(in range 0..65536): controls how many filter conjunctions Meilisearch will build in total when turning a filter to its canonical shapeMEILI_EXPERIMENTAL_DSR_FUEL_FILTER_DEPTH_FUEL(in range 0..256): controls the maximum recursive depth that Meilisearch allows when turning a filter to its canonical shape
-
Speed up search requests by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6528 Improves Meilisearch search speed by avoiding unnecessary internal work. We drastically reduced the number of times we retrieve data from disk to a single time across the whole search pipeline. This improvement will have the greatest effect on datasets with a large number of distinct fields across documents. We have seen search speeds up to 5.4x on a dataset with more than 14k different fields.
-
Stabilize dumpless upgrade by @curquiza in https://github.com/meilisearch/meilisearch/pull/6486
⚠️ Breaking change following the stabilization of an experimental feature ⚠️
The flag
—-experimental-dumpless-upgradeis renamed—-upgrade-db, keeping the exact same behavior. -
Remove unused experimental features by @curquiza in https://github.com/meilisearch/meilisearch/pull/6489
⚠️ Breaking change: removing the following experimental features ⚠️
- Replication parameters: removing
--experimental-replication-parametersbecause outdated. We now have another way to handle replication. - Import dumps with old document indexer fallback: removing
--experimental-no-edition-2024-for-dumps. This flag existed to prevent bugs related to our new indexer, which is now stable. - No snapshot compression: removing
--experimental-no-snapshot-compactionbecause it's not useful anymore.
- Replication parameters: removing
🪲 Bug fixes
- Make sure legacy attribute patterns work by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6531
- Missing support for the shorthand filterable attributes syntax
🔩 Miscellaneous
- Add missing logs in multisearch by @ManyTheFish in https://github.com/meilisearch/meilisearch/pull/6529
- Docs: Fix stale pre-v1.0 supported versions statement by @vishnujayvel in https://github.com/meilisearch/meilisearch/pull/6524
- Bump sigstore/cosign-installer from 4.1.1 to 4.1.2 by @dependabot[bot] in https://github.com/meilisearch/meilisearch/pull/6427
- Bump actions/github-script from 7 to 9 by @dependabot[bot] in https://github.com/meilisearch/meilisearch/pull/6425
- Bump actions/upload-artifact from 4 to 7 by @dependabot[bot] in https://github.com/meilisearch/meilisearch/pull/6428
New Contributors
- @vishnujayvel made their first contribution in https://github.com/meilisearch/meilisearch/pull/6524
download
curl -fL -o v1.51.0.zip https://ratatoskr.space/pkg/meilisearch/v1.51.0.zip
printf '%s %s\n' 'a59ca1a72367388d8868e381410bad2b9c9ac4241072456c884907ec947a6211' 'v1.51.0.zip' | sha256sum -c -
$url = "https://ratatoskr.space/pkg/meilisearch/v1.51.0.zip"
$out = "v1.51.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "a59ca1a72367388d8868e381410bad2b9c9ac4241072456c884907ec947a6211") { throw "sha256 mismatch" }
curl -fL -o v1.51.0.tar.gz https://ratatoskr.space/pkg/meilisearch/v1.51.0.tar.gz
printf '%s %s\n' 'af8c70c0b82b2defb35b7cb5cc332a63100d5d4f27ac5d6cae4f60dba4d77945' 'v1.51.0.tar.gz' | sha256sum -c -
$url = "https://ratatoskr.space/pkg/meilisearch/v1.51.0.tar.gz"
$out = "v1.51.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "af8c70c0b82b2defb35b7cb5cc332a63100d5d4f27ac5d6cae4f60dba4d77945") { throw "sha256 mismatch" }
download via yggdrasil mesh
curl -fL -o v1.51.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/meilisearch/v1.51.0.zip
printf '%s %s\n' 'a59ca1a72367388d8868e381410bad2b9c9ac4241072456c884907ec947a6211' 'v1.51.0.zip' | sha256sum -c -
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/meilisearch/v1.51.0.zip"
$out = "v1.51.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "a59ca1a72367388d8868e381410bad2b9c9ac4241072456c884907ec947a6211") { throw "sha256 mismatch" }
curl -fL -o v1.51.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/meilisearch/v1.51.0.tar.gz
printf '%s %s\n' 'af8c70c0b82b2defb35b7cb5cc332a63100d5d4f27ac5d6cae4f60dba4d77945' 'v1.51.0.tar.gz' | sha256sum -c -
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/meilisearch/v1.51.0.tar.gz"
$out = "v1.51.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "af8c70c0b82b2defb35b7cb5cc332a63100d5d4f27ac5d6cae4f60dba4d77945") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.51.0.zip | zip | 20.3 MiB |
blake3-24 21333c4babd6a1a60e3162d58e5ec270b8c1c6481e76ef68
sha256 a59ca1a72367388d8868e381410bad2b9c9ac4241072456c884907ec947a6211
sha1 e783e4a5ded3f1ae9445ce5b0cf090c9dd925129
|
| v1.51.0.tar.gz | tar.gz | 19.4 MiB |
blake3-24 c7bb76b2d856b86ca74f3d3672ce4af1dc6a1fda30af8161
sha256 af8c70c0b82b2defb35b7cb5cc332a63100d5d4f27ac5d6cae4f60dba4d77945
sha1 bba5835fa6716e30b54e7aecfa06c56b378fda7a
|
install
http_archive(
name = "meilisearch",
urls = ["https://ratatoskr.space/pkg/meilisearch/v1.51.0.tar.gz"],
integrity = "sha256-r4xwwLgrLe+zW3y1zDMqYxANXU8nrF1srk9g26TXeUU=",
strip_prefix = "meilisearch-v1.51.0",
)
.url = "https://ratatoskr.space/pkg/meilisearch/v1.51.0.tar.gz",
install via yggdrasil mesh
http_archive(
name = "meilisearch",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/meilisearch/v1.51.0.tar.gz"],
integrity = "sha256-r4xwwLgrLe+zW3y1zDMqYxANXU8nrF1srk9g26TXeUU=",
strip_prefix = "meilisearch-v1.51.0",
)
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/meilisearch/v1.51.0.tar.gz",