Commit fc1d643
feat(container): update image getmeili/meilisearch (v1.50.0 ➔ v1.51.0) (#446)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [getmeili/meilisearch](https://github.com/meilisearch/meilisearch) | minor | `v1.50.0` → `v1.51.0` |
---
<details>
<summary>meilisearch/meilisearch (getmeili/meilisearch)</summary>
[Compare Source](meilisearch/meilisearch@v1.50.0...v1.51.0)
- **Add filter condition to DSRs** by [@​dureuill](https://github.com/dureuill) in [#​6505](meilisearch/meilisearch#6505)
````
Dynamic search rules (DSR) can now declare a new `filter` condition: it contains a single `values` key, whose value is a JSON object.
The keys of this `values` JSON 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.
<details>
<summary>Example of sending a DSR with a filter condition</summary>
```jsonc
// 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 }
}
]
}
```
</details>
<details>
<summary>Example of search query that enables the DSR above</summary>
```jsonc
{
"filter": "(category = shirt AND color = red) OR (category = jeans AND color = blue)"
}
```
</details>
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.
````
```
Dynamic search rules returned by `GET /dynamic-search-rules/{:ruleUid}` and `POST /dynamic-search-rules` contain an additional `lastUpdatedAt` field.
This field is automatically updated with the `enqueuedAt` value of the last task that modified the rule.
```
```
`POST /dynamic-search-rules` now lists rules in descending `lastUpdatedAt` order, meaning that the most recently updated rules will be listed first.
```
```
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 shape
- `MEILI_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 shape
- `MEILI_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](https://github.com/Kerollmops) in [#​6528](meilisearch/meilisearch#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](https://github.com/curquiza) in [#​6486](meilisearch/meilisearch#6486)
1 parent e53b120 commit fc1d643
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
| 117 | + | |
121 | 118 | | |
122 | 119 | | |
| 120 | + | |
123 | 121 | | |
124 | 122 | | |
125 | 123 | | |
| |||
0 commit comments