Clément Renault
2b6b4284bb
Merge pull request #6000 from meilisearch/change-network-topology-2
...
Allow changing network topology
2025-12-15 11:09:56 +00:00
Louis Dureuil
018cad1781
add batch reason
2025-12-15 11:06:25 +01:00
Louis Dureuil
65944df325
Address issue where old tasks where handled with new network
2025-12-11 17:47:51 +01:00
Louis Dureuil
ed3cb36dca
Update migration test to check that the migrated network version is nil UUID
2025-12-11 15:51:55 +01:00
Louis Dureuil
316998ce97
upgrade the network to a nil version to make sure that all upgradees have the same version
2025-12-11 15:46:09 +01:00
Louis Dureuil
2ad094e95d
Include remote name in export logs
2025-12-11 14:21:36 +01:00
Louis Dureuil
f1c0ebab5b
add declarative tests for network
2025-12-11 14:06:08 +01:00
Louis Dureuil
59fe64adec
Fix dump tests following breaking change
2025-12-11 09:34:21 +01:00
Louis Dureuil
7d22a6eb3a
cargo formattoclippy
2025-12-11 09:10:17 +01:00
Louis Dureuil
9cf91f3ffe
drop local and leader while importing dumps
2025-12-10 18:14:01 +01:00
Louis Dureuil
666b16e1d1
Add dumpless upgrade network
2025-12-10 18:02:37 +01:00
Louis Dureuil
5b467ed4ce
Update version in Cargo.toml
2025-12-10 18:02:18 +01:00
Louis Dureuil
6e98fe5f2d
cargo fmt
2025-12-10 17:24:21 +01:00
Louis Dureuil
1fcd330751
Duplicate index-swaps tasks
2025-12-10 17:23:55 +01:00
Louis Dureuil
d5583ba1e9
Ensure that the leader is present in the remotes
2025-12-10 17:23:43 +01:00
Louis Dureuil
50532ccccc
add new nodes in the list of node to export from
2025-12-10 17:23:18 +01:00
Louis Dureuil
dacb711ea7
Fix headers
2025-12-10 17:22:54 +01:00
Louis Dureuil
a90d467163
Ignore prioritary tasks when batching unprioritary tasks in network task
2025-12-10 17:22:13 +01:00
Louis Dureuil
c1dcb618f1
Support both legacy and normative headers
2025-12-10 15:48:55 +01:00
Louis Dureuil
c71add854d
cargo-formattoclippy
2025-12-09 18:59:15 +01:00
Louis Dureuil
e484bfc514
skip settings validation when we have an origin
2025-12-09 18:32:18 +01:00
Clément Renault
26e368b116
Merge pull request #6041 from meilisearch/fix-workflow-injection
...
Remove risk of command injection
2025-12-09 17:04:58 +00:00
Louis Dureuil
ccc54b1d23
Use b64 encoded roaring bitmaps for task keys
2025-12-09 18:01:37 +01:00
Louis Dureuil
bf33ca0c38
Add env variables for proxy
2025-12-09 17:06:54 +01:00
curquiza
ba95ac0915
Remove risk of command injection
2025-12-09 17:06:41 +01:00
Louis Dureuil
532684981d
export of documents use a limit that is by default close to the http_payload_size_limit
2025-12-09 16:32:12 +01:00
Louis Dureuil
ce2dd8e2f9
breaking: headers prefixed by X-
2025-12-09 16:00:15 +01:00
Louis Dureuil
d90febdc82
happy rustc
2025-12-09 15:51:30 +01:00
Louis Dureuil
f0e73333af
Respond to various PR comments
2025-12-09 15:24:23 +01:00
Louis Dureuil
a682f79487
clippy happy
2025-12-09 15:24:23 +01:00
Louis Dureuil
9214a9b641
Refactor the skip_if lambdas
2025-12-09 15:24:23 +01:00
Louis Dureuil
51d57c1076
factor out to function
2025-12-09 15:24:23 +01:00
Louis Dureuil
3954af9fe8
Compute total moved docs with a variable rather than a vec
2025-12-09 15:24:23 +01:00
Louis Dureuil
d8880a93b7
move output of balance documents to a var
2025-12-09 15:24:22 +01:00
Louis Dureuil
27bd557396
Use turbofish
2025-12-09 15:24:22 +01:00
Louis Dureuil
c322b307bc
Replace match with if let Err
2025-12-09 15:24:22 +01:00
Louis Dureuil
7aad304224
use expect
2025-12-09 15:24:22 +01:00
Louis Dureuil
61a7f68113
Adjust comment
2025-12-09 15:24:22 +01:00
Louis Dureuil
8d3af3dea2
Add missing default
2025-12-09 15:24:22 +01:00
Louis Dureuil
b82530e4d5
Remove unwarranted BUSL header
2025-12-09 15:24:22 +01:00
Louis Dureuil
eaa249ca94
Use same version of hashbrown in index-scheduler as in milli
2025-12-09 15:24:21 +01:00
Louis Dureuil
a3def29f11
Tests
2025-12-09 15:24:21 +01:00
Louis Dureuil
dd5db5257d
Duplicate settings tasks
2025-12-09 15:24:21 +01:00
Louis Dureuil
4e5a3fee5d
Duplicate index creation, update, delete tasks
2025-12-09 15:24:21 +01:00
Louis Dureuil
22027c782a
Apply new sharding interface to document route
2025-12-09 15:24:21 +01:00
Louis Dureuil
44e7377240
Move network to module and add separate editions
2025-12-09 15:24:21 +01:00
Louis Dureuil
71f359b10b
Move and add to proxy
2025-12-09 15:24:20 +01:00
Louis Dureuil
771d1e8282
process export changes
...
- extract reusable export function
- support extra balance headers
2025-12-09 15:24:20 +01:00
Louis Dureuil
87b2f8f7c2
misc NetworkTopologyChange support
2025-12-09 15:24:20 +01:00
Louis Dureuil
aed03f1473
Process network topology change batches
2025-12-09 15:24:20 +01:00
Louis Dureuil
7ff517bf3a
Update tick
2025-12-09 15:24:20 +01:00
Louis Dureuil
961a960fff
Create batch
2025-12-09 15:24:20 +01:00
Louis Dureuil
093b358864
Network topology change batch types
2025-12-09 15:24:20 +01:00
Louis Dureuil
71ea943386
Fix update task to support updating multiple times the same task
2025-12-09 15:24:19 +01:00
Louis Dureuil
a878875aca
Propagate task network in task queue
2025-12-09 15:24:19 +01:00
Louis Dureuil
6aa93e3e93
Stop processing no longer destroys the progress
2025-12-09 15:24:19 +01:00
Louis Dureuil
2be35e9c5c
Handle receiving import tasks in the scheduler
2025-12-09 15:24:19 +01:00
Louis Dureuil
bea64ecc5c
Set task network returns the updated task
2025-12-09 15:24:19 +01:00
Louis Dureuil
fb96e8496e
Support network topology change tasks in dumps
2025-12-09 15:24:19 +01:00
Louis Dureuil
0dd9d173c6
Add network topology change task
2025-12-09 15:24:18 +01:00
Louis Dureuil
ff9439b5ac
Move tasks.rs to tasks/mod.rs
2025-12-09 15:24:18 +01:00
Louis Dureuil
355950939a
Add leader and version to Network object
2025-12-09 15:24:18 +01:00
Louis Dureuil
7c502794d5
New errors
2025-12-09 15:24:18 +01:00
Louis Dureuil
60669dfa35
Make error name public
2025-12-09 15:24:18 +01:00
Louis Dureuil
d6cd954e4b
Update shard definition
2025-12-09 15:24:18 +01:00
Louis Dureuil
7429faf046
Add method to return the number of indexes to IndexMapper
2025-12-09 15:24:18 +01:00
Louis Dureuil
edbe32e53e
AllTasks public and deserializable
2025-12-09 15:24:17 +01:00
Louis Dureuil
74fe44e18e
Make task view fields public
2025-12-09 15:24:17 +01:00
Louis Dureuil
ccbcacec22
Create RoFeatures from RuntimeFeatures
2025-12-09 15:24:17 +01:00
Louis Dureuil
43a11d2f66
Update dependencies
2025-12-09 15:24:17 +01:00
Clément Renault
75fcbfc2fe
Merge pull request #6039 from meilisearch/bump-rust-to-1-19-1
...
Move to Rust v1.91.1
2025-12-09 13:55:08 +00:00
Kerollmops
8c19b6d55e
Make the new Clippy happy
2025-12-09 14:33:04 +01:00
Kerollmops
08d0f05ece
Remove a warning
2025-12-09 13:58:37 +01:00
Kerollmops
4762e9afa0
Move to Rust v1.91.1
2025-12-09 13:52:46 +01:00
Clément Renault
12fcab91c5
Merge pull request #6037 from meilisearch/fix-intel-mac
...
Fix macos-amd64 compilation
2025-12-08 13:21:51 +00:00
Louis Dureuil
792a72a23f
Add missing cfg
2025-12-08 13:22:01 +01:00
Louis Dureuil
2dd7f29edf
Merge pull request #6034 from meilisearch/update-version-v1.29.0
...
Update version for the next release (v1.29.0) in Cargo.toml
2025-12-08 08:01:41 +00:00
dureuill
ff680d29a8
Update version for the next release (v1.29.0) in Cargo.toml
2025-12-04 16:24:56 +00:00
Clément Renault
00420dfca0
Merge pull request #6018 from qdequele/add-support-xlmrobertamodels
...
Add support for XLM Roberta models
2025-12-04 15:46:53 +00:00
Quentin de Quelen
a3a86ac629
chore: cargo fmt
2025-12-04 16:27:19 +01:00
Quentin de Quelen
f6210b8e5e
add tests for the support of the models XLMRoberta
2025-12-04 16:27:19 +01:00
Quentin de Quelen
fe46af7ded
add support of models XLMRoberta
2025-12-04 16:27:19 +01:00
Clément Renault
57b94b411f
Merge pull request #6030 from meilisearch/require-git
...
Require git
2025-12-04 14:29:33 +00:00
Clément Renault
a7b6f65851
Merge pull request #6022 from meilisearch/xtask-generate-proto-name
...
Introduce xtask sub-command to generate prototypes
2025-12-04 13:53:20 +00:00
Louis Dureuil
1ec6646d8c
Merge pull request #6029 from meilisearch/dumpless-upgrade-migrations
...
Switch to migration-oriented dumpless upgrade
2025-12-04 13:35:26 +00:00
Kerollmops
2dccacf273
Hide git fetch output
2025-12-04 14:35:03 +01:00
Kerollmops
ce0f04e9ee
Improve the prototype guide
2025-12-04 14:35:03 +01:00
Kerollmops
9ba5c6d371
Update the prototype format
2025-12-04 14:35:03 +01:00
Kerollmops
56673fee56
Introduce the first working version of the tool
2025-12-04 14:35:03 +01:00
Clément Renault
b30bcbb931
Merge pull request #6032 from meilisearch/bump-hannoy
...
Bump hannoy to v0.1.0-nested-rtxns
2025-12-04 13:30:43 +00:00
Kerollmops
5fbe4436c8
Bump hannoy to v0.1.0-nested-rtxns
2025-12-04 14:06:45 +01:00
Louis Dureuil
8fa253c293
fmt
2025-12-04 13:55:28 +01:00
Louis Dureuil
4833da9edb
Chore: remove some duplicated lambdas to ease compile time
2025-12-04 13:55:28 +01:00
Louis Dureuil
c0e31a4f01
Switch to migration-oriented dumpless upgrade
2025-12-04 13:55:28 +01:00
Louis Dureuil
c06ffb31d1
Update snapshots
2025-12-04 13:55:28 +01:00
Louis Dureuil
3097314b9d
Make snapshots independent on the version
2025-12-04 13:55:27 +01:00
Louis Dureuil
786a978237
fmt
2025-12-04 13:52:57 +01:00
Louis Dureuil
03e53aaf6d
Add binary to display build-info
2025-12-04 13:52:57 +01:00
Louis Dureuil
2206f045a4
replace git2 by the git command line in build-info
2025-12-04 13:52:56 +01:00
Louis Dureuil
246cf8b2d1
Mimic what is done for publish asset in the CI, for faster build
2025-12-04 13:52:56 +01:00
Louis Dureuil
82adabc5a0
Merge pull request #5861 from meilisearch/upgrade-tests
...
Declarative tests
2025-12-04 11:00:53 +00:00
Louis Dureuil
c9a22247d2
add hannoy test
2025-12-04 11:41:41 +01:00
Louis Dureuil
c535b8ddef
Use variables to account for changes between local and CI
2025-12-04 09:47:37 +01:00
Louis Dureuil
8e89619aed
Also evaluate variables in expected responses
2025-12-04 09:47:21 +01:00
Clément Renault
f617ca8e38
Merge pull request #6023 from meilisearch/curquiza-patch-1
...
Send notifications for Kubernetes integration when releasing
2025-12-04 07:00:50 +00:00
Louis Dureuil
959175ad2a
switch to gh runner
2025-12-03 22:59:57 +01:00
Louis Dureuil
341ffbf5ef
Modify bot message on db-change labeled PRs
2025-12-03 21:25:41 +01:00
Louis Dureuil
542f3073f4
Appease codeql
2025-12-03 21:25:41 +01:00
Louis Dureuil
0f134b079f
hf-embed workload: add ranking scores
2025-12-03 21:25:41 +01:00
Louis Dureuil
9e7ae47355
Add missing sha
2025-12-03 21:25:41 +01:00
Louis Dureuil
1edf07df29
Add tests to CI
2025-12-03 21:25:40 +01:00
Louis Dureuil
88aa3cddde
Support local builds of enterprise binaries
2025-12-03 21:25:40 +01:00
Louis Dureuil
e6846cb55a
Rename and move the test instructions
2025-12-03 21:25:40 +01:00
Louis Dureuil
29b715e2f9
Update workloads
2025-12-03 21:25:40 +01:00
Louis Dureuil
f28dc5bd2b
cleaning
2025-12-03 21:25:40 +01:00
Louis Dureuil
56d0b8ea54
Some cleaning
2025-12-03 21:25:40 +01:00
Louis Dureuil
514edb1b79
Add workloads
2025-12-03 21:25:40 +01:00
Louis Dureuil
cfb609d41d
clippy
2025-12-03 21:25:40 +01:00
Louis Dureuil
11cb062067
fmt
2025-12-03 21:25:40 +01:00
Louis Dureuil
2ca4926ac5
Support editions, move to common
2025-12-03 21:25:40 +01:00
Louis Dureuil
834bd9b879
Fix uninitialization issue on unsupported platforms
2025-12-03 21:25:39 +01:00
Louis Dureuil
cac7e00983
Remove chrono
2025-12-03 21:25:39 +01:00
Mubelotix
e9300bac64
Add documentation
2025-12-03 21:25:39 +01:00
Mubelotix
b0da7864a4
Api key tests
2025-12-03 21:25:39 +01:00
Mubelotix
2b9d379feb
Add variable registration mechanism
2025-12-03 21:25:39 +01:00
Mubelotix
8d585a04d4
Update movies workload
2025-12-03 21:25:39 +01:00
Mubelotix
0095a72fba
Test for upgrade
2025-12-03 21:25:39 +01:00
Mubelotix
651339648c
Fix processing time ms
2025-12-03 21:25:39 +01:00
Mubelotix
a489f4c172
Update issue template
2025-12-03 21:25:39 +01:00
Mubelotix
3b875ea00e
Update movies
2025-12-03 21:25:39 +01:00
Mubelotix
9d269c499c
Fix line feed at the end of files
2025-12-03 21:25:39 +01:00
Mubelotix
da35ae0a6e
Update emojis
2025-12-03 21:25:38 +01:00
Mubelotix
61945b235d
Add redaction system
2025-12-03 21:25:38 +01:00
Mubelotix
e936ac172d
Fix compilation
2025-12-03 21:25:38 +01:00
Mubelotix
162a84cdbf
Improve error detection
2025-12-03 21:25:38 +01:00
Mubelotix
92c63cf351
Improve diffing
2025-12-03 21:25:38 +01:00
Mubelotix
fca35b7476
Add upgrade system
2025-12-03 21:25:38 +01:00
Mubelotix
4056657a55
Refactor around meili_path
2025-12-03 21:25:38 +01:00
Mubelotix
685d227597
Move file to common
2025-12-03 21:25:38 +01:00
Mubelotix
49b9f6ff38
Remove useless data
2025-12-03 21:25:38 +01:00
Mubelotix
79d0a3fb97
Remove useless parameter
2025-12-03 21:25:38 +01:00
Mubelotix
313ef7e79b
Add response updating logic
2025-12-03 21:25:37 +01:00
Mubelotix
256407be61
Fix asset version issues
2025-12-03 21:25:37 +01:00
Mubelotix
8b3943bd32
Do so that meilisearch versions get downloaded
2025-12-03 21:25:37 +01:00
Mubelotix
87b972d29a
Implement test workload running logic
2025-12-03 21:25:37 +01:00
Mubelotix
09ab61b360
Continue integrating commands to tests
2025-12-03 21:25:37 +01:00
Mubelotix
2459f381b4
Remove dead code
2025-12-03 21:25:37 +01:00
Mubelotix
6442f02de4
Make commands common
2025-12-03 21:25:37 +01:00
Mubelotix
91c4d9ea79
Tag workloads
2025-12-03 21:25:37 +01:00
Mubelotix
92a4091da3
Create test workload
2025-12-03 21:25:37 +01:00
Mubelotix
29a337f0f9
Create the test function
2025-12-03 21:25:36 +01:00
Mubelotix
8c3cebadaa
Create the test xtask command and args
2025-12-03 21:25:36 +01:00
Clément Renault
b566458aa2
Merge pull request #6027 from meilisearch/release-v1.28.2
...
Bring back changes from v1.28.2
2025-12-03 17:46:44 +00:00
Clément Renault
ae4344e359
Merge pull request #6004 from meilisearch/default-experimental-vector-store
...
Make Hannoy the default vector store
2025-12-03 17:16:46 +00:00
Kerollmops
b6cb384650
Fix settings tests
2025-12-03 17:52:52 +01:00
Clément Renault
2c3e3d856c
Make hannoy the default vector store when creating an index
2025-12-03 17:52:52 +01:00
Clémentine
93e97f814c
Add notifications for Kubernetes integration
...
Updated comments and conditions for notifying integration teams.
2025-12-03 17:49:46 +01:00
Kerollmops
e9350f033d
Limit the number of retrieved task to one
2025-12-03 17:43:48 +01:00
Kerollmops
54c92fd6c0
Update the snapshots
2025-12-03 17:43:48 +01:00
Kerollmops
4f4df83a51
Bump the version to v1.28.2
2025-12-03 17:43:48 +01:00
Clément Renault
a51021cab7
Merge pull request #6026 from meilisearch/free-space
...
Fix the CI issues
2025-12-03 16:18:41 +00:00
Louis Dureuil
e33f4fdeae
Attempt to eschew containers for ubuntu
2025-12-03 16:28:19 +01:00
Louis Dureuil
e407bca196
use feature as cache key
2025-12-03 16:24:48 +01:00
Louis Dureuil
cd24ea11b4
correctly clean space + remove test in debug
2025-12-03 16:12:08 +01:00
Louis Dureuil
ba578e7ab5
Fix ollama test following update on their side
2025-12-03 15:48:30 +01:00
Louis Dureuil
05a74d1e68
remove non-existing rust-toolchain action arguments
2025-12-03 15:37:51 +01:00
Louis Dureuil
41d61deb97
Make runners/containers more uniform
2025-12-03 15:34:57 +01:00
Louis Dureuil
bba292b01a
Run ollama test on 22.04
2025-12-03 15:21:02 +01:00
Louis Dureuil
96923dff33
adjust test suite
2025-12-03 15:01:58 +01:00
Louis Dureuil
8f9c9305da
set back the cache
2025-12-03 14:10:18 +01:00
Louis Dureuil
a9f309e1d1
Remove macos and windows from PRs
2025-12-03 13:54:02 +01:00
Louis Dureuil
e456a9acd8
Add the disk freeing to all ubuntu-22.04 jobs
2025-12-03 11:51:42 +01:00
Louis Dureuil
9b7d29466c
Attempt to earn some free space...
2025-12-03 11:41:00 +01:00
Clément Renault
b0ef14b6f0
Merge pull request #5983 from meilisearch/new-searchable-settings-indexer
...
Support the searchable and exact attributes in the new Settings Indexer
2025-12-02 11:03:36 +00:00
Clément Renault
36febe2068
Merge pull request #6021 from meilisearch/skip-macos-windows-in-merge-queue
...
Skip the macOS and Windows CI in the merge queue
2025-12-02 08:29:06 +00:00
Kerollmops
6f14a6ec18
Skip the macOS and Windows CI in the merge queue
2025-12-01 16:59:55 +01:00
Clément Renault
1a45b19e7e
Merge pull request #6020 from meilisearch/fix-release-ci-enterprise
...
Fix release CI after enterprise merge
2025-12-01 15:12:00 +00:00
Kerollmops
bd7525b166
Update the snapshots
2025-12-01 15:26:00 +01:00
Kerollmops
359757d939
Bump patch version
2025-12-01 15:25:56 +01:00
Paul de Nonancourt
1c6eea596c
fix: Only trigger Cloud CI for enterprise edition
2025-12-01 15:08:23 +01:00
Paul de Nonancourt
693b6f483e
fix: Update binary path for target x86_64 meilisearch release
2025-12-01 15:07:55 +01:00
Many the fish
818a4aa6d9
Merge pull request #6016 from EclipseAditya/fix-sort-on-empty-attribute-5998
...
Fix sort on /documents endpoint when field has no values
2025-12-01 13:50:05 +00:00
Clément Renault
ddadeb99e9
Merge pull request #6019 from meilisearch/bump-version
...
Bump version to v1.28
2025-12-01 10:26:51 +00:00
Kerollmops
b8d8be934a
Update snapshots
2025-12-01 10:52:57 +01:00
Kerollmops
7175d70b8f
List the version in the upgrades
2025-12-01 10:29:33 +01:00
Kerollmops
8a3e65ab6f
Bump version to v1.28
2025-12-01 10:23:42 +01:00
EclipseAditya
4737e1a2a5
Fix rustfmt formatting issues
2025-11-30 06:02:02 +00:00
EclipseAditya
36522e951b
Fix sort on /documents endpoint when field has no values
2025-11-28 15:22:57 +00:00
Kerollmops
fce046d84d
Fix non-detected searchable attribute
2025-11-28 11:29:31 +01:00
Kerollmops
3fc507bb44
Introduce a test for when a new nested field becomes searchable
2025-11-28 11:29:31 +01:00
Kerollmops
fdbcd033fb
Clean up the CI
2025-11-28 11:29:31 +01:00
Clément Renault
aaab49baca
Fix a bug and improve code quality
...
Co-authored-by: Many the fish <many@meilisearch.com >
2025-11-28 11:29:31 +01:00
Kerollmops
0d0d6e8099
Update the proximity precision for the settings delta
2025-11-28 11:29:31 +01:00
Clément Renault
c1e351c92b
Show available space
2025-11-28 11:29:31 +01:00
Clément Renault
67cab4cc9d
Trigger the new settings indexer when changing the proximity precision
2025-11-28 11:29:31 +01:00
Clément Renault
f30a37b0fe
Clear old word prefix fid docids entries when removing searchable fields
2025-11-28 11:29:31 +01:00
Clément Renault
a78a9f80dd
Introduce the word pair proximity extractor
2025-11-28 11:29:31 +01:00
Clément Renault
439fee5434
Move the has_searchable_children function to the appropriate module
2025-11-28 11:29:31 +01:00
Clément Renault
9e858590e0
Rename the function to extract document words when a setting changes
...
Co-authored-By: Maxime Legendre <maxime@meilisearch.com >
2025-11-28 11:29:31 +01:00
Clément Renault
29eebd5f93
Merge the logic of the function detecting searchable children fields
2025-11-28 11:29:31 +01:00
Clément Renault
07da6edbdf
Fix a bug when nested fields appear
...
Co-authored-by: Many the fish <many@meilisearch.com >
2025-11-28 11:29:31 +01:00
Clément Renault
22b83042e6
Add some comments
...
Co-authored-by: Many the fish <many@meilisearch.com >
2025-11-28 11:29:31 +01:00
Clément Renault
52ab13906a
Fix a test trying to change settings with a wtxn
2025-11-28 11:29:31 +01:00
Clément Renault
29bec8efd4
Make sure the embedders supports changing searchables
2025-11-28 11:29:31 +01:00
Clément Renault
6947a8990b
Make sure we don't crash on unreferenced fields
2025-11-28 11:29:31 +01:00
Clément Renault
fbb2bb0c73
Make clippy happy
2025-11-28 11:29:31 +01:00
Clément Renault
15918f53a9
Introduce new progress steps when deleting fid-based entries
2025-11-28 11:29:30 +01:00
Clément Renault
d7f5f3a0a3
Delete entries from fid-based databases when searchables are deleted
2025-11-28 11:29:30 +01:00
Clément Renault
1afbf35f27
Support exact attributes in the settings delta
2025-11-28 11:29:30 +01:00
Clément Renault
d7675233d5
Call the post processing in the new settings indexer
2025-11-28 11:29:30 +01:00
Clément Renault
c63c1ac32b
Support exact attributes in the field metadata
2025-11-28 11:29:30 +01:00
Clément Renault
6171dcde0d
Call the new searchable extractor
2025-11-28 11:29:30 +01:00
Clément Renault
04bc134324
Introduce the new searchable extractor
2025-11-28 11:29:30 +01:00
Clément Renault
8ff39d927d
Enable the new settings indexer when the searchable or exact are updates
2025-11-28 11:29:30 +01:00
Clément Renault
ffd461c800
Merge pull request #6011 from meilisearch/enterprise-feature
...
Add support for conditional compilation of the EE
2025-11-27 20:43:09 +00:00
Clément Renault
9134d27980
Merge pull request #6013 from meilisearch/fix-sdk-tests
...
Fix SDK test to use EE
2025-11-27 19:24:37 +00:00
curquiza
f60242979f
Fix SDK test to use EE
2025-11-27 17:51:27 +01:00
Clément Renault
d347417cfd
Merge pull request #5956 from meilisearch/progress-trace-in-metrics
...
Expose batch progress traces on the metrics route
2025-11-27 16:05:13 +00:00
Paul de Nonancourt
55d54afd69
Build different community and enterprise Docker images in CI
2025-11-27 14:31:08 +01:00
Kerollmops
dca7679c47
Change the binary name format to suffix meilisearch with enterprise
2025-11-27 13:56:29 +01:00
Kerollmops
a34b692396
Remove Cross compilation file
2025-11-27 13:53:23 +01:00
Kerollmops
63829b62e9
Cleanup useless references to jemalloc
2025-11-27 13:53:23 +01:00
Kerollmops
44c8252ad5
Merge the publish binaries job
2025-11-27 13:53:23 +01:00
Kerollmops
19ae428890
Introduce a matrix for the tests CIs
2025-11-27 13:53:13 +01:00
Many the fish
7adcb657ae
Merge pull request #6007 from meilisearch/update-charabia-v0.9.9
...
Update charabia v0.9.9
2025-11-27 12:37:55 +00:00
Louis Dureuil
9624768976
Add support for conditional compilation of the EE
2025-11-27 10:53:46 +01:00
Clément Renault
5025acfd2a
Merge pull request #6012 from meilisearch/update-test-job-name
...
Remove version from the name of the test job in CI
2025-11-27 08:29:32 +00:00
Paul de Nonancourt
4bbfdccc3e
Remove version from the label of the test
2025-11-26 16:25:15 +01:00
Many the fish
a5b24b54b8
Merge pull request #6002 from meilisearch/update-dependencies
...
Upgrade most of the dependencies
2025-11-26 13:26:27 +00:00
Clément Renault
461e69c143
Merge pull request #6003 from meilisearch/build-arm-images-on-arm-runner
...
Build x86 and ARM images on Github-hosted runners
2025-11-26 11:53:47 +00:00
Clément Renault
915aeafefe
Update the workflow name
2025-11-26 11:33:23 +01:00
Louis Dureuil
408529d8b2
compile gemm-16 optimized for ARM compatibility
...
Co-Authored-By: Paul de Nonancourt <paul@meilisearch.com >
2025-11-26 10:49:10 +01:00
Paul de Nonancourt
1724ab6d94
Run tests on both arm64 and x86 Github-hosted runners
2025-11-26 10:49:10 +01:00
Paul de Nonancourt
49a500a342
Fix cosign digest signature
2025-11-26 10:49:10 +01:00
Paul de Nonancourt
f26eabcfa1
Merge manifests into multi-architecture Docker image
2025-11-26 10:49:10 +01:00
Paul de Nonancourt
b468c090f3
Build ARM64 and AMD64 images on Github-hosted runners
2025-11-26 10:49:10 +01:00
Clément Renault
c14114840e
Remove container
2025-11-26 10:45:12 +01:00
ManyTheFish
7933d1f9ea
Update charabia v0.9.9
2025-11-24 15:13:11 +01:00
Clément Renault
6f1d3f337b
Merge pull request #6006 from meilisearch/bump-version
...
Bump version to v1.27.0
2025-11-24 12:28:44 +00:00
Clément Renault
9640706c5a
Do a no-op when upgrading version
2025-11-24 10:43:27 +01:00
Clément Renault
01cd273a52
Update the snapshots
2025-11-24 10:40:06 +01:00
Clément Renault
ae87d1cab9
Bump version in Cargo.toml
2025-11-24 10:32:32 +01:00
Clément Renault
d5a5372aba
Only provide the last batch info
2025-11-20 12:02:29 +01:00
Clément Renault
cf62af13e8
Merge pull request #6005 from meilisearch/clamp-max-batch-size
...
Clamp max batch size to 10 GiB
2025-11-20 10:45:23 +00:00
Clément Renault
0d5e176dc2
Bump some of the incompatible dependencies
2025-11-20 11:45:08 +01:00
Clément Renault
d6f36a773d
Update the compatible dependencies
2025-11-20 11:45:08 +01:00
Many the fish
91cf94c196
Merge pull request #5999 from meilisearch/fix-document-fetch-sort
...
Fix the Document Fetch pagination bug when Sort is applied
2025-11-20 10:15:04 +00:00
Clément Renault
753ba39199
Update the documentation of the batch size
2025-11-20 10:33:02 +01:00
Clément Renault
3944c25853
Clamp the maximum batch size to maximum 10GiB
2025-11-20 10:29:50 +01:00
ManyTheFish
925bce5fbd
Modify the test to test all the sort branches and fix the untested branch
2025-11-20 10:27:24 +01:00
ManyTheFish
62065ed30d
Fix the pagination bug
...
where the last document of the previous page was duplicated as the first
document of the current page. This was due to a bug on the custom nth
function of the sort ranking rule skipping `n-1` documents instead of `n`
2025-11-20 10:27:24 +01:00
Clément Renault
97e6ae1957
Merge pull request #5994 from meilisearch/improve-s3-error-messages
...
Improve S3 upload by showing errors in the task queue
2025-11-19 16:58:02 +00:00
Clément Renault
5ed9be0789
Merge pull request #5990 from meilisearch/default-max-batch-size
...
Make the limit batched tasks total size defaults to half of the max indexing memory
2025-11-19 16:56:34 +00:00
Clément Renault
7597b1049f
Merge pull request #6001 from meilisearch/update-windows-macos-ci
...
Update the macOS platform version in the CI
2025-11-19 16:12:52 +00:00
Clément Renault
d99150f21b
Improve error message extraction
...
Co-authored-by: Many the fish <many@meilisearch.com >
2025-11-19 17:09:15 +01:00
Kerollmops
c9726674a0
Make the limit batched tasks total size default to half of max indexing
...
memory
2025-11-19 17:04:45 +01:00
Clément Renault
205f40b3b8
Update the macOS platform version to use version 14
2025-11-19 16:10:41 +01:00
Clément Renault
3d013cdebe
Merge pull request #5995 from meilisearch/fix-embedding-skip
...
Fix embedding skip
2025-11-18 10:02:53 +00:00
Louis Dureuil
ddeff5678f
Clippy happy
2025-11-17 14:48:40 +01:00
Louis Dureuil
a235434910
Add test
2025-11-17 13:52:23 +01:00
Louis Dureuil
a376525348
Do not skip embedding request for the document that exceeds capacity
2025-11-17 13:18:58 +01:00
Kerollmops
361580f451
Display the error message on failure
2025-11-17 09:21:18 +01:00
Clément Renault
ea70a7d1c9
Merge pull request #5969 from xuhongxu96/main
...
Remove unused dependency `allocator-api2`
2025-11-15 10:03:15 +00:00
Clément Renault
9304f8e586
Merge pull request #5991 from meilisearch/release-v1.26.0
...
Release v1.26.0
2025-11-13 17:54:01 +00:00
Louis Dureuil
495db080ec
Upgrade snap
2025-11-13 17:52:34 +01:00
Louis Dureuil
d71341fa48
Suport upgrade to v1.26.0
2025-11-13 17:52:02 +01:00
Louis Dureuil
5b3070d8c3
Update version in toml and lock
2025-11-13 17:35:26 +01:00
Louis Dureuil
89006fd4b3
Merge pull request #5980 from hayatosc/feat/hugging-face-modernbert
...
Support ModernBERT architecture on `huggingface` embedder
2025-11-10 18:03:35 +00:00
Louis Dureuil
49f50a0a21
Don't collect the views
2025-11-10 17:55:44 +01:00
Louis Dureuil
1104f00803
happy clippy
2025-11-10 16:59:12 +01:00
Louis Dureuil
33fa564a9c
rustfmt
2025-11-10 16:56:13 +01:00
Clément Renault
a097b254f8
Merge pull request #5963 from meilisearch/engprod-2128-allow-attaching-user-defined-metadata-to-tasks-and-return
...
Allow to attach `customMetadata` in the document addition or update tasks
2025-11-10 15:48:46 +00:00
Clément Renault
54cb0ec437
Merge pull request #5984 from meilisearch/embedder-error-modes
...
Embedder failure modes
2025-11-10 15:34:01 +00:00
Louis Dureuil
38ed1f1dbb
Change parsing of environment variable
2025-11-10 15:08:24 +01:00
Clément Renault
643dd33358
Merge pull request #5982 from meilisearch/bump-meilisearch-v1.25.0
...
Bump meilisearch v1.25.0
2025-11-10 14:04:17 +00:00
Louis Dureuil
32f9fb6ab2
fix environment variable values
2025-11-10 14:54:25 +01:00
Louis Dureuil
b5966f82e8
Make max retry duration configurable with MEILI_EXPERIMENTAL_REST_EMBEDDER_MAX_RETRY_DURATION_SECONDS
2025-11-10 14:29:27 +01:00
Louis Dureuil
5e54063aab
Configurable timeout with MEILI_EXPERIMENTAL_REST_EMBEDDER_TIMEOUT_SECONDS
2025-11-10 14:29:20 +01:00
Louis Dureuil
40456795d0
Allow to customize failure modes with MEILI_EXPERIMENTAL_CONFIG_EMBEDDER_FAILURE_MODES
2025-11-10 14:23:51 +01:00
ManyTheFish
40e60c6f52
Fix dumpless upgrade
2025-11-10 14:03:17 +01:00
ManyTheFish
eeae6383d0
Bump Meilisearch version v1.25.0
2025-11-10 14:03:17 +01:00
Clément Renault
8cbcaeff56
Merge pull request #5981 from meilisearch/charabia-v0.9.8
...
Update Charabia v0.9.8
2025-11-10 09:45:30 +00:00
ManyTheFish
ce87d5a89e
Update Charabia v0.9.8
2025-11-10 09:33:31 +01:00
Hayato Sakaguchi
9f7172f6ab
chage tensor names
2025-11-09 01:06:04 +09:00
Hayato Sakaguchi
d6eca83cfa
Support modernbert architecture in hugging face embedder
2025-11-08 20:53:47 +09:00
Louis Dureuil
a9d6e86077
Merge pull request #5775 from meilisearch/experimental-search-personnalization
...
Experimental search personalization
2025-11-06 18:45:18 +00:00
Clément Renault
346f9efe3a
Merge pull request #5977 from meilisearch/fix-rust-analyzer-false-positive
...
Fix error that rust-analyzer reports because it is compiling all code with the `test` cfg
2025-11-06 18:42:43 +00:00
Louis Dureuil
a987d698c1
Fix error that rust-analyzer reports because it is compiling all code with the test cfg
2025-11-06 18:10:59 +01:00
Louis Dureuil
fc3508c8c8
Fix route path
2025-11-06 18:08:50 +01:00
ManyTheFish
dbb45dec1a
ignore flaky test
2025-11-06 17:55:27 +01:00
ManyTheFish
5f69a43846
Early return if time budget is already exceeded
2025-11-06 17:55:27 +01:00
ManyTheFish
fe1e4814fa
Return an error when personalize is used in federated queries
2025-11-06 17:55:27 +01:00
ManyTheFish
c29749741b
Use the time budget instead of defining a deadline outside the scope
2025-11-06 17:55:27 +01:00
ManyTheFish
3e47201365
Fix too many argument clippy warning
2025-11-06 17:55:27 +01:00
ManyTheFish
ec9719f3b1
Fix simple PR comments
2025-11-06 17:55:27 +01:00
ManyTheFish
b2cc9e4db8
remove useless clones
2025-11-06 17:55:27 +01:00
ManyTheFish
56198bae48
Initialize personalization API once
2025-11-06 17:55:27 +01:00
ManyTheFish
888059b2d0
Fix PR comments
2025-11-06 17:55:27 +01:00
ManyTheFish
410f2fc8c3
add some failure tests for personalization
2025-11-06 17:55:01 +01:00
ManyTheFish
54e244d2f3
Return an error when the feature is disabled
2025-11-06 17:55:01 +01:00
ManyTheFish
e0c36972fb
remove deadcode
2025-11-06 17:55:01 +01:00
ManyTheFish
daadcddb5e
Reduce personalization footprint on the codebase
2025-11-06 17:55:01 +01:00
ManyTheFish
7f92dafa02
User context is no more optional
2025-11-06 17:55:01 +01:00
ManyTheFish
cc5d12a368
FIx padding
2025-11-06 17:55:01 +01:00
ManyTheFish
0f98b996b5
Fix PR comments
2025-11-06 17:55:01 +01:00
ManyTheFish
d005ca5bf7
remove irrelevant tests
2025-11-06 17:55:01 +01:00
ManyTheFish
7e65fb1d3e
feat(metrics): add personalization count to metrics endpoint
...
- Add MEILISEARCH_PERSONALIZED_SEARCH_REQUESTS metric to track personalized searches
- Increment metric directly in search analytics when personalization is used
- Metric automatically exposed in /metrics endpoint for monitoring
2025-11-06 17:55:01 +01:00
ManyTheFish
cdefb3f665
feat(analytics): add personalization tracking to segment analytics
...
- Add total_personalized field to SearchAggregator to track personalization usage
- Track when search requests include personalization parameters
- Include personalization data in analytics JSON output
- Maintain clean personalization service interface
2025-11-06 17:55:01 +01:00
ManyTheFish
a91887221a
refactor(personalization): improve Cohere reranking logic and error handling
...
- Replace and_then() with early return for missing personalization
- Simplify reranking by building new hits vector instead of swapping
- Add debug logging for reranked indices
- Fix potential index out-of-bounds issues in reranking
2025-11-06 17:55:01 +01:00
ManyTheFish
9c66b20a97
refactor: split PersonalizationService into enum with CohereService
...
- Refactor PersonalizationService as enum with Cohere and Uninitialized variants
- Create dedicated CohereService struct with rerank_search_results method
- Split constructor into cohere() and uninitialized() methods
- Move all Cohere logic into CohereService for better separation of concerns
- Update tests and lib.rs to use new API
- Improve code organization and maintainability
2025-11-06 17:55:01 +01:00
ManyTheFish
a48283527e
feat: refine personalization query by merging with user context
...
- Merge initial query with user context to create a comprehensive prompt
- Only skip reranking if both query and user_context are None
- Support reranking with query-only, user_context-only, or both
- Use 'let else' pattern for cleaner error handling
- Add comprehensive tests for different parameter combinations
- Improve prompt format for better reranking effectiveness
2025-11-06 17:55:01 +01:00
ManyTheFish
73f78c19b0
refactor: rename personalization API fields and move checks inside service
...
- Rename 'personalization' field to 'personalize' in API
- Rename 'userProfile' to 'userContext' in personalization object
- Remove 'personalized' boolean field (activation now based on non-null 'personalize')
- Move personalization checks inside rerank_search_results function
- Use 'let else' pattern for better error handling
- Update error types and messages to reflect new field names
- Update all search routes and analytics to use new field names
2025-11-06 17:55:01 +01:00
ManyTheFish
34639e346e
feat: add personalization service with EnglishV3-only reranking
...
- Add new personalization module with Cohere integration
- Implement rerank_search_results method using EnglishV3 model
- Remove fallback logic to EnglishV2 for simplified behavior
- Add comprehensive error handling and logging
- Include unit tests for service behavior
- Update search route to support personalization feature
2025-11-06 17:55:01 +01:00
ManyTheFish
7af2a254d6
feat: add personalization parameters to /search route
...
- Add Personalization struct with personalized boolean and user_profile string
- Add personalizationPersonalized and personalizationUserProfile query parameters to SearchQueryGet
- Follow same pattern as hybrid parameters (hybridEmbedder, hybridSemanticRatio)
- Add validation: personalizationUserProfile requires personalizationPersonalized
- Add error codes for personalization parameters
- Update analytics and facet search to handle new personalization field
- Remove serde dependencies from Personalization struct, use Deserr only
2025-11-06 17:55:01 +01:00
ManyTheFish
0f9d262a1c
feat: add experimental_personalization_api_key feature to RoFeatures
...
- Add MEILI_EXPERIMENTAL_PERSONALIZATION_API_KEY environment variable
- Add experimental_personalization_api_key field to Opt struct with CLI and env support
- Add experimental_personalization_api_key field to InstanceTogglableFeatures
- Store personalization API key in FeatureData for access through IndexScheduler
- Add experimental_personalization_api_key() method to IndexScheduler
- Update analytics destructuring to include new field
- Maintain RoFeatures Copy trait while properly handling Option<String>
2025-11-06 17:55:01 +01:00
Louis Dureuil
747476a225
Add customMetadata to all documents routes
2025-11-06 17:07:18 +01:00
Clément Renault
34765b556b
Merge pull request #5948 from meilisearch/new-s3-snapshots
...
Upload snapshot tarballs to S3
2025-11-06 15:10:37 +00:00
Kerollmops
dfb4860578
Make some parameters experimental and link the dedicated issue
2025-11-06 12:43:12 +01:00
Kerollmops
ce62713f02
Always create the update_files directory
2025-11-06 12:43:12 +01:00
Kerollmops
8b5d04d60f
Move the code to append a file to the tarball in a dedicated function
2025-11-06 12:07:08 +01:00
Kerollmops
1b74709b91
Extract more logic into dedicated functions
2025-11-06 12:00:25 +01:00
Kerollmops
a5c0a282c5
Better document safety problems and unwraps
2025-11-06 11:26:45 +01:00
Kerollmops
4fc048ff20
Better handle errors when trying to clone the handles
2025-11-06 11:15:34 +01:00
Kerollmops
375b5600cd
Move the tarball streaming into a dedicated function
2025-11-06 11:11:26 +01:00
Kerollmops
32b997d817
Extracts the streaming closure into an async function
2025-11-06 11:04:16 +01:00
Kerollmops
ff3090e3cc
Remove the slash-path dependency
2025-11-06 10:53:07 +01:00
Kerollmops
6c6645f945
Better seeking-to-the-start explanation
2025-11-06 10:45:47 +01:00
Clément Renault
af6473d999
Improve the comments
...
Co-authored-by: Louis Dureuil <louis@meilisearch.com >
2025-11-06 10:43:14 +01:00
Kerollmops
11851f9701
Fix warnings on Windows
2025-11-05 16:40:33 +01:00
Kerollmops
cc4654eabd
Remove useless clippy flag
2025-11-05 16:38:05 +01:00
Kerollmops
0bb91f4a77
Immediately panic when using S3 snapshot options on Windows
2025-11-05 15:16:43 +01:00
Kerollmops
f9d57f54df
Keep the smae naming behavior as before
2025-11-05 15:16:43 +01:00
Kerollmops
3ef1afc0f1
Introduce some backoff retries
2025-11-05 15:16:43 +01:00
Kerollmops
dbb5abebb6
Support cancelation
2025-11-05 15:16:42 +01:00
Kerollmops
700f33bd39
Clean up the code
2025-11-05 15:16:42 +01:00
Kerollmops
d01bbbccde
Support clean CLI options
2025-11-05 15:16:42 +01:00
Kerollmops
4fc506f267
Remove unused imports/code on Windows
2025-11-05 15:16:42 +01:00
Kerollmops
dc456276e5
Make clippy happy
2025-11-05 15:16:42 +01:00
Kerollmops
b2ea50cb10
Make the compression level configurable
2025-11-05 15:16:42 +01:00
Kerollmops
5074cf92ab
Disable compression entirely to avoid being CPU bound
2025-11-05 15:16:42 +01:00
Clément Renault
a92bc8d192
Improve the way we create the snapshot path
2025-11-05 15:16:42 +01:00
Clément Renault
ee538cf045
Remove useless dependencies
2025-11-05 15:16:42 +01:00
Kerollmops
2b05d63a0f
Make it finaly work but without async on the write side
2025-11-05 15:16:42 +01:00
Kerollmops
104e8918ce
Seeking the tasks/data.mdb file to the begining made the trick
2025-11-05 15:16:42 +01:00
Kerollmops
d6ec4d4f4a
Improve understanding of S3-related errors
2025-11-05 15:16:42 +01:00
Kerollmops
f0e7326b7a
Retrieve the bytesMut only when released
2025-11-05 15:16:42 +01:00
Kerollmops
c8106a0006
Fix minimum part size
2025-11-05 15:16:42 +01:00
Kerollmops
c9ab5bc0b6
Improve error messaging when missing env var
2025-11-05 15:16:42 +01:00
Clément Renault
5e0f15fd43
WIP
2025-11-05 15:16:42 +01:00
Kerollmops
4c30f090c7
WIP Do more tests
2025-11-05 15:16:42 +01:00
Clément Renault
63f247cdda
WIP sending multiparts of 250MiB
2025-11-05 15:16:42 +01:00
Clément Renault
e109fa9529
Rename the update_path function
2025-11-05 15:16:42 +01:00
Clément Renault
76e4ec2168
Geenrate an async tarball
2025-11-05 15:16:42 +01:00
Kerollmops
982babdb74
WIP
2025-11-05 15:16:42 +01:00
Kerollmops
7ae2ae33d9
Make max in flights parts fro upload configurable
2025-11-05 15:16:42 +01:00
Kerollmops
cb0788ae07
Use a good mem advice for uploads
2025-11-05 15:16:42 +01:00
Kerollmops
cb3e5dc234
Move the S3 snapshots to disk into a dedicated method
2025-11-05 15:16:41 +01:00
Clément Renault
59d40a2821
Upload ten parts at a time
2025-11-05 15:16:41 +01:00
Clément Renault
98a678e73d
Use the Bytes crate to send the parts
2025-11-05 15:16:41 +01:00
Clément Renault
70292aae3c
Upload indexes under their uuids
2025-11-05 15:16:41 +01:00
Clément Renault
73521f0069
Initial working S3 uploads to RustFS
2025-11-05 15:16:41 +01:00
Louis Dureuil
4533179604
Pass tokio handle to index-scheduler
2025-11-05 15:16:41 +01:00
Clément Renault
1a21cc1a17
Merge pull request #5959 from meilisearch/parallelize-word-prefix-docids
...
Parallelize the word prefix docids
2025-11-05 10:10:07 +00:00
Clément Renault
d08042f8a7
Merge pull request #5967 from meilisearch/bump-lmdb-version
...
Fix the LMDB fork memory leak
2025-11-05 09:33:59 +00:00
Louis Dureuil
77aadb5f22
Merge pull request #5968 from meilisearch/engprod-2116-privilege-escalation-from-webhook-api-key-to-master-key
...
Redact Authorization header in webhooks
2025-11-05 08:51:07 +00:00
Kerollmops
4fd913f7eb
Use the latest version of heed
2025-11-05 09:42:03 +01:00
Louis Dureuil
4b72e54ca7
Test webhook with metadata
2025-11-04 17:41:29 +01:00
Louis Dureuil
adef2cc132
test remote auto sharding with and without metadata
2025-11-04 17:41:28 +01:00
Louis Dureuil
533b9951b1
Allow adding custom metadata in tests
2025-11-04 17:41:28 +01:00
Louis Dureuil
9103cbc9db
Add custom metadata to payload
2025-11-04 17:41:28 +01:00
Louis Dureuil
083de2bfc1
Allow to attach customMetadatain the document addition or update tasks
2025-11-04 17:41:28 +01:00
Louis Dureuil
8618a4d2ba
document hide_secret
2025-11-04 17:03:12 +01:00
Hongxu Xu
08bc982748
Remove unused dependency allocator-api2
2025-11-04 03:29:24 +00:00
Louis Dureuil
e9c5df7993
happy clippy
2025-11-03 17:23:27 +01:00
Kerollmops
a8d55562e9
Expose the three last batches timings
2025-11-03 16:01:05 +01:00
Kerollmops
40d649ec9e
Update utoipa
2025-11-03 15:53:14 +01:00
Louis Dureuil
8a28b3aa77
Update snap
2025-11-03 15:52:35 +01:00
Louis Dureuil
1a0b100ad9
rename webhook to highlight redaction
2025-11-03 15:52:22 +01:00
Louis Dureuil
ff93563f41
Redact webhook authorize header on display
2025-11-03 15:51:56 +01:00
Louis Dureuil
2f25258191
Extract crate::settings::hide_secret as a public function
2025-11-03 15:50:37 +01:00
Clément Renault
2859079c32
Merge pull request #5961 from meilisearch/add-flickr-demo
...
Add Flickr example to README
2025-11-03 14:44:54 +00:00
Kerollmops
c272ac8204
Reset metrics values to keep current steps only
2025-11-03 15:41:54 +01:00
Kerollmops
e18c677f0e
Expose the step currently running on the metrics route
2025-11-03 15:28:58 +01:00
Kerollmops
84a288da57
Simplify the auth filters
2025-11-03 15:11:28 +01:00
Kerollmops
cbfc325b56
Expose the metrics for the last finished batch and not the processing
...
one
2025-11-03 15:10:23 +01:00
Clément Renault
74b83d305f
Add Flickr example to README
...
This PR adds the new Flickr demo to the README.
2025-10-29 18:27:36 +01:00
Clément Renault
70f6e4b828
Parallelize the word prefix docids
2025-10-27 17:20:12 +01:00
Kerollmops
ea640b076e
Expose batch progress traces on the metrics route
2025-10-24 14:36:21 +02:00
Clément Renault
6df196034e
Merge pull request #5950 from meilisearch/update-version-v1.24.0
...
Update version to v1.24.0
2025-10-20 11:17:15 +00:00
Clément Renault
a63762737c
Upgrade index scheduler
2025-10-20 12:22:27 +02:00
Clément Renault
77394bd4b9
Update insta tests
2025-10-20 10:54:16 +02:00
Clément Renault
cb87201c8b
Fix dumpless upgrade and do nothing
2025-10-20 10:42:35 +02:00
Clément Renault
1a9c38794f
Bump version to v1.24.0
2025-10-20 10:38:48 +02:00
Clément Renault
34233efb63
Merge pull request #5946 from meilisearch/fix-compaction-issues
...
Improve compaction behaviors
2025-10-16 15:42:38 +00:00
Clément Renault
af0608ebd6
Continue to the next index if index doesn't exists
2025-10-16 16:39:51 +02:00
Clément Renault
8c7e5c094e
Improve the task batch stopped message
2025-10-16 16:39:50 +02:00
Clément Renault
c064737137
Remove duplicated logic in auto batching of tasks
2025-10-16 16:33:20 +02:00
Clément Renault
1d188a7ad3
Make the compaction tasks a priority over the export ones
2025-10-16 13:01:23 +02:00
Clément Renault
66a6b65716
Merge pull request #5945 from meilisearch/search-cutoff-vector-store
...
Search cutoff vector store
2025-10-16 09:43:20 +00:00
Louis Dureuil
326652a399
Update hannoy
2025-10-16 10:34:54 +02:00
Louis Dureuil
59316e8d5a
add unit test
2025-10-16 10:34:20 +02:00
Louis Dureuil
76d7f20c87
fix snap
2025-10-16 10:34:19 +02:00
Louis Dureuil
380b2797a5
Share the same budget for all queries of a given index in federated search
2025-10-16 10:34:19 +02:00
Clémentine
1dd58f9bec
Merge pull request #5866 from PedroTroller/build/alpine3.22
...
Bump Dockerfile alpine version to 3.22
2025-10-16 07:22:43 +00:00
Kerollmops
ddc76ad0dc
Delete the leftover compaction files from canceled operations
2025-10-15 16:49:25 +02:00
Kerollmops
ffacf1c002
Introduce the new IndexMapper index path method
2025-10-15 16:49:25 +02:00
Kerollmops
5a49b93b77
Use constant tempfile name to reuse tempfile
2025-10-15 16:49:25 +02:00
Louis Dureuil
918a6eaec9
Implement for vector store ranking rule
2025-10-15 16:31:47 +02:00
Louis Dureuil
1e6ce70e3e
"Uninteresting" ranking rule implementations
2025-10-15 16:31:47 +02:00
Louis Dureuil
b418054ee4
Change bucket_sort logic to pass the time budget and allow for retrieving non-blocking buckets
2025-10-15 16:31:47 +02:00
Louis Dureuil
58f30e9d8a
Change RankingRule trait to account for budget
2025-10-15 16:31:46 +02:00
Many the fish
c45172a4bf
Merge pull request #5942 from meilisearch/meili-bot-patch-1
...
Adapt the standards of prototypes
2025-10-15 11:22:03 +00:00
meili-bot
221ba20083
Adapt the standards of prototypes
2025-10-15 10:47:23 +02:00
Many the fish
93c5fbbb8b
Merge pull request #5926 from meilisearch/search-metadata
...
Search metadata
2025-10-14 14:13:42 +00:00
ManyTheFish
22d529523a
refactor: extract query metadata building logic into separate function
2025-10-14 14:39:07 +02:00
ManyTheFish
ed6f479940
Remove irrelevant test index method
2025-10-14 12:10:17 +02:00
ManyTheFish
f19f712433
Add local remote name when a remote federated search is made
2025-10-14 12:10:17 +02:00
ManyTheFish
24a92c2809
move contant header in search/mod.rs
2025-10-14 12:10:17 +02:00
ManyTheFish
443cc24408
--amend
2025-10-14 12:10:17 +02:00
ManyTheFish
e8d5228250
factorize metadata header
2025-10-14 12:10:17 +02:00
ManyTheFish
5c33fb090c
avoid openning each index twice and remove clones
2025-10-14 12:10:17 +02:00
ManyTheFish
48dd9146e7
Add comprehensive metadata tests with insta snapshots
...
- Add 9 test cases covering single search, multi-search, and federated search
- Test metadata header opt-in functionality with case insensitivity
- Test header false value handling
- Test UUID format validation and consistency
- Use insta snapshots for reliable, maintainable test assertions
- Fix header parsing to properly handle 'false' values
- Add helper methods for testing with custom headers
2025-10-14 12:10:17 +02:00
ManyTheFish
c1c42e818e
refactor: group perform_search parameters into SearchParams struct
...
- Create SearchParams struct to group related parameters
- Update perform_search function to use SearchParams instead of 8 individual parameters
- Fix clippy warning about too many arguments
- Update all callers to use new SearchParams struct
2025-10-14 12:10:17 +02:00
ManyTheFish
519905ef9c
Fix remote index collision with HashMap-based lookup
...
- Replace BTreeMap with HashMap for (remote, index_uid) -> primary_key lookup
- Prevents collisions when multiple remotes have same index_uid but different primary keys
2025-10-14 12:10:17 +02:00
ManyTheFish
f242377d2b
Fix remote index collision in federated search metadata
...
- Use composite key (indexUid, remote) instead of indexUid only for remote metadata lookup
- Prevents collisions when multiple remotes have same indexUid but different primary keys
- Ensures each remote query gets correct primaryKey from its specific remote instance
2025-10-14 12:10:17 +02:00
ManyTheFish
da06306274
Add header-based metadata opt-in for search responses
...
- Add Meili-Include-Metadata header constant
- Modify perform_search to conditionally include metadata based on header
- Modify perform_federated_search to conditionally include metadata based on header
- Update all search routes to check for header and pass include_metadata parameter
- Forward Meili-Include-Metadata header to remote requests for federated search
- Ensure remote queries include primaryKey metadata when header is present
2025-10-14 12:10:17 +02:00
ManyTheFish
b93b803a2e
WIP: Add metadata field with queryUid, indexUid, primaryKey, and remote
...
- Add SearchMetadata struct with queryUid, indexUid, primaryKey, and remote fields
- Update SearchResult to include metadata field
- Update FederatedSearchResult to include metadata array
- Refactor federated search metadata building to maintain query order
- Support primary key extraction from both local and remote results
- Add remote field to identify remote instance for federated queries
- Ensure metadata array matches query order in federated search
Features:
- queryUid: UUID v7 for each query
- indexUid: Index identifier
- primaryKey: Primary key field name (null if not available)
- remote: Remote instance name (null for local queries)
This provides complete traceability for search operations across local and remote instances.
2025-10-14 12:10:17 +02:00
ManyTheFish
cf43ec4aff
feat: add indexUid to SearchMetadata
...
- Add indexUid field to SearchMetadata struct
- Update perform_search to include indexUid in metadata
- Update federated search to include indexUid for each query
The metadata field now contains both queryUid and indexUid:
- For /search: single object with queryUid and indexUid
- For /multi-search: each result has metadata with both fields
- For federated search: array of objects, each with queryUid and indexUid
2025-10-14 12:10:17 +02:00
ManyTheFish
9795d98e77
feat: add metadata field with queryUid to search responses
...
- Add SearchMetadata struct with queryUid field (UUID v7)
- Add metadata field to SearchResult for /search route
- Add metadata field to FederatedSearchResult for /multi-search route
- Update perform_search to generate queryUid and set metadata
- Update federated search to generate queryUid for each query
- Update multi-search non-federated path to include metadata
- Fix pattern matching in analytics and other code
The metadata field contains:
- For /search: single object with queryUid
- For /multi-search: array of objects, one per query
- For federated search: array of objects, one per query
All queryUid values are generated using Uuid::now_v7() for time-ordered uniqueness.
2025-10-14 12:10:17 +02:00
Clément Renault
316b4c047f
Merge pull request #5940 from meilisearch/update-version-v1.23.0
...
Update version v1.23.0
2025-10-13 12:50:52 +00:00
Kerollmops
1d701c6980
Fix upgrade tests
2025-10-13 10:40:15 +02:00
Kerollmops
0203adb9cb
Add a no-op when upgrading the index scheduler
2025-10-13 10:28:31 +02:00
Kerollmops
0d05c2ad6e
Add a no-op when upgrading the index
2025-10-13 10:24:57 +02:00
Kerollmops
b3f44c4abd
Bump the version to 1.23.0
2025-10-13 09:47:20 +02:00
Clémentine
62115f57b1
Merge pull request #5938 from meilisearch/attempt-license-fix-again
...
Try to fix GH license detection again
2025-10-09 16:32:40 +00:00
Louis Dureuil
9023172139
Add a dedicated LICENSE-MIT file containing the unmodified MIT license
2025-10-09 16:24:18 +02:00
Louis Dureuil
59631afd9a
Merge pull request #5929 from meilisearch/compaction-task
...
Introduce a task to compact an index
2025-10-09 11:30:01 +00:00
Clément Renault
c2584c6edd
Merge pull request #5936 from meilisearch/merge-v1.22.3-back
...
Merge v1.22.3 back into main
2025-10-09 08:45:33 +00:00
Louis Dureuil
685663af3c
bump cellulite to address backcompat issue from #5307
2025-10-09 10:20:58 +02:00
Louis Dureuil
72b4b41443
Read MEILI_EXPERIMENTAL_REMOTE_SEARCH_TIMEOUT_SECONDS to override the default timeout in remote federated search
2025-10-09 09:34:49 +02:00
Louis Dureuil
70aa768d48
Update ignored test
2025-10-09 09:34:48 +02:00
Louis Dureuil
6029677eec
Also raise the global deadline
2025-10-09 09:34:48 +02:00
Louis Dureuil
3c78f4121e
Raise timeout to 30secs
2025-10-09 09:34:48 +02:00
Clémentine
89170dd78f
Merge pull request #5935 from meilisearch/remove-release-drafter
...
Remove release-drafter and encourage usage of GitHub generated notes
2025-10-08 16:42:51 +00:00
Many the fish
6379a62d95
Merge pull request #5933 from meilisearch/fix-ranking-score-with-sort
...
Fix ranking score bug when sort is present
2025-10-08 16:23:12 +00:00
curquiza
4c05c0cf96
Remove release-drafter and encourage usage of GitHub generated notes
2025-10-08 17:35:33 +02:00
ManyTheFish
ce832da16c
Add a function documentation
2025-10-08 17:19:40 +02:00
Louis Dureuil
14de657d36
Use the "currently_processing_index" to avoid potentially blocking the search during compaction
2025-10-08 15:45:38 +02:00
Kerollmops
9a36c090bf
Do not return the EnvClosingEvent
2025-10-08 15:38:45 +02:00
Kerollmops
3aca010b42
Recompute the stats
2025-10-08 15:33:12 +02:00
Clément Renault
62c11ce3f3
Fix comments
2025-10-08 15:33:12 +02:00
Clément Renault
f358538f4f
Improve the pre-compaction size information
2025-10-08 15:33:12 +02:00
Clément Renault
9068857ba1
Make the tests pass
2025-10-08 15:33:12 +02:00
Clément Renault
d241157084
Make Clippy happy
2025-10-08 15:33:12 +02:00
Clément Renault
69f73b1d74
Introduce a function to effectively close an index
2025-10-08 15:33:12 +02:00
Clément Renault
202794f620
Expose the env closing event so we can wait for the index to close
2025-10-08 15:33:12 +02:00
Kerollmops
38cbd54604
Implement the index compaction task
2025-10-08 15:33:12 +02:00
Kerollmops
3877e0043c
Rename operation to IndexCompaction
2025-10-08 15:33:12 +02:00
Clément Renault
f95398420b
Add the necessary batches and tasks in the process
2025-10-08 15:33:11 +02:00
Clément Renault
53905c1362
Add a new CompactIndex action
2025-10-08 15:33:11 +02:00
Clément Renault
113aac8815
Introduce a new /indexes/{indexUid}/compact route
2025-10-08 15:33:11 +02:00
ManyTheFish
d2071dde1f
Fix ranking score bug when sort is present
...
- Fix global_score function to properly handle semantic scores and ranking scores
- Prioritize semantic scores (vector/embedding) when available, fall back to ranking scores
- Exclude sort and geo sort details from relevance scoring
- Use Rank::global_score to properly merge ranking scores
- Add test case with insta snapshots to reproduce and verify the fix
- When sorting is present, ranking scores now properly reflect search relevance
- Previously all ranking scores were 1.0 when sort was present, now they show actual relevance scores
2025-10-08 11:23:43 +02:00
Many the fish
4502af5aed
Merge pull request #5930 from meilisearch/synonym-performance-fix
...
Synonym performance fix
2025-10-07 15:17:34 +00:00
ManyTheFish
06af68aa07
Get rid of upwrap in get_synonym, We can't use get_or_insert_with because the index.synonyms(..) returns a Result
2025-10-07 14:37:13 +02:00
ManyTheFish
6d378c6397
PERFORMANCE: Implement synonym caching to eliminate repeated database access
...
- Added SynonymCache to SearchContext to cache synonyms in memory
- Modified synonym retrieval to use cached synonyms after first load
- Eliminated redundant database calls for multi-word queries
- Performance improvement: 87% → 0ms for subsequent synonym processing
- Complex queries now process in 40ms vs 495ms (92% improvement)
2025-10-06 14:26:30 +02:00
Clément Renault
ec0c0cf779
Merge pull request #5307 from meilisearch/parallel-bulk-facets
...
Parallelize bulk facets & word prefix fid/position docids
2025-10-06 12:08:52 +00:00
Kerollmops
851694e323
Fix a bug where prefixes were never deleted
2025-10-03 10:50:05 +02:00
Kerollmops
ea92c64fdc
Fix a potential bug where prefixes were not deleted
2025-10-03 09:49:05 +02:00
Kerollmops
dc36f681be
Fix the prefix post-processing algorithm
2025-10-03 09:42:29 +02:00
Clément Renault
48f1987a8d
Improve facet post processing readability
...
Co-authored-by: Many the fish <many@meilisearch.com >
2025-10-03 09:42:29 +02:00
Many the fish
b98e2cef81
Merge pull request #5863 from meilisearch/add-request-uid-to-search-routes
...
Add request uid to search routes
2025-10-02 10:09:31 +00:00
Clément Renault
9f79ce82af
Introduce new CLI arguments to deactivate experimental post processing
2025-10-02 12:06:33 +02:00
Clément Renault
5f18a9b2ee
Move dependencies to actual versions
2025-10-02 11:00:48 +02:00
Clément Renault
7f8a1ac0be
Remove useless heed path
2025-10-01 16:19:58 +02:00
Clément Renault
1a67163ee8
Use git cellulite in case
2025-10-01 16:02:07 +02:00
Clément Renault
38141de68d
Use local heed in case
2025-10-01 16:01:58 +02:00
Clément Renault
7a98b80687
Use temporary git repo for hannoy and arroy in nested-rtxns pre-version
2025-10-01 15:28:36 +02:00
Kerollmops
229a12c8e6
Multithread word prefix position docids
2025-10-01 15:18:21 +02:00
Kerollmops
2fdfe79400
Make clippy happy
2025-10-01 15:09:59 +02:00
Kerollmops
9184b12a26
Fix the algorithm
2025-10-01 15:09:59 +02:00
Kerollmops
742378d8e1
Multi-thread the facet bulk processing
2025-10-01 15:09:59 +02:00
Kerollmops
6dcd739a8b
Patch heed to create multiple nested RoTxns
2025-10-01 15:09:59 +02:00
ManyTheFish
f97384da6c
Fix geo_json snapshots
2025-09-30 17:03:21 +02:00
ManyTheFish
6ea76f2771
Add uuid v7 feature
2025-09-30 15:42:03 +02:00
ManyTheFish
715b255371
fix tests
2025-09-30 15:42:03 +02:00
ManyTheFish
db094d3923
Add requestUid field in search response and add debug logs with requestUid
2025-09-30 15:42:03 +02:00
Many the fish
c29bdcae23
Merge pull request #5913 from meilisearch/dependabot/github_actions/actions/setup-python-6
...
Bump actions/setup-python from 5 to 6
2025-09-29 14:58:45 +00:00
Many the fish
75219181a3
Merge pull request #5834 from meilisearch/fix-openapi-ci
...
Minor improvement in OpenAPI CI
2025-09-29 13:55:12 +00:00
Many the fish
a5b5cf7cd1
Merge pull request #5916 from meilisearch/dependabot/github_actions/sigstore/cosign-installer-3.10.0
...
Bump sigstore/cosign-installer from 3.9.2 to 3.10.0
2025-09-29 13:52:31 +00:00
Many the fish
142ba8ea00
Merge pull request #5915 from meilisearch/dependabot/github_actions/actions/setup-node-5
...
Bump actions/setup-node from 4 to 5
2025-09-29 13:52:28 +00:00
Many the fish
4bc823e07c
Merge pull request #5914 from meilisearch/dependabot/github_actions/actions/setup-dotnet-5
...
Bump actions/setup-dotnet from 4 to 5
2025-09-29 13:52:10 +00:00
Many the fish
db06ca7138
Merge pull request #5912 from meilisearch/dependabot/github_actions/actions/setup-go-6
...
Bump actions/setup-go from 5 to 6
2025-09-29 13:52:06 +00:00
Clément Renault
95595a768e
Merge pull request #5911 from EazyAl/main
...
Update README.md to fix newsletter link
2025-09-29 13:10:16 +00:00
dependabot[bot]
36f649768e
Bump sigstore/cosign-installer from 3.9.2 to 3.10.0
...
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ) from 3.9.2 to 3.10.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](d58896d6a1...d7543c93d8 )
---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
dependency-version: 3.10.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-25 18:01:14 +00:00
dependabot[bot]
0c6fc243f2
Bump actions/setup-node from 4 to 5
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-25 18:01:11 +00:00
dependabot[bot]
dfc46d5627
Bump actions/setup-dotnet from 4 to 5
...
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-dotnet/releases )
- [Commits](https://github.com/actions/setup-dotnet/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-dotnet
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-25 18:01:08 +00:00
dependabot[bot]
11d55f2121
Bump actions/setup-python from 5 to 6
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-25 18:01:03 +00:00
dependabot[bot]
014da57cf6
Bump actions/setup-go from 5 to 6
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-25 18:01:00 +00:00
Clément Renault
70a0ff4a8f
Merge pull request #5900 from meilisearch/show-dependencies
...
Show Dependabot dependency upgrade in the changelog
2025-09-25 16:04:03 +00:00
Clément Renault
dd0d5e4b90
Merge pull request #5910 from meilisearch/curquiza-patch-1
...
Change Java version in SDK CI
2025-09-25 14:32:16 +00:00
Ali Imran
15b3bb1700
Update README.md to fix newsletter link
2025-09-25 16:07:08 +02:00
Louis Dureuil
077ec2ab11
Merge pull request #5908 from meilisearch/update-version
...
Update version
2025-09-25 13:10:34 +00:00
Clémentine
f25db0795e
Change Java version in SDK CI
...
Updated Java version and distribution in workflow.
2025-09-25 15:03:50 +02:00
Tamo
c50a337c29
bump version for 1.22.1
2025-09-25 13:44:44 +02:00
Tamo
efeae09ce1
Merge pull request #5906 from meilisearch/task-deletion-strategy
...
Delete oldest tasks first
2025-09-25 10:11:33 +00:00
Tamo
ad55b48664
Merge pull request #5907 from meilisearch/fix-geojson-bug
...
use the latest version of zerometry that supports collection, lines and multi-lines
2025-09-25 09:56:01 +00:00
Tamo
94eabd34e6
fmt
2025-09-25 11:01:53 +02:00
Tamo
6935589f74
use the latest version of zerometry that supports collection, lines and multi-lines
2025-09-25 10:31:07 +02:00
Louis Dureuil
4beb452027
Optimize by using from_sorted_iter
...
Co-authored-by: Tamo <tamo@meilisearch.com >
2025-09-25 10:16:30 +02:00
Louis Dureuil
b722da303a
Do not start from the end of the finished tasks when selecting the tasks to delete
2025-09-25 09:54:58 +02:00
Louis Dureuil
ad39263b94
Merge pull request #5902 from meilisearch/bump-version
...
bump the version of meilisearch
2025-09-24 07:23:39 +00:00
Tamo
0ffb08b112
bump the version of meilisearch
2025-09-23 17:37:31 +02:00
Clément Renault
ff80b4d0ff
Merge pull request #5891 from nnethercott/fix-hannoy-arroy-conversion
...
Bump `hannoy` to v0.0.8
2025-09-23 13:26:54 +00:00
Louis Dureuil
7fb4404928
Merge pull request #5758 from meilisearch/cellulite
...
Cellulite integration
2025-09-23 12:48:13 +00:00
Tamo
8405f0bf9c
fmt
2025-09-23 13:55:36 +02:00
Tamo
3a7f9b56fe
update cellulite
2025-09-23 13:55:36 +02:00
Louis Dureuil
61034e2e2e
write geojson in obkv
2025-09-23 13:55:36 +02:00
Tamo
108d6d3344
remove a bunch of useless logs
2025-09-23 13:55:36 +02:00
Tamo
35bd00f6a1
continue previous commit
2025-09-23 13:55:36 +02:00
Tamo
69059d67ef
stop returning the geojson field when iterating on the fields
2025-09-23 13:55:36 +02:00
Tamo
e13783103f
use the CELLULITE constant
2025-09-23 13:55:36 +02:00
Tamo
f719665c4e
update the filter-parser after updating its error messages
2025-09-23 13:55:36 +02:00
Tamo
638f284614
densify the shapes before storing them
2025-09-23 13:55:36 +02:00
Tamo
32ac98ed95
style improvement
2025-09-23 13:55:36 +02:00
Tamo
46aee695ca
review the filters errors
2025-09-23 13:55:36 +02:00
Tamo
716c67f858
review and fix all error codes
2025-09-23 13:55:36 +02:00
Tamo
fec10bb2d6
update cellulite to the latest version
2025-09-23 13:55:36 +02:00
Mubelotix
3dac2cf73e
Update tests
2025-09-23 13:55:36 +02:00
Mubelotix
03eca800e6
Support _geoRadius
2025-09-23 13:55:36 +02:00
Mubelotix
28fa2e960e
Tolerate trailing comma
2025-09-23 13:55:36 +02:00
Mubelotix
a3b9220f84
Improve error message
2025-09-23 13:55:36 +02:00
Mubelotix
c09d48edf2
Fix coordinates order in filters
2025-09-23 13:55:36 +02:00
Mubelotix
ae4ab0ebbb
Improve filter parser errors
2025-09-23 13:55:36 +02:00
Mubelotix
900a9a6d59
Reduce identations
2025-09-23 13:55:36 +02:00
Mubelotix
fc560e6730
Improve geo polygon errors
2025-09-23 13:55:36 +02:00
Mubelotix
e2a06470b7
Update tests
2025-09-23 13:55:36 +02:00
Mubelotix
ada27323f2
Rename file
2025-09-23 13:55:36 +02:00
Mubelotix
607a1c2395
Add geo bounding box filter
2025-09-23 13:55:36 +02:00
Mubelotix
b56956ea0c
Optimize geojson channels
2025-09-23 13:55:36 +02:00
Mubelotix
3d21290f7f
Add cellulite database sizes
2025-09-23 13:55:36 +02:00
Mubelotix
4edd4c06bc
Fix trivial clippy warnings
2025-09-23 13:55:36 +02:00
Mubelotix
566baddc6b
Optimize points removed serialization
2025-09-23 13:55:36 +02:00
Tamo
febe3186ce
improve deletion
2025-09-23 13:55:36 +02:00
Tamo
5dd42c1871
remove useless log
2025-09-23 13:55:36 +02:00
Tamo
8670793e6e
fix the cellulite spilling bug
2025-09-23 13:55:36 +02:00
Tamo
41a04aa3ab
fix the cellulite integration
2025-09-23 13:55:36 +02:00
Tamo
88f841bc05
plug in the document deletion in cellulite
2025-09-23 13:55:36 +02:00
Tamo
d19892d2ea
update to the latest version of cellulite and steppe
2025-09-23 13:55:36 +02:00
Tamo
c0905d6650
add the deletion in the new indexer
2025-09-23 13:55:36 +02:00
Tamo
576d7d94b1
fix the old indexer
2025-09-23 13:55:36 +02:00
Tamo
f4f1334b62
add a new _geoPolygon filter to query the cellulite database
2025-09-23 13:55:36 +02:00
Tamo
aaff6c3685
fmt
2025-09-23 13:55:36 +02:00
Tamo
42d2af4c84
finish plugin cellulite to the new indexer
2025-09-23 13:55:36 +02:00
Tamo
6be91c824c
Cellulite is almost in the new indexer. We must add the documentID to the geojson pipeline
2025-09-23 13:55:36 +02:00
Tamo
6ee0537db8
add an extractor for cellulite in the new pipeline
2025-09-23 13:55:36 +02:00
Tamo
3fbeff4308
add cellulite to the old pipeline, it probably doesn't works
2025-09-23 13:55:36 +02:00
Tamo
375546b61a
add a few helpers
2025-09-23 13:55:36 +02:00
Tamo
25a1d50763
add cellulite to the index
2025-09-23 13:55:36 +02:00
curquiza
6f0d26c22c
Show dependency upgrade in the changelog for full transparency
2025-09-22 18:30:34 +02:00
Louis Dureuil
4fe073cc1a
Merge pull request #5896 from meilisearch/fix-doc-template
...
Document template: Correctly render when indexing first item in array
2025-09-22 07:20:38 +00:00
Clément Renault
5cd3d36d20
Merge pull request #5897 from meilisearch/improve-prom
...
improve the prometheus content type we return
2025-09-18 16:18:16 +00:00
PedroTroller
9f4dcd04e9
Bump alpine version to 3.22
2025-09-18 17:08:36 +02:00
Tamo
d7ad76ea1e
improve the prometheus content type we return
2025-09-18 17:04:13 +02:00
Louis Dureuil
e82bb93221
Fix indexing bug
2025-09-18 16:57:20 +02:00
Clément Renault
000cb93aad
Merge pull request #5895 from meilisearch/fix-ci
...
Update the dtolnay action to 1.89
2025-09-18 14:56:45 +00:00
Tamo
ad4f5514b9
update the dtolnay action to 1.89
2025-09-18 15:52:39 +02:00
Louis Dureuil
8d29a29867
Merge pull request #5894 from meilisearch/fix-hannoy-unreachable-items
...
Bump Hannoy to fix unreachable documents
2025-09-18 13:33:34 +00:00
Kerollmops
d7de819d11
Bump Hannoy to fix unreachable documents
2025-09-18 14:26:13 +02:00
nnethercott
7a6cf30cb2
bump hannoy to 0.0.8
2025-09-18 11:23:57 +02:00
Tamo
e43d67591c
Merge pull request #5892 from meilisearch/increase-msrv
...
increase rust version from 1.85 to 1.89
2025-09-17 08:26:08 +00:00
Tamo
134237d1eb
update the toolchain for rustfmt
2025-09-16 17:45:49 +02:00
Tamo
26d9070aa7
increase rust version from 1.85 to 1.89
2025-09-16 17:21:33 +02:00
nnethercott
f9ffb8ada5
bump from hannoy 0.0.6 to 0.0.7
2025-09-16 12:00:36 +02:00
nnethercott
a47888f02c
bump hannoy to 0.6
2025-09-16 11:02:46 +02:00
nnethercott
5bef2f4d86
Update arroy-hannoy conversion internals
2025-09-15 16:10:56 +02:00
Louis Dureuil
06b3ca9eb5
Merge pull request #5890 from meilisearch/upgrade-dumpless-for-v1.21
...
Update dumpless upgrade for v1.21
2025-09-15 09:47:52 +00:00
Louis Dureuil
7dc1c03a36
Update dumpless upgrade for v1.21
2025-09-15 10:46:40 +02:00
Louis Dureuil
0b74722a73
Merge pull request #5848 from meilisearch/update-charabia-v0.9.7
...
Add Persian support (update charabia to v0.9.7)
2025-09-15 08:22:11 +00:00
ManyTheFish
0f80249b70
Update Charabia v0.9.7
2025-09-15 09:33:21 +02:00
Tamo
a9b8a60320
Merge pull request #5886 from meilisearch/fix-decoding-error
...
Allow missing `search_fragments` and `indexing_fragments`
2025-09-11 14:13:57 +00:00
Louis Dureuil
fd795c513b
add documentation warnings
2025-09-10 09:44:41 +02:00
Louis Dureuil
ce136ec0c1
Support missing search_fragments and indexing_fragments
2025-09-10 09:43:39 +02:00
Tamo
4d4f6d2c20
Merge pull request #5767 from meilisearch/arroy-becomes-hannoy
...
Add index setting to switch from arroy to hannoy
2025-09-09 17:59:45 +00:00
Louis Dureuil
4cc8fb2c5c
Add comment about upgrade procedure
...
Co-authored-by: Tamo <tamo@meilisearch.com >
2025-09-09 17:42:33 +02:00
Tamo
5d47590f3e
Merge pull request #5884 from meilisearch/fix-the-progress-trace
...
Fix the quantic progress trace
2025-09-09 15:01:19 +00:00
Louis Dureuil
16461a9145
add unit test
2025-09-09 14:58:14 +02:00
Tamo
17810394b8
fix the quantic progress trace
2025-09-09 11:04:54 +02:00
Louis Dureuil
15690b9e22
Merge branch 'main' into arroy-becomes-hannoy
2025-09-08 17:05:05 +02:00
Louis Dureuil
a8cd81c7f4
get_vector_store returns an option, handles it in Index::settings
2025-09-08 16:53:57 +02:00
Louis Dureuil
6376571df0
Add VectorStoreBackend to the list of components
2025-09-08 16:44:16 +02:00
Louis Dureuil
cfb040e647
remove extraneous space
2025-09-08 16:41:48 +02:00
Louis Dureuil
f54773781a
Revert the fake 1.22 in index-scheduler as well
2025-09-08 15:00:02 +02:00
Louis Dureuil
0fccd0ca1f
Merge pull request #5883 from meilisearch/update-to-v1.20
...
Update to v1.20
2025-09-08 08:50:48 +00:00
Louis Dureuil
226c102bab
Update snapshot and upgrade proc
2025-09-08 10:00:44 +02:00
Louis Dureuil
2940bbb75c
Update version to v1.20.0
2025-09-08 09:20:25 +02:00
Louis Dureuil
13df964564
Adopt neutral terminology where arroy/hannoy would be confusing
2025-09-03 16:11:40 +02:00
Clémentine
35b24a28aa
Merge pull request #5873 from meilisearch/dependabot/github_actions/actions/checkout-5
...
Bump actions/checkout from 3 to 5
2025-09-03 13:18:51 +00:00
Louis Dureuil
0faf495173
cargo fmt
2025-09-03 14:49:24 +02:00
Louis Dureuil
c32c74671d
Rename HannoyStats to VectorStoreStats
...
The stats can be provided by any backend
2025-09-03 14:45:31 +02:00
Louis Dureuil
b05bcf2c13
happy clippy
2025-09-03 14:13:08 +02:00
Louis Dureuil
90cc5263f6
Remove MEILI_EMBEDDINGS_CHUNK_SIZE
2025-09-03 13:57:58 +02:00
Louis Dureuil
424d0e277e
Merge branch 'main' into arroy-becomes-hannoy-with-sharding
2025-09-03 13:46:35 +02:00
Louis Dureuil
34eba61c0d
Add new tests
2025-09-03 13:42:56 +02:00
Louis Dureuil
687260bc13
Change approach to arroy <-> migration after encountering multiple issues
2025-09-02 17:49:22 +02:00
Tamo
0a3ab8e171
Merge pull request #5876 from meilisearch/specify-prometheus-protocol-version
...
Send the version when returning prometheus metrics
2025-09-02 13:24:36 +00:00
Louis Dureuil
6b6e69b07a
rename Arroy to "stable" and Hannoy to "experimental" in setting values
2025-09-02 14:52:43 +02:00
Louis Dureuil
a25111f32e
get old backend before it mutates
2025-09-02 14:52:18 +02:00
Tamo
b144d9ab2b
fix warnings
2025-09-02 14:31:24 +02:00
Tamo
c3cefbc170
send the version when returning prometheus metrics
2025-09-02 12:40:18 +02:00
Clémentine
8e2aeb6739
Merge pull request #5874 from meilisearch/dependabot/github_actions/actions/setup-java-5
...
Bump actions/setup-java from 4 to 5
2025-09-02 09:11:19 +00:00
dependabot[bot]
9c06545ae3
Bump actions/setup-java from 4 to 5
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](https://github.com/actions/setup-java/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-02 08:23:15 +00:00
dependabot[bot]
e1c859c0f7
Bump actions/checkout from 3 to 5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-02 07:44:35 +00:00
Louis Dureuil
c4848e6cc0
Set back snapshot to what it was
2025-09-01 17:56:20 +02:00
Louis Dureuil
454581dbc9
Support progress
2025-09-01 17:48:50 +02:00
Louis Dureuil
bc5100dddd
Update snap
2025-09-01 17:01:01 +02:00
Louis Dureuil
118c6da64d
Update hannoy to v0.0.5
2025-09-01 16:42:08 +02:00
Louis Dureuil
a989f52657
Fix signature of backend change function
2025-09-01 16:38:39 +02:00
Louis Dureuil
a8cc66899c
Derive ToSchema for VectorStoreBackend
2025-09-01 16:38:18 +02:00
Louis Dureuil
c9cc748f42
Mark get_vector_store as public
2025-09-01 16:37:52 +02:00
Louis Dureuil
4ccce18d7b
Add settings route
2025-09-01 16:36:24 +02:00
Louis Dureuil
00d1006cd9
add experimental feature
2025-09-01 16:35:48 +02:00
Clémentine
5cad65cca5
Merge pull request #5869 from meilisearch/dependabot/cargo/tracing-subscriber-0.3.20
...
Bump tracing-subscriber from 0.3.19 to 0.3.20
2025-09-01 14:23:26 +00:00
Tamo
7fe9d07247
Merge pull request #5858 from shreeup/5835DispProgressTrace
...
Display the progressTrace in real time
2025-09-01 10:21:36 +00:00
Louis Dureuil
8933d87031
Make backend change cancelable
2025-09-01 12:10:57 +02:00
Louis Dureuil
231f86decf
Refer to v1.19 and remove arroy -> hannoy dumpless upgrade
2025-09-01 12:10:13 +02:00
Louis Dureuil
381de52fc5
Add setting to change backend
2025-09-01 12:09:18 +02:00
dependabot[bot]
026b95afbb
Bump tracing-subscriber from 0.3.19 to 0.3.20
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.3.19 to 0.3.20.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.19...tracing-subscriber-0.3.20 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
dependency-version: 0.3.20
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-29 20:54:30 +00:00
Clémentine
210da70faf
Merge pull request #5856 from arithmeticmean/main
...
Fix scheduled CI failure
2025-08-28 17:53:59 +00:00
Louis Dureuil
5fc7872ab3
Make sure the vector store works with both arroy and hannoy
2025-08-28 16:32:47 +02:00
Many the fish
1f0a6e8a44
Merge pull request #5862 from meilisearch/release-v1.19.1
...
Bring back v1.19.1 to main
2025-08-28 12:57:48 +00:00
Louis Dureuil
b2f2807a94
Integrate arroy with conversion capabilities
2025-08-28 14:43:04 +02:00
Shree
952394710c
Merge remote-tracking branch 'origin/main' into 5835DispProgressTrace
2025-08-26 14:03:09 -07:00
Louis Dureuil
da6fffdf6d
Switch from version to backend selector
2025-08-26 17:49:56 +02:00
Louis Dureuil
b5f0c19406
Split the vector module in submodules
2025-08-26 16:32:17 +02:00
Many the fish
0fd66a5317
Merge pull request #5860 from meilisearch/update-version-v1.19.1
...
Update version for the next release (v1.19.1) in Cargo.toml
2025-08-26 11:43:23 +00:00
Many the fish
cb4dd3b88c
Merge pull request #5846 from meilisearch/update-arroy-v0.6.2
...
Update Arroy v0.6.2
2025-08-26 12:01:06 +02:00
ManyTheFish
0ade376b00
update version tests
2025-08-26 11:57:27 +02:00
ManyTheFish
32785cb2d0
Update version for the next release (v1.19.1) in Cargo.toml
2025-08-26 08:39:16 +00:00
Louis Dureuil
fb7ccc0db3
remove v1_17
2025-08-26 10:25:20 +02:00
Louis Dureuil
69a84fbfe6
update to v1.22
2025-08-26 10:25:19 +02:00
Clément Renault
31cb960992
Make clippy happy
2025-08-26 10:19:55 +02:00
Clément Renault
6d9e0c4bce
Switch to hannoy 0.0.4
2025-08-26 10:19:54 +02:00
Kerollmops
a8e9597f49
Make cargo insta happy
2025-08-26 10:19:54 +02:00
Kerollmops
f4147a60a3
Remove the vector_store reference
2025-08-26 10:19:54 +02:00
Clément Renault
5139dd273e
Depend on Hannoy from crates.io
2025-08-26 10:19:54 +02:00
Mubelotix
72c63d3929
Move code to the right file
2025-08-26 10:19:54 +02:00
Clément Renault
97ea9e9937
Make cargo fmt happy
2025-08-26 10:19:54 +02:00
Clément Renault
4645813ea8
Make clippy happy
2025-08-26 10:19:54 +02:00
Clément Renault
fb68f1241c
Dispatch the vector store based on the index version
2025-08-26 10:19:54 +02:00
Clément Renault
f5f2f7c6f2
Make the VectorStore aware of the index version
2025-08-26 10:19:53 +02:00
Clément Renault
6340412219
Expose Hannoy progress when upgrading
2025-08-26 10:19:53 +02:00
Louis Dureuil
6e4dfa0168
First version of Hannoy dumpless upgrade
2025-08-26 10:19:52 +02:00
Louis Dureuil
5cf66856ae
Merge pull request #5859 from meilisearch/revert-5857-license-detection
...
Revert "Fix license detection"
2025-08-26 07:53:17 +00:00
Clément Renault
0d4b78a217
Integrate the hannoy progress
2025-08-26 09:44:23 +02:00
Kerollmops
aef07f4bfa
wip: Use Hamming when binary quantized
2025-08-26 09:44:23 +02:00
Clément Renault
0b3f983d27
Always use at least an ef = 100 when searching
2025-08-26 09:44:23 +02:00
Clément Renault
52d55ccd8e
Switch to hannoy with support for deletions
2025-08-26 09:44:23 +02:00
Kerollmops
6d92c94bb3
Add a missing cancelation call for hannoy
2025-08-26 09:44:23 +02:00
Kerollmops
30110a0488
Reintroduce changing the distance from Cosine to Cosine binary quantized
2025-08-26 09:44:22 +02:00
Kerollmops
47cee7e1ea
Bump Hannoy's version
2025-08-26 09:44:22 +02:00
Clément Renault
493d67ffd4
Increase efSearch from x2 to x10
2025-08-26 09:44:22 +02:00
Clément Renault
2b2559016a
Increase efConstruction from 48 to 125
2025-08-26 09:44:22 +02:00
Clément Renault
6176b143bb
remove-me: Introduce an env var to change the embeddings chunk size
2025-08-26 09:44:22 +02:00
Kerollmops
f9d0d1ddd6
Bump hannoy
2025-08-26 09:44:22 +02:00
Kerollmops
e50f970ab8
Use a more feature-full Hannoy version
2025-08-26 09:44:21 +02:00
Clément Renault
27550dafad
Reintroduce arroy and support for dumpless upgrade from previous versions
2025-08-26 09:44:21 +02:00
Clément Renault
a7cd6853db
Rename the vector store const name and keep the vector-arroy db name
2025-08-26 09:44:21 +02:00
Clément Renault
f51f7832a7
Rename the ArroyWrapper/HannoyWrapper into VectorStore
2025-08-26 09:44:21 +02:00
Clément Renault
a38a57acb6
Use constants as the hannoy default parameters
2025-08-26 09:44:21 +02:00
Kerollmops
affcaef556
Use Hannoy instead of arroy
2025-08-26 09:44:21 +02:00
Clémentine
7acac2f560
Revert "Fix license detection"
2025-08-26 08:51:07 +02:00
Shree
b68431367f
run cargo fmt
2025-08-25 23:47:24 -07:00
Shree
79d3d1606c
Display the progressTrace in real time #5835
2025-08-25 23:33:26 -07:00
Louis Dureuil
580bfb06b4
Merge pull request #5857 from meilisearch/license-detection
...
Fix license detection
2025-08-25 18:28:55 +00:00
curquiza
062c9c6971
Fix links
2025-08-25 19:39:24 +02:00
curquiza
07ed5c57e4
Fix license detection
2025-08-25 19:12:28 +02:00
Louis Dureuil
a94a13c9b0
Merge pull request #5849 from meilisearch/tmp-v1.19
...
Prepare for v1.19 release
2025-08-25 07:03:27 +00:00
arithmeticmean
938ef77ee5
Fix scheduled CI failure
...
Disabled default features on the meilisearch dependency in one crate to
prevent lindera from being pulled in during the scheduled CI build
2025-08-23 19:30:26 +05:30
Clément Renault
9dcdde592c
Merge pull request #5729 from martin-g/5616-max-memory-in-container
...
Take into account the allowed max memory of the container
2025-08-21 14:43:32 +00:00
Louis Dureuil
7de44ad2b7
Add v1.19 in index-scheduler and index upgrades
2025-08-21 16:37:35 +02:00
Louis Dureuil
820854ba5c
Update snapshots
2025-08-21 16:37:23 +02:00
Louis Dureuil
496de5563a
Update version in Cargo.toml
2025-08-21 16:36:56 +02:00
ManyTheFish
0a86b1e11e
Update Arroy v0.6.2
...
The new version of arroy contains a search optimization when there is few input candidates compared to the number of documents in the database
2025-08-21 09:37:17 +02:00
Clément Renault
795045c03a
Merge pull request #5784 from meilisearch/sharding-split-docs
...
Sharding and EE license
2025-08-19 14:17:37 +00:00
Louis Dureuil
b541b7bed3
Change license text to clarify that EE files are in EE modules
2025-08-19 14:50:42 +02:00
Louis Dureuil
6fb3cf95e4
Move EE files into EE modules
2025-08-19 14:50:42 +02:00
Louis Dureuil
cbd2bdf0fa
Fix snapshots
2025-08-19 14:50:42 +02:00
Louis Dureuil
601785692f
Remove erroneous untagged annotation
2025-08-19 14:50:42 +02:00
Louis Dureuil
65c212d1fd
camel case the fields in "origin"
2025-08-19 14:50:42 +02:00
Louis Dureuil
85feb3a26c
Rename Body::with_file
2025-08-19 14:50:42 +02:00
Louis Dureuil
d550b90c60
Adjust timeouts
2025-08-19 14:50:42 +02:00
Louis Dureuil
385acbbcd2
Don't always hardcode Content-Type in proxy
2025-08-19 14:50:41 +02:00
Louis Dureuil
484dbf8c06
Update snap
2025-08-19 14:50:41 +02:00
Louis Dureuil
9c6c0af076
Misc churn
2025-08-19 14:50:41 +02:00
Louis Dureuil
e33fbcf7b2
Move meilisearch_types::Network to its own module
2025-08-19 14:50:41 +02:00
Louis Dureuil
d352f33d16
Make types Serialize and Deserialize for proxying
2025-08-19 14:50:41 +02:00
Louis Dureuil
3682b92ee8
New errors
2025-08-19 14:50:41 +02:00
Louis Dureuil
ef10c1fb23
Dependency changes
2025-08-19 14:50:41 +02:00
Louis Dureuil
bd97a7cc19
IndexScheduler::update_task now merges the task.network and accepts &mut Task
2025-08-19 14:50:41 +02:00
Louis Dureuil
56c7f54804
IndexScheduler::set_task_network
2025-08-19 14:50:41 +02:00
Louis Dureuil
15d34c33e8
file-store: persist returns the persisted File object
2025-08-19 14:50:40 +02:00
Louis Dureuil
42ac869c5c
Dump support for network
2025-08-19 14:50:40 +02:00
Louis Dureuil
6e0152921f
Proxy all document tasks to the network when sharding is enabled
2025-08-19 14:50:40 +02:00
Louis Dureuil
069d25dce6
Shard documents
2025-08-19 14:50:40 +02:00
Louis Dureuil
9929f798d3
network: add sharding to Network and writeApiKey to Remotes
2025-08-19 14:50:40 +02:00
Louis Dureuil
80ff438402
Add proxy module to proxy requests to members of a network
2025-08-19 14:50:40 +02:00
Louis Dureuil
e62a807b60
Add new milli::update: 🆕 :indexer::sharding module
2025-08-19 14:50:40 +02:00
Louis Dureuil
907055ed08
Add network to Task and TaskView
2025-08-19 14:50:39 +02:00
Louis Dureuil
8b18adee95
Add EE license
2025-08-19 14:50:39 +02:00
Clément Renault
53223ace47
Merge pull request #5844 from meilisearch/prepare-v1.18
...
Prepare v1.18.0
2025-08-18 11:34:53 +00:00
Mubelotix
a579ea2596
Remove useless code
2025-08-18 10:30:29 +02:00
Mubelotix
e13541818a
Update upgrade tests
2025-08-18 09:48:44 +02:00
Mubelotix
c974f0ab0a
Update dumpless upgrades
2025-08-18 09:44:55 +02:00
Mubelotix
36cac8acf7
Update package version
2025-08-18 09:44:40 +02:00
Tamo
5507a73b23
Merge pull request #5829 from meilisearch/index-rename
...
Index rename
2025-08-14 15:39:28 +00:00
Tamo
a608e57c3c
Merge pull request #5741 from meilisearch/fragment-filters
...
Vector filters
2025-08-13 16:39:02 +00:00
Mubelotix
398efa3c55
Merge branch 'main' into fragment-filters
2025-08-13 17:27:09 +02:00
Mubelotix
307ea38c2a
Remove old irrelevant tests
2025-08-13 17:19:37 +02:00
Mubelotix
cdeca59587
Add error message for quoting errors
2025-08-13 17:14:36 +02:00
Mubelotix
8529e2161a
Clarify more errors
2025-08-13 13:37:19 +02:00
Mubelotix
b80869f2be
Add two other "did you mean" messages
2025-08-13 13:16:25 +02:00
Mubelotix
666ae1a3e7
Add "did you mean" message
2025-08-13 13:00:38 +02:00
Mubelotix
f6559258ce
Improve operation error on vector filters
2025-08-13 10:32:28 +02:00
Mubelotix
b5ba0e42b3
Add new error
2025-08-13 09:58:16 +02:00
Tamo
b0479eb996
make it work with the dump and dumpless upgrade
2025-08-13 09:54:34 +02:00
Tamo
2bab375001
update the task details again
2025-08-13 09:54:32 +02:00
Tamo
81020c7d6d
remove a duplicated test
2025-08-13 09:51:51 +02:00
Tamo
4068c58417
change the details of the tasks
2025-08-13 09:51:49 +02:00
Tamo
a904ce109a
fix error code and add a bunch of tests for the swap and index rename
2025-08-13 09:48:39 +02:00
Tamo
ecea247e5d
Provide a rename argument to the swap
2025-08-13 09:48:39 +02:00
Tamo
ae5bd9d0e3
fix: updated_at was not 'updated' when updating the index name
2025-08-13 09:48:39 +02:00
Quentin de Quelen
ae2d0a67a4
Enhance index update functionality to support renaming by adding new_uid field. Update related structures and methods to handle the new index UID during updates, ensuring backward compatibility with existing index operations.
2025-08-13 09:48:39 +02:00
Quentin de Quelen
0f1c78b185
Add index rename feature
2025-08-13 09:48:39 +02:00
Mubelotix
300f5ce0f4
Merge pull request #5778 from meilisearch/retrieve-query-vectors
...
Return query vector
2025-08-13 07:39:15 +00:00
curquiza
d52c7dcc94
Add needs: check-version
2025-08-12 20:47:43 +02:00
Clémentine
3240d89e81
Merge pull request #5830 from meilisearch/v1-17-1
...
Update version for v1.17.1
2025-08-12 15:43:28 +00:00
Clément Renault
63a649fd7d
Merge pull request #5831 from meilisearch/fix-ci
...
Fix update-cargo-version CI
2025-08-12 14:16:22 +00:00
curquiza
b9e014c044
Update snapshots
2025-08-12 15:36:28 +02:00
curquiza
9021cb4258
Fix update-cargo-version CI
2025-08-12 14:55:57 +02:00
curquiza
de52fe91f5
Update version
2025-08-12 14:52:50 +02:00
Tamo
97ecbb53ff
Merge pull request #5823 from meilisearch/ci-open-api
...
Add CI to publish OpenAPI file
2025-08-12 12:38:05 +00:00
curquiza
14b1a3300b
Fix indentation
2025-08-12 10:07:34 +02:00
Clément Renault
f4903c2fe7
Merge pull request #5824 from meilisearch/curquiza-patch-1
...
Update release doc (again)
2025-08-12 06:33:40 +00:00
Clément Renault
3d271c25c7
Merge pull request #5815 from meilisearch/curquiza-patch-2
...
Minor update for release process
2025-08-11 17:14:48 +00:00
curquiza
3c84010403
Minor change in CI manifest
2025-08-11 18:31:30 +02:00
curquiza
a69af611e3
Add documentation
2025-08-11 18:29:52 +02:00
Clémentine
1f126a2d8a
Update release doc (again)
2025-08-11 18:23:37 +02:00
curquiza
c5b325de30
Fix rustfmt
2025-08-11 18:15:42 +02:00
curquiza
100a6f96e4
Minor change
2025-08-11 18:11:23 +02:00
curquiza
3c583ce7a4
Fix linting
2025-08-11 18:10:39 +02:00
curquiza
0881810780
Add CI to publish OpenAPI file
2025-08-11 18:09:54 +02:00
Tamo
b7f32c5acd
Merge pull request #5817 from meilisearch/fix-dumpless-upgrade
...
fix the dumpless upgrade again
2025-08-11 15:29:54 +00:00
Tamo
8f04529ba2
Merge pull request #5816 from meilisearch/webhook-telemetry
...
Update webhook telemetry events
2025-08-11 15:13:41 +00:00
Tamo
54b85b8644
fix the dumpless upgrade again
2025-08-11 16:37:09 +02:00
Mubelotix
562c620fec
Update webhook telemetry events
2025-08-11 16:21:14 +02:00
Clémentine
68280bad9e
Minor update for release process
2025-08-11 14:28:38 +02:00
Clément Renault
33bc86d71a
Merge pull request #5810 from meilisearch/curquiza-patch-1
...
Add category to release draft
2025-08-11 11:57:51 +00:00
Mubelotix
3f20c1aa5d
Merge branch 'main' into retrieve-query-vectors
2025-08-11 13:01:27 +02:00
curquiza
b265c92852
Thank contributors better
2025-08-11 12:17:10 +02:00
Clémentine
759beed560
Add category in release draft
2025-08-07 18:15:29 +02:00
Mubelotix
5df125cbb7
Format
2025-08-07 09:31:05 +02:00
Mubelotix
74992560b0
Simplify conditions
2025-08-07 09:28:45 +02:00
Tamo
2035f342f0
Merge pull request #5807 from meilisearch/patch-chat-settings
...
Turn chat settings to `PATCH`
2025-08-06 14:17:30 +00:00
Tamo
27fed758c2
Merge pull request #5806 from meilisearch/update-to-v1-17-0
...
Update version to v1.17.0
2025-08-06 13:33:51 +00:00
Mubelotix
3ead985caf
Fix issue #5772
2025-08-06 15:02:25 +02:00
Mubelotix
e302e9edd3
Add test for task
2025-08-06 15:02:15 +02:00
Tamo
1fdf820931
Update version to v1.17.0
2025-08-06 12:12:52 +02:00
Tamo
b4f2eeac0a
Merge pull request #5803 from meilisearch/curquiza-patch-1
...
Minor docs update about release.md
2025-08-06 09:14:57 +00:00
Tamo
7e3f2ab0c6
Merge pull request #5785 from meilisearch/webhook-api
...
Webhook api
2025-08-05 18:10:00 +00:00
Tamo
899be9c3ff
make sure we NEVER ever write the cli defined webhook to the database or dumps
2025-08-05 18:55:32 +02:00
Clément Renault
444231e812
Merge pull request #5804 from meilisearch/curquiza-patch-2
...
Minor fix in PR template
2025-08-05 15:11:23 +00:00
Mubelotix
1ff6da63e8
Make errors singular
2025-08-05 16:58:25 +02:00
Mubelotix
b5158e1e83
Fix cli webhook getting stored in dumps
2025-08-05 16:58:25 +02:00
Tamo
3f1e172c6f
fix race condition: take the rtxn before entering the thread so we're sure we won't try to retrieve deleted tasks
2025-08-05 16:47:35 +02:00
Tamo
2b5b41790e
update the dump so it doesn't contains the null-uuid webhook
2025-08-05 16:21:14 +02:00
Mubelotix
55cd3203fe
Merge pull request #5783 from meilisearch/starts-with-optim
...
Optimize the starts_with filter
2025-08-05 14:10:10 +00:00
Mubelotix
c385cf985b
Fix tests
2025-08-05 15:55:31 +02:00
Clémentine
45bb13bf43
Minor fix in PR template
2025-08-05 15:42:56 +02:00
Clémentine
095cba8fba
Minor docs update about release.md
2025-08-05 15:29:42 +02:00
Mubelotix
2121819c66
Fix tests
2025-08-05 14:18:45 +02:00
Mubelotix
2f33cd5f0a
Merge branch 'main' into fragment-filters
2025-08-05 14:05:15 +02:00
Mubelotix
2f5101a1e4
Merge branch 'main' into retrieve-query-vectors
2025-08-05 14:02:25 +02:00
Mubelotix
3a9b08960a
Add test
2025-08-05 13:49:28 +02:00
Mubelotix
c4e7bf2e60
Stabilize STARTS WITH filter
2025-08-05 12:14:25 +02:00
Mubelotix
4f6a48c327
Stop storing the cli webhook in the db
2025-08-05 11:44:53 +02:00
Tamo
4c61a227ca
fmt after my suggestion
2025-08-05 11:29:54 +02:00
Tamo
3d2c204f2d
Update crates/milli/src/search/facet/filter.rs
2025-08-05 11:26:10 +02:00
Mubelotix
8b27dec25c
Test that the cli webhook receives data
2025-08-05 11:19:21 +02:00
Mubelotix
a9c924b433
Turn url back into a setting
2025-08-05 11:16:34 +02:00
Mubelotix
6cb2296644
Update tests
2025-08-05 11:10:48 +02:00
Mubelotix
b2d157a74a
Remove dbg
...
Co-Authored-By: Thomas Campistron <irevoire@hotmail.fr >
2025-08-05 10:49:21 +02:00
Mubelotix
386cf83285
Improve webhook settings
2025-08-05 10:48:39 +02:00
Mubelotix
8ef1a50086
Add hint
...
Co-Authored-By: Thomas Campistron <irevoire@hotmail.fr >
2025-08-05 10:42:39 +02:00
Mubelotix
84651ffd7d
Remove hardcoded buffer size
...
Co-Authored-By: Thomas Campistron <irevoire@hotmail.fr >
2025-08-05 10:41:28 +02:00
Mubelotix
43c20bb3ed
Add missing actions in from_repr
...
Co-Authored-By: Thomas Campistron <irevoire@hotmail.fr >
2025-08-05 10:39:52 +02:00
Mubelotix
d340013d8b
Change error name
2025-08-05 10:35:12 +02:00
Mubelotix
8a44d9faef
Merge branch 'main' into webhook-api
2025-08-05 10:32:36 +02:00
Mubelotix
afb367c7f4
Update old comment
2025-08-05 10:29:39 +02:00
Mubelotix
84bcf9785f
Merge branch 'main' into starts-with-optim
2025-08-05 10:27:45 +02:00
Mubelotix
fc814b7537
Apply review suggestion
2025-08-05 10:25:14 +02:00
Clémentine
0865d8af6c
Merge pull request #5766 from meilisearch/release-process-change
...
Release process change
2025-08-05 07:07:46 +00:00
Clément Renault
cac884401f
Merge pull request #5800 from meilisearch/tmp-release-v1.16.0
...
Bring back changes to main
2025-08-04 16:34:24 +00:00
Mubelotix
7251cccd03
Make notify_webhooks execute in its own thread
2025-08-04 17:13:05 +02:00
Mubelotix
ddfcacbb62
Add nice error message for users trying to set uuid or isEditable
2025-08-04 16:53:41 +02:00
Mubelotix
3b26d64a5d
Edit reserved webhook message
2025-08-04 16:39:34 +02:00
Mubelotix
3b0f576d56
Improve invalid uuid error message
2025-08-04 16:38:00 +02:00
Clément Renault
454f8b36f4
Make clippy happy
2025-08-04 16:36:46 +02:00
Mubelotix
1754745c42
Add URL and header validity checks
2025-08-04 16:26:20 +02:00
Clément Renault
6f30dfa41c
Merge remote-tracking branch 'origin/main' into tmp-release-v1.16.0
2025-08-04 16:06:51 +02:00
Tamo
33350248c8
Merge pull request #5773 from meilisearch/snapshotception
...
Fix snapshotCreation task being included in snapshot
2025-08-04 13:53:43 +00:00
Mubelotix
69c59d3de3
Update security in utoipa
2025-08-04 15:43:37 +02:00
Mubelotix
8dfebbb3e7
Fix tests
2025-08-04 15:37:12 +02:00
Mubelotix
737ad3ec19
Add new api key actions
2025-08-04 15:00:45 +02:00
Mubelotix
4ec4710811
Improve logs
2025-08-04 15:00:26 +02:00
Mubelotix
c5caac95dd
Format
2025-08-04 14:51:23 +02:00
Mubelotix
7acbb1e140
Remove PATCH /webhooks
2025-08-04 14:49:27 +02:00
Clémentine
a5e5afd123
Merge pull request #5794 from meilisearch/dependabot/github_actions/sigstore/cosign-installer-3.9.2
...
Bump sigstore/cosign-installer from 3.8.2 to 3.9.2
2025-08-04 12:39:40 +00:00
Clémentine
c70e9abf70
Merge pull request #5795 from meilisearch/dependabot/github_actions/svenstaro/upload-release-action-2.11.2
...
Bump svenstaro/upload-release-action from 2.11.1 to 2.11.2
2025-08-04 12:10:03 +00:00
curquiza
f8d70249a7
Update process with Ruleset branch addition
2025-08-04 13:59:11 +02:00
Clémentine
a2c96d40d3
Merge pull request #5798 from meilisearch/update-minidashboard-v0.2.22
...
Update mini-dashboard v0.2.22
2025-08-04 10:40:12 +00:00
Clément Renault
05dd8e0d62
update mini-dashboard to v0.2.22
2025-08-04 11:14:10 +02:00
Clémentine
4182e631d6
Potential fix for code scanning alert no. 63: Workflow does not contain permissions
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-08-04 09:59:54 +02:00
dependabot[bot]
ddea0b1570
Bump svenstaro/upload-release-action from 2.11.1 to 2.11.2
...
Bumps [svenstaro/upload-release-action](https://github.com/svenstaro/upload-release-action ) from 2.11.1 to 2.11.2.
- [Release notes](https://github.com/svenstaro/upload-release-action/releases )
- [Changelog](https://github.com/svenstaro/upload-release-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/svenstaro/upload-release-action/compare/2.11.1...2.11.2 )
---
updated-dependencies:
- dependency-name: svenstaro/upload-release-action
dependency-version: 2.11.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-01 17:05:02 +00:00
dependabot[bot]
beb532e2a7
Bump sigstore/cosign-installer from 3.8.2 to 3.9.2
...
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ) from 3.8.2 to 3.9.2.
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](3454372f43...d58896d6a1 )
---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
dependency-version: 3.9.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-01 17:04:58 +00:00
Mubelotix
be045a7636
Merge branch 'release-v1.16.0' into fragment-filters
2025-08-01 09:04:12 +02:00
Mubelotix
e3a6d63b52
Add utoipa types
2025-08-01 08:42:27 +02:00
Clément Renault
6f8c414a75
Merge pull request #5791 from meilisearch/update-minidashboard-v0.2.21
...
update mini-dashboard to v0.2.21
2025-07-31 16:13:35 +00:00
ManyTheFish
2ec80a1ae2
update mini-dashboard to v0.2.21
2025-07-31 17:14:38 +02:00
Mubelotix
ed147f80ac
Add test and fix bug
2025-07-31 16:45:30 +02:00
Clément Renault
c37ed05f49
Merge pull request #5790 from meilisearch/adapt-go-ci
...
Adapt Go CI to recent change in the Go repo
2025-07-31 14:20:33 +00:00
curquiza
c1a5a545b6
Adapt Go CI to recent change in the Go repo
2025-07-31 15:23:45 +02:00
Mubelotix
35537e0b0b
Add single_receives_data test
2025-07-31 14:12:09 +02:00
Mubelotix
ee80fc87c9
Add test for patch endpoint
2025-07-31 13:00:43 +02:00
Clémentine
bb43bf122e
Update .github/pull_request_template.md
...
Co-authored-by: Louis Dureuil <louis@meilisearch.com >
2025-07-31 12:55:19 +02:00
Mubelotix
34590297c1
Add patch webhook endpoint
2025-07-31 12:53:57 +02:00
Mubelotix
9e43f7b419
Update tests
2025-07-31 12:44:35 +02:00
Mubelotix
94733a4a18
Add delete endpoint
2025-07-31 12:38:14 +02:00
Mubelotix
ad68245186
Update tests
2025-07-31 12:33:34 +02:00
Mubelotix
29fb4d5e2a
Add post webhook route
2025-07-31 12:27:12 +02:00
Mubelotix
ca27bcaac7
Update tests
2025-07-31 11:34:47 +02:00
Mubelotix
53397e28fc
Replace name by uuid
2025-07-31 11:19:46 +02:00
Mubelotix
7c2c17129f
Add get webhook route
2025-07-31 10:59:06 +02:00
Mubelotix
446fce6c16
Extract logic from route
2025-07-31 10:01:25 +02:00
Clément Renault
a99538cd5f
Merge pull request #5787 from meilisearch/chat-update-metrics-name
...
feat(chat): update prometheus metrics name
2025-07-31 07:58:07 +00:00
Mubelotix
f67043801b
Add a test for concurrent cli and dump
2025-07-31 09:35:16 +02:00
nicolasvienot
941da56ee3
fix linter
2025-07-31 06:49:53 +02:00
nicolasvienot
41262b008b
feat(chat): update metrics name
2025-07-30 17:55:02 +02:00
Mubelotix
fc4c5d2718
Add dump test
2025-07-30 16:16:12 +02:00
Mubelotix
a75b327b37
Add test for webhooks over limits
2025-07-30 15:59:19 +02:00
Mubelotix
c70ae91d34
Add test for reserved webhooks
2025-07-30 15:52:24 +02:00
Mubelotix
e88480c7c4
Fix reserved name check
2025-07-30 15:44:51 +02:00
Mubelotix
b565ec1497
Test cli behavior
2025-07-30 15:44:42 +02:00
Mubelotix
3e77c1d8c8
Add reserved webhook
2025-07-30 15:23:06 +02:00
Mubelotix
dc7af47371
Add new errors
2025-07-30 15:18:43 +02:00
Mubelotix
064d9d5ff8
Add dump support
2025-07-30 15:06:37 +02:00
Mubelotix
93f8b31eec
Fix tests
2025-07-30 12:52:01 +02:00
Mubelotix
466e1a7aac
Support legacy cli arguments
2025-07-30 12:25:59 +02:00
Mubelotix
cc37eb870f
Initial implementation
2025-07-30 12:01:40 +02:00
Mubelotix
5567653c96
Fix network documentation
2025-07-29 16:47:28 +02:00
Mubelotix
5e867f7ce0
Add webhooks api key action
2025-07-29 16:47:20 +02:00
Mubelotix
60acdf8574
Fix grammar
...
Co-Authored-By: Louis Dureuil <louis.dureuil@xinra.net >
2025-07-29 11:05:16 +02:00
Mubelotix
93864009cc
Rename variable with typo
...
Co-Authored-By: Louis Dureuil <louis.dureuil@xinra.net >
2025-07-29 11:04:08 +02:00
Mubelotix
223df5a433
Remove incorrect break
2025-07-29 11:02:59 +02:00
Mubelotix
3580b3a4ef
Remove userProvided from fragments
2025-07-29 10:56:54 +02:00
Mubelotix
66b6e47494
Remove warning
2025-07-29 10:52:21 +02:00
Mubelotix
6c3dd83ae5
Fix old test
2025-07-29 09:03:48 +02:00
Mubelotix
48a5f4db2d
Improve comment
2025-07-28 16:42:33 +02:00
Mubelotix
224892e692
Enable new algorithm every time
2025-07-28 16:28:06 +02:00
Mubelotix
691a9ae4b1
Format
2025-07-28 16:24:11 +02:00
Mubelotix
e8a818f53d
Optimize the filter
2025-07-28 16:24:04 +02:00
Mubelotix
478f374b9d
Add benchmark
2025-07-28 16:23:26 +02:00
Louis Dureuil
d4c88f28f3
Merge pull request #5780 from meilisearch/fix-api-keys
...
Fix api key action inconsistencies
2025-07-28 10:33:48 +00:00
Mubelotix
d90c76d3cc
Update tests
2025-07-28 11:35:15 +02:00
Mubelotix
f6bc6854f8
Fix key action inconsistencies
2025-07-28 11:10:55 +02:00
Mubelotix
10567b150c
Continue updating tests
2025-07-25 14:25:35 +02:00
Mubelotix
a439f57d70
Update tests
2025-07-25 13:41:31 +02:00
Mubelotix
d243504296
Improve test
2025-07-25 11:58:34 +02:00
Mubelotix
a7fe2abca4
Implement for multi-search
2025-07-25 11:45:51 +02:00
Mubelotix
26da478b5b
Add query vector to response
2025-07-24 17:27:49 +02:00
Mubelotix
13d38d59bf
Remove useless import
2025-07-24 15:44:11 +02:00
Mubelotix
4264abda23
Remove debugs
2025-07-24 15:30:36 +02:00
Mubelotix
dbb670a9ee
Remove old split function
2025-07-24 15:28:58 +02:00
Mubelotix
a92e36ab83
Small improvements
2025-07-24 15:28:17 +02:00
Mubelotix
ad06828685
Add tests on parser
2025-07-24 15:24:42 +02:00
Mubelotix
8f1b697b91
Format
2025-07-24 14:57:06 +02:00
Mubelotix
bb4d573862
Switch to a nom parser
2025-07-24 14:56:35 +02:00
Mubelotix
aa5a1f333a
Refactor to support less combinations
2025-07-23 15:33:17 +02:00
Mubelotix
1f18f0ba77
Update little tiny comments
2025-07-23 14:33:58 +02:00
Mubelotix
44b24652d2
Change strategy to remove task instead of marking it succeeded
2025-07-23 14:30:25 +02:00
Mubelotix
5dcf79233e
Remove useless parameter
...
Co-Authored-By: Tamo <tamo@meilisearch.com >
2025-07-23 11:30:39 +02:00
Clément Renault
42001a25ff
Merge pull request #5770 from meilisearch/fix/update-index-chat-settings
...
fix: index chat settings `searchParameters` incorrectly set with `limit: 20` when sending empty object
2025-07-22 13:26:01 +00:00
Mubelotix
846d27354b
Format
2025-07-22 15:18:21 +02:00
Mubelotix
c1aa4120ac
Update test
2025-07-22 15:18:13 +02:00
Mubelotix
6394efc4c2
Turn dirty fix into beautiful fix
2025-07-22 15:17:26 +02:00
Mubelotix
9716834380
Initial fix
2025-07-22 14:31:42 +02:00
Mubelotix
2f2e42e72d
Add test for issue #4653
2025-07-22 12:33:18 +02:00
Mubelotix
776e55d209
Improve code readability
2025-07-22 11:37:21 +02:00
Mubelotix
3362fb8476
Remove print
2025-07-22 11:21:06 +02:00
Mubelotix
6d93b36279
Format
2025-07-22 11:18:41 +02:00
Mubelotix
982e989886
Test regenerate filter
2025-07-22 11:10:05 +02:00
Mubelotix
0014ed3114
Apply review suggestions
2025-07-22 10:56:05 +02:00
Louis Dureuil
080d5f94dd
Merge pull request #5763 from meilisearch/embedding-fixes
...
Regenerate all fragments when coming from a user provided vector
2025-07-22 08:35:07 +00:00
nicolasvienot
ba0f50e5ef
fix: update default deserialization for ChatSearchParams limit field
2025-07-22 10:24:18 +02:00
Mubelotix
ab07e9480e
Resolve post-merge issues
2025-07-21 18:22:10 +02:00
Mubelotix
00e957051e
Merge remote-tracking branch 'origin/release-v1.16.0' into fragment-filters
2025-07-21 18:19:45 +02:00
Louis Dureuil
ce6230aa85
Merge pull request #5762 from meilisearch/new-document-indexer-for-dumps
...
Use the edition 2024 documents indexer in the dumps
2025-07-21 14:53:43 +00:00
Louis Dureuil
6dc241f9de
Fix tests
2025-07-21 15:11:24 +02:00
Louis Dureuil
01d1ef65c4
Update search and docs usages
2025-07-21 15:11:24 +02:00
Louis Dureuil
3246667590
when exporting vectors, for regenerate to false when the embedder has fragments
2025-07-21 15:11:24 +02:00
Louis Dureuil
109395c199
Index::embeddings specifies if the embedder has fragments
2025-07-21 15:11:24 +02:00
Louis Dureuil
a0b71a8785
EmbedderOptions::has_fragments()
2025-07-21 15:11:24 +02:00
Louis Dureuil
00a5c86f13
Remove accidentally added db snap
2025-07-21 15:11:24 +02:00
Louis Dureuil
366c37a686
Fix new indexer
2025-07-21 15:11:23 +02:00
Louis Dureuil
afc164a271
Fix in old indexer
2025-07-21 15:11:23 +02:00
Kerollmops
bdc2d1e64d
Move the edition 2024 dump parameter to the right place
2025-07-21 14:50:05 +02:00
curquiza
f3b60a1dab
Minor update on doc
2025-07-20 22:20:08 +02:00
curquiza
cd0523c3f1
Remove run of SDK test on PR because cannot work
2025-07-20 22:13:07 +02:00
curquiza
7f318ee964
Adapt issue template
2025-07-20 22:11:30 +02:00
curquiza
dc1656da8e
Adapt automation
2025-07-20 22:11:14 +02:00
curquiza
dc0bd9f25d
Add release drafter
2025-07-20 22:10:35 +02:00
curquiza
52d8007b12
Add pull request template
2025-07-20 22:10:17 +02:00
curquiza
4f8382b159
Remove useless automation
2025-07-20 22:07:59 +02:00
curquiza
c2c82be556
Update documentation
2025-07-20 22:07:23 +02:00
Tamo
0312fb22b8
Merge pull request #5761 from meilisearch/fix-chat-settings-dumpless-upgrade
...
Fix chat settings dumpless upgrade
2025-07-17 15:57:39 +00:00
Clément Renault
b85657de1e
Update memmap2 version everywhere
2025-07-17 17:30:44 +02:00
Clément Renault
626be0ef28
Small typo fix
...
Co-authored-by: Louis Dureuil <louis@meilisearch.com >
2025-07-17 17:27:00 +02:00
Clément Renault
1b476b8a35
Add documentation to the new documents_file dump reader method
...
Co-authored-by: Louis Dureuil <louis@meilisearch.com >
2025-07-17 17:26:41 +02:00
Clément Renault
a1b42c10e2
Make clippy happy
2025-07-17 17:21:03 +02:00
Clément Renault
d67db6e3c2
Use the edition 2024 documents indexer in the dumps
2025-07-17 17:12:51 +02:00
Clément Renault
760ccffdbd
Expose the documents files from the dumps
2025-07-17 17:12:51 +02:00
Clément Renault
338806283b
Do not track meilisearch databases
2025-07-17 17:12:51 +02:00
Clément Renault
fe15e11c9d
Introduce a new CLI and env var to use the old document indexer when
...
importing dumps
2025-07-17 17:12:51 +02:00
Clément Renault
f1d92bfead
Make sure the new filter chat setting is set to it's default value if
...
missing
2025-07-17 15:36:21 +02:00
Clément Renault
a005a062da
Add security if chat settings parameters are missing
2025-07-17 15:27:53 +02:00
Clément Renault
fd8b2451d7
Merge pull request #5754 from kametsun/fix/incorrect-stats-doc-count
...
Fix incorrect document count in stats after clearing all documents
2025-07-17 06:48:51 +00:00
Louis Dureuil
058f9ffda5
Merge pull request #5734 from meilisearch/request-fragments-test
...
Tests for multimodal
2025-07-16 11:04:00 +00:00
Louis Dureuil
5d363205a5
Merge pull request #5716 from meilisearch/document-sorting
...
Allow sorting on the /documents route
2025-07-16 10:26:50 +00:00
Mubelotix
a683faa882
Apply review suggestions
2025-07-16 11:03:24 +02:00
Tamo
421a23ee3d
Merge pull request #3265 from LeSuisse/sign-container-image-cosign
...
Sign container image using Cosign in keyless mode
2025-07-16 08:54:57 +00:00
Thomas Gerbet
191ea340ed
Sign container image using Cosign in keyless mode
...
Cosign keyless mode makes possible to sign the container image using the
OIDC Identity Tokens provided by GitHub Actions [0][1].
The signature is published to the registry storing the image and to the
public Rekor transparency log instance [2].
Cosign keyless mode has already been adopted by some major projects like
Kubernetes [3].
The image signature can be manually verified using:
```
$ cosign verify \
--certificate-oidc-issuer='https://token.actions.githubusercontent.com ' \
--certificate-identity-regexp='^https://github.com/meilisearch/meilisearch/.github/workflows/publish-docker-images.yaml ' \
<image_name>
```
See #2179 .
Note that a similar approach can be used to sign the release binaries.
[0] https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect
[1] https://docs.sigstore.dev/cosign/signing/signing_with_containers/
[2] https://docs.sigstore.dev/rekor/overview
[3] https://kubernetes.io/docs/tasks/administer-cluster/verify-signed-artifacts/#verifying-image-signatures
2025-07-16 10:04:18 +02:00
Louis Dureuil
8887cbdcd5
Merge pull request #5725 from meilisearch/fix-threshold-overcounting-bug
...
Fix Total Hits being wrong when rankingScoreThreshold is used
2025-07-16 07:15:24 +00:00
Tamo
8d22972d84
Merge pull request #5626 from martin-g/faster-batches-it-tests
...
tests: Faster batches:: IT tests
2025-07-16 07:01:16 +00:00
Many the fish
634865ff53
Merge pull request #5710 from meilisearch/chat-route-support-filters
...
Introduce filters in the chat completions
2025-07-15 16:10:49 +00:00
Mubelotix
36fccf8525
Merge remote-tracking branch 'origin/release-v1.16.0' into fix-threshold-overcounting-bug
2025-07-15 18:01:29 +02:00
Mubelotix
d6bd60d569
Apply review suggestions
...
Co-Authored-By: Louis Dureuil <louis.dureuil@xinra.net >
2025-07-15 18:00:37 +02:00
Mubelotix
48ad959fc1
Merge remote-tracking branch 'origin/release-v1.16.0' into document-sorting
2025-07-15 17:41:46 +02:00
Mubelotix
1bc30cb4c8
Restore old benchmark names
2025-07-15 17:34:04 +02:00
Mubelotix
77138a42d6
Apply review suggestions
...
Add preconditions
Fix underflow
Remove unwrap
Turn methods to associated functions
Apply review suggestions
2025-07-15 17:31:11 +02:00
Kerollmops
0791506124
Fix some proposals
2025-07-15 17:10:45 +02:00
Kerollmops
2a015ac3b8
Implement basic few shot prompting to improve the query capabilities
2025-07-15 14:50:10 +02:00
Martin Grigorov
8772b5af87
Merge branch 'main' into faster-batches-it-tests
2025-07-15 15:21:32 +03:00
Clément Renault
6f248b78a9
Merge pull request #5751 from meilisearch/fix-searchable-attributes-order
...
Fix: Preserve order of searchable attributes when modified
2025-07-15 10:38:11 +00:00
Many the fish
d694e312ff
Update crates/milli/src/update/settings.rs
...
Co-authored-by: Clément Renault <clement@meilisearch.com >
2025-07-15 11:54:59 +02:00
Clément Renault
d76dcc8998
Make clippy happy
2025-07-15 11:49:48 +02:00
Clément Renault
e654f66223
Support filtering
2025-07-15 11:49:47 +02:00
Clément Renault
34f2ab7093
WIP report search errors to the LLM
2025-07-15 11:49:46 +02:00
Clément Renault
1a9dbd364e
Fix some issues
2025-07-15 11:49:46 +02:00
Clément Renault
662c5d9871
Introduce filters in the chat completions
2025-07-15 11:49:45 +02:00
Tamo
df2e7cde53
Merge pull request #5703 from martin-g/all-use-server-wait-task
...
tests: Use Server::wait_task() instead of Index::wait_task()
2025-07-15 09:18:12 +00:00
Clément Renault
02b2ae6142
Merge pull request #5756 from meilisearch/fix-integration-test
...
Fix Rails CI
2025-07-15 07:38:06 +00:00
curquiza
f813eb7ca4
Fix
2025-07-13 12:35:54 +02:00
curquiza
d072edaa49
Fix Rails CI
2025-07-13 12:26:56 +02:00
kametsun
5cd61b50f9
Fix formatting
2025-07-12 18:19:26 +09:00
kametsun
9a9be76757
add: verify that the statistics are correctly update assert
2025-07-12 11:15:44 +09:00
kametsun
cfa6ba6c3b
Fix stats showing wrong document count after clear all
...
Update database stats after clearing documents to ensure
/stats endpoint returns correct numberOfDocuments: 0 instead
of stale count.
2025-07-12 11:15:44 +09:00
Clément Renault
f4f333dbf6
Merge pull request #5753 from meilisearch/export-fixes
...
Various fixes on the export route
2025-07-11 19:15:42 +00:00
Mubelotix
1ade76ba10
Remove sneaky debug
2025-07-11 12:27:04 +02:00
Mubelotix
ae26658913
Use the most appropriate unit in payload_too_large error
2025-07-11 12:27:03 +02:00
Mubelotix
aa09edb3fb
Fix errors being silently dropped
2025-07-11 12:27:03 +02:00
Mubelotix
3f42f1a036
Get rid of bearer
2025-07-11 12:27:03 +02:00
Mubelotix
9bdfdd395b
Fix document step overflowing
2025-07-11 12:27:03 +02:00
Mubelotix
78d0625a91
Decrease default payload size for exports
2025-07-11 12:27:03 +02:00
Martin Tzvetanov Grigorov
e3daa907c5
Update redactions
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-07-11 11:14:39 +03:00
Martin Tzvetanov Grigorov
a39223822a
More tests fixes
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-07-11 11:11:46 +03:00
Martin Grigorov
1eb6cd38ce
Merge branch 'main' into faster-batches-it-tests
2025-07-11 10:49:22 +03:00
Martin Tzvetanov Grigorov
eb6ad3ef9c
Fix batch id detection
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-07-11 10:24:25 +03:00
Martin Tzvetanov Grigorov
3bef4f4413
Use Server::wait_task() instead of Index::wait_task()
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-07-11 10:16:25 +03:00
Martin Tzvetanov Grigorov
9f89881b0d
More tests fixes
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-07-11 10:11:58 +03:00
ManyTheFish
3f655ea20e
compare user defined searchable fields instead of internal searchable fields
2025-07-10 18:24:23 +02:00
ManyTheFish
50bc1d55f3
Add test reproducing the bug
2025-07-10 18:23:46 +02:00
Mubelotix
f244439b4f
Revert "Format"
...
This reverts commit 30fd546c12 .
2025-07-10 16:43:45 +02:00
Mubelotix
30fd546c12
Format
2025-07-10 16:43:10 +02:00
Martin Tzvetanov Grigorov
126aefc207
Fix more tests
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-07-10 16:47:04 +03:00
Martin Tzvetanov Grigorov
e7a60555d6
Formatting
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-07-10 14:35:40 +03:00
Martin Tzvetanov Grigorov
ae912c4c3f
Pass the Server as an extra parameter when the Index needs to wait for a task
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-07-10 14:28:57 +03:00
Martin Tzvetanov Grigorov
13ea29e511
Fix some search+replace issues. Make Server::wait_task() available for Index:: methods
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-07-10 14:03:16 +03:00
Martin Tzvetanov Grigorov
5342df26fe
tests: Use Server::wait_task() instead of Index::wait_task()
...
The code is mostly duplicated. Server::wait_task() has better handling for errors and more retries.
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-07-10 14:03:15 +03:00
Mubelotix
a930977460
Fix test
2025-07-10 09:37:58 +02:00
Mubelotix
a3b8c2b71f
Gate behind multimodal experimental feature
2025-07-09 18:21:52 +02:00
Mubelotix
39f808714d
Implement a documentTemplate filter
2025-07-09 18:03:32 +02:00
Tamo
61bc95e8d6
Merge pull request #5740 from meilisearch/ignore-flaky-test-2
...
Ignore yet another flaky test
2025-07-09 13:25:45 +00:00
Mubelotix
8adf6141e0
Fix old test
2025-07-08 16:55:43 +02:00
Mubelotix
df3f282e4d
Merge branch 'request-fragments-test' into fragment-filters
2025-07-08 16:35:14 +02:00
Mubelotix
d81855015b
Add test
2025-07-08 16:23:45 +02:00
Mubelotix
feb53104e5
Grammar
2025-07-08 16:19:55 +02:00
Mubelotix
881c37393f
Add telemetry
2025-07-08 16:06:27 +02:00
Mubelotix
9e98a25e45
Fix clippy
2025-07-08 15:56:09 +02:00
Mubelotix
0a4f2ef891
Leak mock servers
2025-07-08 15:27:35 +02:00
Tamo
faa1f7c5b7
Merge pull request #5693 from Mubelotix/default-key
...
Add a Read-Only Admin API Key by default
2025-07-08 12:38:29 +00:00
Mubelotix
3cc5d86598
Format
2025-07-08 13:57:17 +02:00
Mubelotix
1ae47bec77
Improve composite test
2025-07-08 13:57:07 +02:00
Mubelotix
2f1be0ff86
Ignore faulty test (see #5746 )
2025-07-08 13:55:07 +02:00
Mubelotix
9cee432255
Fix broken tests
2025-07-08 13:36:26 +02:00
Mubelotix
ff8d48d2f1
Merge branch 'main' into default-key
2025-07-08 12:21:46 +02:00
Mubelotix
a56c036994
Update crates/meilisearch-types/src/keys.rs
...
Co-authored-by: gui machiavelli <hey@guimachiavelli.com >
2025-07-08 12:18:52 +02:00
Mubelotix
fb73b83abe
Fix performance
2025-07-08 12:14:34 +02:00
Mubelotix
29b74424ad
Clean code
2025-07-08 12:03:32 +02:00
Mubelotix
b4cafec8b3
Add tests for operators along vector filter
2025-07-08 11:56:19 +02:00
Mubelotix
d43cd40807
Split tests
2025-07-08 11:48:23 +02:00
Mubelotix
0301d8f239
Improve error handling
2025-07-08 11:39:10 +02:00
Louis Dureuil
074744b8a6
Ignore yet-another flaky test
2025-07-08 10:54:39 +02:00
Tamo
511c48f520
Merge pull request #5737 from meilisearch/request-fragments-dumpless-upgrade
...
Fix the dumpless upgrade from v1.15 to v1.16 for request fragments
2025-07-08 08:49:38 +00:00
Louis Dureuil
4623691d1f
Don't make the type-that-shall-not-be-written serializable
...
Following tamo's advice
Co-Authored-By: Tamo <tamo@meilisearch.com >
2025-07-08 10:04:33 +02:00
Mubelotix
2d45124d9b
Fix parsing
2025-07-08 10:01:50 +02:00
Mubelotix
40e7284d70
Add tests
2025-07-08 10:01:35 +02:00
Mubelotix
4d8d34cc93
Merge branch 'request-fragments-test' into fragment-filters
2025-07-07 18:45:34 +02:00
Mubelotix
5cced0af02
Prevent having both a fragment name and userProvided
2025-07-07 18:41:03 +02:00
Mubelotix
9c60e9689f
Support not specifying an embedder in the vector filter
2025-07-07 18:34:24 +02:00
Mubelotix
3261aadcf2
Add composite test
2025-07-07 16:50:39 +02:00
Mubelotix
073e9f2967
Disable similarity check on composite embedders using fragments
2025-07-07 16:46:16 +02:00
Louis Dureuil
5f8f48ec95
Add new snapshot checking for regenerativeness
2025-07-07 16:43:05 +02:00
Louis Dureuil
ed2fe365a0
Fix existing snaps
2025-07-07 16:42:50 +02:00
Louis Dureuil
f7c8a77f89
Update v1.12.0 DB to contain vectors
2025-07-07 16:01:50 +02:00
Mubelotix
2052537681
Implement core filter logic
2025-07-07 15:28:35 +02:00
Mubelotix
a9bb64c55a
Unrelated minor fixes
2025-07-07 15:28:10 +02:00
Clément Renault
a8030850ee
Merge pull request #5733 from meilisearch/improve-export-analytics
...
Improve the analytics of the `/export` route
2025-07-07 12:26:11 +00:00
Mubelotix
132065afda
Minor improvements
2025-07-07 13:10:16 +02:00
Mubelotix
51c298662b
Merge branch 'main' into request-fragments-test
2025-07-07 13:00:21 +02:00
Mubelotix
70a860a0f0
Merge branch 'main' into fix-threshold-overcounting-bug
2025-07-07 12:26:37 +02:00
Louis Dureuil
a3254d7d7d
Implement dumpless upgrade from v1.15 to v1.16
2025-07-07 11:57:08 +02:00
Louis Dureuil
73c9c1ebdc
Add compile-time checks for dumpless upgrade
2025-07-07 11:34:18 +02:00
Clément Renault
4c7a6e5c1b
Do not leak private URLs
2025-07-07 11:07:58 +02:00
Tamo
ef4c87accf
Merge pull request #5732 from meilisearch/chat-route-support-metrics
...
Add chat-related metrics on the prometheus route
2025-07-07 08:33:31 +00:00
Clément Renault
ced7ea4a5c
Merge pull request #5731 from meilisearch/chat-route-support-dumps
...
Export and import chat completions workspace settings in dumps
2025-07-07 08:31:41 +00:00
Mubelotix
fa3990daf9
Format
2025-07-04 13:33:49 +02:00
Mubelotix
c5993196b3
Add test
2025-07-04 13:32:55 +02:00
Mubelotix
16234e1313
Add fragment swapping test
2025-07-04 13:25:42 +02:00
Mubelotix
be9f4f96df
Add experimental feature test
2025-07-04 13:15:15 +02:00
Mubelotix
b274106ad3
Add test
2025-07-04 13:05:52 +02:00
Mubelotix
48527761e7
Add test
2025-07-04 12:01:15 +02:00
Mubelotix
6792d048b8
Test both fragments and document template
2025-07-04 11:47:38 +02:00
Kerollmops
07bfed99e6
Expose the host in the analytics
2025-07-04 11:08:02 +02:00
Mubelotix
8dfded2993
Update tests
2025-07-04 10:49:03 +02:00
Mubelotix
3714f16696
Fix bug
2025-07-04 10:40:50 +02:00
Mubelotix
d0cd3cacec
Add a way to reproduce the bug
2025-07-03 18:18:04 +02:00
Louis Dureuil
fef089c7b6
Merge pull request #5596 from meilisearch/request-fragments
...
Request fragments
2025-07-03 15:01:44 +00:00
Clément Renault
d47e1e15de
Merge pull request #5730 from meilisearch/update-version-v1.16.0
...
Update version for the next release (v1.16.0) in Cargo.toml
2025-07-03 14:45:43 +00:00
Mubelotix
caccb51814
Add a complex value test
2025-07-03 16:10:23 +02:00
Clément Renault
a76a3e8f11
Change the metric name for the search to use a label
2025-07-03 16:01:31 +02:00
ManyTheFish
32dede35c7
Update snapshots
2025-07-03 15:59:14 +02:00
Clément Renault
6397ef12a0
Use three metrics for the three different tokens
2025-07-03 15:56:56 +02:00
Mubelotix
cf9b311f71
Format
2025-07-03 15:53:09 +02:00
Mubelotix
7423243be0
Add test with multiple embedders
2025-07-03 15:52:18 +02:00
Clément Renault
b5e41f0e46
Fix the Mistral uncompatibility with the usage of OpenAI
2025-07-03 15:21:40 +02:00
Mubelotix
5690700601
Add fragment addition test
2025-07-03 15:19:31 +02:00
Mubelotix
2faad504c6
Add test
2025-07-03 15:12:47 +02:00
Mubelotix
2bcd69750f
Add fragment modification test
2025-07-03 15:08:27 +02:00
Clément Renault
9f0d33ec99
Expose the number of tokens on the chat completions routes
2025-07-03 15:05:15 +02:00
Mubelotix
de24e75be8
Update test
2025-07-03 15:00:11 +02:00
Louis Dureuil
a3af9fe057
new extractor bugfixes:
...
- fix old_has_fragments
- new_is_user_provided is always false when generating fragments,
even if no fragment ever matches
2025-07-03 14:44:34 +02:00
Louis Dureuil
90683d0e4e
add snapshot of get settings
2025-07-03 14:43:06 +02:00
Mubelotix
5c79273748
Add TODOs
2025-07-03 14:42:49 +02:00
Louis Dureuil
90e6b6416f
new extractor bugfixes:
...
- fix old_has_fragments
- new_is_user_provided is always false when generating fragments,
even if no fragment ever matches
2025-07-03 14:35:02 +02:00
Clément Renault
2b75072b09
Expose the number of internal chat searches on the /metrics route
2025-07-03 14:04:27 +02:00
Clément Renault
6e6fd077d4
Ignore unexisting chat completions settings folder
2025-07-03 13:37:38 +02:00
Mubelotix
b45eea0d3e
Add test for fragment deletion
2025-07-03 13:26:44 +02:00
Clément Renault
a051ab3d9a
Support importing chat completions settings
2025-07-03 12:04:40 +02:00
Mubelotix
0b89ef1fd7
Make tests use a shared index
2025-07-03 11:32:49 +02:00
Mubelotix
65ba7b47af
Test search fragments
2025-07-03 11:32:49 +02:00
Mubelotix
8af76a65bf
Add test_fragment_indexing
2025-07-03 11:32:49 +02:00
Clément Renault
6b94033c97
Correctly export the chat completions settings in dumps
2025-07-03 11:30:24 +02:00
Louis Dureuil
dfe0c8664e
Add a version of prompt::Context that has no fields
2025-07-03 11:08:31 +02:00
Louis Dureuil
0ca652de28
Extract vector points: remove the {
2025-07-03 10:52:30 +02:00
Louis Dureuil
87f105747f
Add documentation to Extractor trait
2025-07-03 10:41:20 +02:00
Louis Dureuil
735634e998
Send owned metadata and clear inputs in case of error
2025-07-03 10:32:57 +02:00
Louis Dureuil
3740755d9c
Compare to RawValue::NULL constant rather than explicit "null"
2025-07-03 10:11:07 +02:00
Kerollmops
bbcabc47bd
Update version for the next release (v1.16.0) in Cargo.toml
2025-07-03 08:06:38 +00:00
Louis Dureuil
a06cb1bfd6
Remove Embed::process_embeddings and have it be an inherent function of the type that uses it
2025-07-03 10:02:16 +02:00
Louis Dureuil
549dc985b8
Old dump import indexer: fix the case where going from Generated to Generated
2025-07-03 09:58:41 +02:00
Louis Dureuil
428463e45c
Check indexing fragments as well as search fragments
2025-07-02 16:17:22 +02:00
Louis Dureuil
7113fcf63a
New error
2025-07-02 16:17:12 +02:00
Louis Dureuil
aa6855cd4f
Vector settings: don't assume which kind of request is asked when looking at a settings update without fragments
2025-07-02 16:12:23 +02:00
Louis Dureuil
895db76a51
Fix snaps
2025-07-02 16:10:05 +02:00
Martin Tzvetanov Grigorov
45da2257ec
Take into account the allowed max memory of the container
...
When Meilisearch runs inside a container (e.g. Docker or Kubernetes) it
may run with less max memory than the available on the host, e.g.
`docker run --memory 1G ...`
Fixes #5616
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-07-02 14:23:11 +03:00
Clément Renault
a88146d59e
Merge pull request #5728 from meilisearch/bump-minidashboard-v0.2.20
...
Bump the mini-dashboard to v0.2.20
2025-07-02 11:03:00 +00:00
Kerollmops
91e77abf4f
Bump the mini-dashboard to v0.2.20
2025-07-02 12:15:11 +02:00
Mubelotix
f60814b319
Add benchmark
2025-07-02 12:06:00 +02:00
Mubelotix
5a675bcb82
Add benchmarks
2025-07-02 11:50:32 +02:00
Louis Dureuil
82a796aea7
vector settings: fix bug where removed fragments were returned as new
2025-07-02 11:36:50 +02:00
Louis Dureuil
f6287602e9
Improve error message when request contains the wrong type of placeholder
2025-07-02 11:36:50 +02:00
Louis Dureuil
ede456c5b0
New error: rest inconsistent fragments
2025-07-02 11:36:50 +02:00
Louis Dureuil
3f5b5df139
Check consistency of fragments
2025-07-02 11:36:50 +02:00
Louis Dureuil
d72e5f5f69
Hide documentTemplate and documentTemplateMaxBytes when indexing_fragment is defined
2025-07-02 11:29:50 +02:00
Many the fish
aa366d593d
Merge pull request #5726 from meilisearch/dependabot/github_actions/Swatinem/rust-cache-2.8.0
...
Bump Swatinem/rust-cache from 2.7.8 to 2.8.0
2025-07-02 08:09:11 +00:00
Many the fish
205430854d
Merge pull request #5727 from meilisearch/dependabot/github_actions/svenstaro/upload-release-action-2.11.1
...
Bump svenstaro/upload-release-action from 2.7.0 to 2.11.1
2025-07-02 08:05:07 +00:00
Louis Dureuil
be64006211
Fix process export
2025-07-02 09:12:18 +02:00
Louis Dureuil
eda309d562
make sure fragments are ordered
2025-07-02 00:05:13 +02:00
Louis Dureuil
119d618a76
Do not "upgrade" regnerate fragments to regenerate prompt
2025-07-02 00:05:13 +02:00
Louis Dureuil
2b2e6c0b3a
Settings changes
2025-07-02 00:05:13 +02:00
Louis Dureuil
e6329e77e1
settings fragment_diffs
2025-07-02 00:05:13 +02:00
Louis Dureuil
b086c51a23
new settings indexer
2025-07-02 00:05:13 +02:00
Louis Dureuil
9ce5598fef
parsed vectors: embeddings is None when it is null when read from DB
2025-07-02 00:05:13 +02:00
Louis Dureuil
e30c24b5bf
Prompt: relax lifetime constraints
2025-07-02 00:05:13 +02:00
Louis Dureuil
c1a132fa06
multimodal experimental feature
2025-07-02 00:05:13 +02:00
Louis Dureuil
e54fc59248
Fix snaps
2025-07-02 00:05:13 +02:00
Louis Dureuil
11e7c0d75f
Fix tests
2025-07-02 00:05:13 +02:00
Louis Dureuil
c593fbe648
Analytics
2025-07-02 00:05:12 +02:00
Louis Dureuil
2b3327ea74
Use media to determine search kind
2025-07-02 00:05:12 +02:00
Louis Dureuil
d14184f4da
Add media to search
2025-07-02 00:05:12 +02:00
Louis Dureuil
46bceb91f1
New search errors
2025-07-02 00:05:12 +02:00
Louis Dureuil
cab5e35ff7
Implement in old settings indexer and old dump import indexer
2025-07-02 00:05:12 +02:00
Louis Dureuil
f8232976ed
Implement in new document indexer
2025-07-02 00:05:12 +02:00
Louis Dureuil
22d363c05a
Clear DB on clear documents
2025-07-02 00:05:12 +02:00
Louis Dureuil
41620d5325
Support indexingFragments and searchFragments in settings
2025-07-02 00:05:12 +02:00
Louis Dureuil
f3d5c74c02
Vector settings to add indexingFragments and searchFragments
2025-07-02 00:05:12 +02:00
Louis Dureuil
d48baece51
New error when too many fragments in settings
2025-07-02 00:05:12 +02:00
Louis Dureuil
c45ede44a8
Add new parameters to openai and rest embedders
2025-07-02 00:05:11 +02:00
Louis Dureuil
4235a82dcf
REST embedder supports fragments
2025-07-02 00:05:11 +02:00
Louis Dureuil
e7b9b8f002
Change embedder API
2025-07-02 00:05:11 +02:00
Louis Dureuil
5716ab70f3
EmbeddingConfigs -> RuntimeEmbedders
2025-07-02 00:05:11 +02:00
Louis Dureuil
422a786ffd
RuntimeEmbedder and RuntimeFragments
2025-07-02 00:05:11 +02:00
Louis Dureuil
836ae19bec
ArroyWrapper changes
2025-07-02 00:05:11 +02:00
Louis Dureuil
0b5bc41b79
Add new vector errors
2025-07-02 00:05:11 +02:00
Louis Dureuil
b45059e8f2
Add vector::session module
2025-07-02 00:05:11 +02:00
Louis Dureuil
c16c60b599
Add vector::extractor module
2025-07-02 00:05:11 +02:00
Louis Dureuil
0114796d2a
Index uses the vector::db stuff
2025-07-02 00:05:10 +02:00
Louis Dureuil
17a94c40dc
Add vector::db module
2025-07-02 00:05:10 +02:00
Louis Dureuil
76ca44b214
Expand json_template module
2025-07-02 00:05:10 +02:00
Louis Dureuil
d2e4d6dd8a
prompt: Publishes some types
2025-07-02 00:04:04 +02:00
dependabot[bot]
879cf85037
Bump svenstaro/upload-release-action from 2.7.0 to 2.11.1
...
Bumps [svenstaro/upload-release-action](https://github.com/svenstaro/upload-release-action ) from 2.7.0 to 2.11.1.
- [Release notes](https://github.com/svenstaro/upload-release-action/releases )
- [Changelog](https://github.com/svenstaro/upload-release-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/svenstaro/upload-release-action/compare/2.7.0...2.11.1 )
---
updated-dependencies:
- dependency-name: svenstaro/upload-release-action
dependency-version: 2.11.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-01 17:23:13 +00:00
dependabot[bot]
c2d5b20a42
Bump Swatinem/rust-cache from 2.7.8 to 2.8.0
...
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache ) from 2.7.8 to 2.8.0.
- [Release notes](https://github.com/swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/swatinem/rust-cache/compare/v2.7.8...v2.8.0 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-version: 2.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-01 17:23:08 +00:00
Mubelotix
600178c5ab
Still limit to max hits
2025-07-01 18:33:09 +02:00
Louis Dureuil
b93ca3945e
Merge pull request #5723 from meilisearch/fix-flaky-embedder-test
...
Fix flaky last_error test
2025-07-01 15:14:28 +00:00
Mubelotix
8fef48f8ca
Merge pull request #5670 from meilisearch/export-and-transfer-route
...
Introduce a new route to export indexes
2025-07-01 14:37:02 +00:00
Mubelotix
dedae94102
Fix #5274
2025-07-01 16:22:25 +02:00
Mubelotix
7ae9a4afee
Add a test for issue #5274
2025-07-01 15:42:43 +02:00
Mubelotix
d2776efb11
Fix flaky last_error test
2025-07-01 15:14:56 +02:00
Mubelotix
9211e94c4f
Format
2025-07-01 15:03:20 +02:00
Mubelotix
b7bebe9bbb
Fix export when index already exists
2025-07-01 15:03:04 +02:00
Mubelotix
37a692f942
Keep IndexUidPattern
2025-07-01 14:47:43 +02:00
Mubelotix
25c19a306b
Rename variable
...
Co-authored-by: Kero <clement@meilisearch.com >
2025-07-01 14:42:44 +02:00
Mubelotix
c078efd730
Remove experimental todo
2025-07-01 14:40:59 +02:00
Mubelotix
9dac91efe0
Fix utoipa response
2025-07-01 14:40:39 +02:00
Mubelotix
074d509d92
Fix expect message
2025-07-01 14:39:52 +02:00
Mubelotix
d439a3cb9d
Fix progress names
2025-07-01 14:39:24 +02:00
Mubelotix
e92b6beb20
Revert making check_sort_criteria usable without a search context
2025-07-01 14:26:55 +02:00
Mubelotix
27cc357362
Document code
2025-07-01 14:21:55 +02:00
Mubelotix
73dfeefc7c
Remove plural form
2025-07-01 14:08:46 +02:00
Mubelotix
d85480de89
Move sort code out of facet
2025-07-01 14:05:47 +02:00
Mubelotix
9f55708d84
Format
2025-07-01 13:58:56 +02:00
Mubelotix
280c3907be
Add test to sort the unsortable
2025-07-01 13:58:37 +02:00
Mubelotix
8419fd9b3b
Ditch usage of check_sort_criteria
2025-07-01 13:42:38 +02:00
Mubelotix
283944ea89
Differentiate between document sort error and search sort error
2025-07-01 12:03:50 +02:00
Mubelotix
8aacd6374a
Optimize geo sort
2025-07-01 11:50:01 +02:00
Mubelotix
8326f34ad1
Add analytics
2025-07-01 11:35:28 +02:00
Mubelotix
259fc067d3
Count exported documents by index name, not pattern
2025-07-01 11:14:59 +02:00
Many the fish
e8b2bb3ea6
Merge pull request #5709 from meilisearch/analytics-chat-completions
...
Add analytics to the chat completions
2025-07-01 09:14:47 +00:00
Many the fish
7dfb2071b5
Merge pull request #5683 from meilisearch/fix-recoverable-file-store-error
...
Make sure to recover from missing update file
2025-07-01 09:08:55 +00:00
Mubelotix
9cfbef478e
Add override setttings to analytics
2025-07-01 11:04:59 +02:00
Mubelotix
efd5fd96cc
Add the overrideSettings parameter
2025-07-01 11:02:42 +02:00
Mubelotix
f4a908669c
Add tests
2025-07-01 10:02:15 +02:00
Mubelotix
eb2c2815b6
Fix panic
2025-07-01 10:00:10 +02:00
Louis Dureuil
0ef52941c7
Merge pull request #5687 from meilisearch/settings-indexer-edition-2024
...
Settings indexer edition 2024
2025-07-01 07:35:21 +00:00
Kerollmops
0d85f8fcee
Make sure to recover from missing update file
2025-06-30 19:09:30 +02:00
Clément Renault
f4bb6cbca8
Better behavior when null indexes
2025-06-30 18:59:16 +02:00
Clément Renault
ad03c86c44
Display an accurate number of uploaded documents
2025-06-30 18:46:47 +02:00
Clément Renault
85037352b9
Fix most of the easy issues
2025-06-30 18:31:32 +02:00
Mubelotix
29e9c74a49
Merge two ifs
2025-06-30 16:17:04 +02:00
ManyTheFish
1b54c866e1
Link experimental feature discussion
2025-06-30 14:47:39 +02:00
ManyTheFish
e414284335
Clippy too many arguments
2025-06-30 14:25:28 +02:00
ManyTheFish
7a204609fe
Move document context and identifiers in document.rs
2025-06-30 14:21:46 +02:00
Mubelotix
f6803dd7d1
Simplify iterator chaining in facet sort
2025-06-30 14:05:23 +02:00
Mubelotix
f86f4f619f
Implement geo sort on documents
2025-06-30 13:57:30 +02:00
Mubelotix
e35d58b531
Move geosort code out of search
2025-06-30 13:12:00 +02:00
Mubelotix
63827bbee0
Move sorting code out of search
2025-06-30 11:59:59 +02:00
ManyTheFish
6b2b8ed676
Transform experimental_no_edition_2024_for_settings into a config
2025-06-30 11:49:03 +02:00
ManyTheFish
6db5939f84
Re-integrate embedder stats
2025-06-30 09:52:06 +02:00
ManyTheFish
d35b2d8d33
minor fixes
2025-06-30 09:52:06 +02:00
ManyTheFish
0687cf058a
Avoid rewritting documents that don't change
...
Ensure being on a reindex action before getting embedder_category_id
Fix document skip function
2025-06-30 09:52:06 +02:00
Mubelotix
340d9e6edc
Optimize facet sort
...
5 to 10x speedup
2025-06-27 14:40:55 +02:00
Kerollmops
7219299436
Better handle task abortion
2025-06-27 12:33:32 +02:00
Kerollmops
657bbf5d1e
Fix more tests
2025-06-27 10:14:26 +02:00
Mubelotix
28adbc0d18
Update tests
2025-06-27 09:47:46 +02:00
Mubelotix
e3fba62e13
Fix typo
2025-06-27 09:40:59 +02:00
Mubelotix
fb9170b8e3
Keep name consistent with others
2025-06-27 09:40:30 +02:00
Mubelotix
c15763f910
Improve key description
...
Co-authored-by: Tamo <tamo@meilisearch.com >
2025-06-27 09:39:24 +02:00
Clément Renault
7fa1c41190
Fix some api key errors
2025-06-26 18:25:49 +02:00
ManyTheFish
77802dabf6
rename DocumentChangeContext into DocumentContext
2025-06-26 18:14:48 +02:00
ManyTheFish
a685eeafeb
wierd snapshot update
2025-06-26 18:14:48 +02:00
ManyTheFish
f16e6f7c37
Update snapshots
2025-06-26 18:14:48 +02:00
ManyTheFish
900be0ccad
Extract or regenerate vectors related to settings changes
2025-06-26 18:14:48 +02:00
ManyTheFish
51a087b764
Write back user provided vectors from deleted embedders
2025-06-26 18:14:48 +02:00
ManyTheFish
31142b3663
Introduce extractor for setting changes
2025-06-26 18:14:48 +02:00
ManyTheFish
e60b855a54
Delete embedders from arroy
2025-06-26 18:14:48 +02:00
ManyTheFish
510a4b91be
Introduce DatabaseDocument type
2025-06-26 18:14:48 +02:00
ManyTheFish
e704f4d1ec
Reimplement reindexing shell
2025-06-26 18:14:48 +02:00
ManyTheFish
82fe80b360
Replace the legacy Settings::execute by the new one
2025-06-26 18:14:14 +02:00
Clément Renault
0f1dd3614c
Update tasks tests
2025-06-26 18:11:12 +02:00
Louis Dureuil
3aa6c3c750
Merge pull request #5707 from Mubelotix/last_embedder_message
...
Add last embedder error in batches
2025-06-26 15:21:17 +00:00
Clément Renault
b956918c11
Fix clippy and more utoipa issues
2025-06-26 16:31:38 +02:00
Clément Renault
e3003c1609
Improve OpenAPI schema
2025-06-26 16:05:12 +02:00
Clément Renault
bf13268649
Better compute aggragates
2025-06-26 16:03:13 +02:00
Clément Renault
0bb7866f1e
Remove the skip embeddings boolean in the settings
2025-06-26 15:48:21 +02:00
Clément Renault
e6e9a033aa
Introduce new analytics to the export route
2025-06-26 15:45:24 +02:00
Kerollmops
63031219c5
Add the payload size to the parameters
2025-06-26 13:57:32 +02:00
Mubelotix
44d6430bae
Rename fields
2025-06-26 12:30:08 +02:00
Mubelotix
4d26e9c6f2
Remove my comments
2025-06-26 12:21:34 +02:00
Mubelotix
2ff382c023
Remove useless clone
2025-06-26 12:15:09 +02:00
Mubelotix
0f6dd133b2
Turn to references
2025-06-26 12:15:09 +02:00
Mubelotix
29f6eeff8f
Remove lots of Arcs
2025-06-26 12:15:08 +02:00
Mubelotix
ef007d547d
Remove panics
2025-06-26 12:15:08 +02:00
Mubelotix
3fc16c627d
Comment the delay
2025-06-26 12:15:08 +02:00
Mubelotix
9422b6d654
Update crates/meilisearch/src/lib.rs
...
Co-authored-by: Louis Dureuil <louis.dureuil@gmail.com >
2025-06-26 10:58:27 +02:00
Many the fish
ddba52414a
Merge pull request #5702 from Nymuxyzo/fix/5688-reset-typo_tolerance-settings
...
Fix disableOnNumbers reset
2025-06-26 07:58:47 +00:00
Mubelotix
4534dc2cab
Create another deserr error
2025-06-25 16:45:32 +02:00
Mubelotix
b05cb80803
Take sort criteria from the request
2025-06-25 16:41:08 +02:00
Mubelotix
6e0526090a
Implement sorting documents
2025-06-25 15:36:12 +02:00
Kerollmops
a743da3061
Gzip-compress the content
2025-06-25 15:27:10 +02:00
Clément Renault
c6216517c7
Parallelize document upload
2025-06-25 15:27:10 +02:00
Clément Renault
2d4f7c635e
Make tests happy
2025-06-25 15:27:10 +02:00
Clément Renault
ee812b31c4
Support JSON value as filters
2025-06-25 15:27:09 +02:00
Clément Renault
3329248a84
Support no pattern when exporting
2025-06-25 15:27:09 +02:00
Clément Renault
bc08cd0deb
Make clippy happy again
2025-06-25 15:27:09 +02:00
Clément Renault
3e2f468213
Support task cancelation
2025-06-25 15:27:09 +02:00
Clément Renault
7c448bcc00
Make clippy happy
2025-06-25 15:27:09 +02:00
Clément Renault
acb7c0a449
Implement a retry strategy
2025-06-25 15:27:08 +02:00
Clément Renault
e8795d2608
Export embeddings
2025-06-25 15:26:47 +02:00
Clément Renault
e023ee4b6b
Working first implementation
2025-06-25 15:26:47 +02:00
Clément Renault
e74c3b692a
Introduce a new route to export documents and enqueue the export task
2025-06-25 15:26:46 +02:00
Mubelotix
1d3b18f774
Update test to be more reproducible
2025-06-25 14:58:21 +02:00
Clément Renault
00bc86e74b
Merge pull request #5705 from meilisearch/fix-max-total-size-limit-env-var
...
Fix the environment variable name of the experimental limit batched tasks total size feature
2025-06-25 12:49:30 +00:00
Kerollmops
adc9976615
Simplify the analytics chat completions aggragetor
2025-06-25 11:50:26 +02:00
Mubelotix
2090e9ea31
Update test
2025-06-25 10:08:25 +02:00
Mubelotix
1c8f1c18f4
Fix constant name and key description
2025-06-25 09:59:34 +02:00
Louis Dureuil
ae8c1461e1
Merge pull request #5708 from meilisearch/unsupport-gemini
...
Remove Gemini from the LLM-providers list
2025-06-25 06:44:37 +00:00
Nymuxyzo
5f62274f21
Add disableOnNumbers to settings reset
2025-06-24 23:32:50 +02:00
Mubelotix
c4a96b40eb
Remove KeysGet from AllGet
2025-06-24 17:40:06 +02:00
Clément Renault
5f50fc9464
Add new analytics to the chat completions route
2025-06-24 17:05:49 +02:00
Clément Renault
89498a2bea
Remove Gemini from the LLM-providers list
2025-06-24 15:58:39 +02:00
Clément Renault
211c1b753f
Fix the env variable name
2025-06-24 15:27:39 +02:00
Mubelotix
d08e89ea3d
Remove options
2025-06-24 15:10:15 +02:00
Mubelotix
695877043a
Fix warnings
2025-06-24 14:53:39 +02:00
Mubelotix
bc4d1530ee
Fix tests
2025-06-24 14:50:23 +02:00
Mubelotix
d7721fe607
Format
2025-06-24 12:20:22 +02:00
Mubelotix
4a179fb3c0
Improve code quality
2025-06-24 11:38:11 +02:00
Mubelotix
59a1c5d9a7
Make test more reproducible
2025-06-24 11:08:06 +02:00
Mubelotix
2f82d94502
Fix the test and simplify types
2025-06-23 18:55:23 +02:00
Tamo
bd2bd0f33b
Merge pull request #5697 from martin-g/documents-use-server-wait-task
...
tests: Use Server::wait_task() instead of Index::wait_task() in documents::
2025-06-23 16:33:21 +00:00
Tamo
e02733df4a
Merge pull request #5698 from martin-g/index-use-server-wait-task
...
tests: Use Server::wait_task() instead of Index::wait_task() in index::
2025-06-23 16:31:40 +00:00
Tamo
f373ecc96a
Merge pull request #5699 from martin-g/settings-use-server-wait-task
...
tests: Use Server::wait_task() instead of Index::wait_task() in settings::
2025-06-23 16:30:49 +00:00
Tamo
748a327271
Merge pull request #5700 from martin-g/search-use-server-wait-task
...
tests: Use Server::wait_task() instead of Index::wait_task() in search::
2025-06-23 16:29:53 +00:00
Mubelotix
4925b30196
Move embedder stats out of progress
2025-06-23 15:24:14 +02:00
Louis Dureuil
43c4a229b7
Merge pull request #5692 from diksipav/5684-gemini-chat-completions-fix
...
Fix Gemini base_url when used with OpenAI clients
2025-06-23 09:03:34 +00:00
Martin Tzvetanov Grigorov
ca112a8b95
tests: Use Server::wait_task() instead of Index::wait_task() in index::
...
The code is mostly duplicated. Server::wait_task() has better handling for errors and more retries.
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-22 14:59:29 +03:00
Martin Tzvetanov Grigorov
855fa555a3
tests: Use Server::wait_task() instead of Index::wait_task() in search::
...
The code is mostly duplicated. Server::wait_task() has better handling for errors and more retries.
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-22 14:54:49 +03:00
Martin Tzvetanov Grigorov
a237c0797a
tests: Use Server::wait_task() instead of Index::wait_task() in settings::
...
The code is mostly duplicated. Server::wait_task() has better handling for errors and more retries.
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-22 14:32:45 +03:00
Martin Tzvetanov Grigorov
5c46dc702a
tests: Use Server::wait_task() instead of Index::wait_task()
...
The code is mostly duplicated.
Server::wait_task() has better handling for errors and more retries.
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-22 14:22:59 +03:00
Mubelotix
4cadc8113b
Add embedder stats in batches
2025-06-20 12:42:22 +02:00
Mubelotix
2d6dc83940
Format the code
2025-06-19 15:55:12 +02:00
Mubelotix
ab768f379f
Fix comment
2025-06-19 15:49:34 +02:00
Mubelotix
705e9a9e5e
Make the uuids random again to prevent abuse using rainbow tables
2025-06-19 15:45:09 +02:00
Dijana Pavlovic
c17031d3de
Fix Gemini base_url when used with OpenAI clients
2025-06-19 15:11:37 +02:00
Mubelotix
67f2a30d7c
Fix test
2025-06-19 13:10:08 +02:00
Mubelotix
99732f4084
Fix some tests
2025-06-19 13:04:55 +02:00
Mubelotix
5081d837ea
Fix AllGet action being included in All
2025-06-19 12:12:30 +02:00
Mubelotix
9e1cb792f4
Rename Action::AllRead to AllGet
2025-06-19 11:55:25 +02:00
Mubelotix
b6b7ede266
Rename Action *.read to *.get
2025-06-19 11:53:42 +02:00
Mubelotix
f50e586a4f
Allow management key to read other keys
2025-06-19 11:52:58 +02:00
Mubelotix
11fedea788
Set static uuids to keys
2025-06-19 11:42:45 +02:00
Mubelotix
032b34c377
Add a default management key
2025-06-19 11:29:32 +02:00
Mubelotix
b421c8e7de
Add an AllRead key
2025-06-19 11:29:16 +02:00
Mubelotix
00eb258a53
Fix comment
2025-06-19 11:16:07 +02:00
Tamo
fc6cc80705
Merge pull request #5689 from Mubelotix/main
...
Remove old dependencies
2025-06-19 08:11:55 +00:00
Mubelotix
138d20b277
Remove old dependencies
2025-06-18 16:46:20 +02:00
Louis Dureuil
7c1a9113f9
Merge pull request #5686 from meilisearch/upgrade-dependencies-again
...
Upgrade dependencies
2025-06-18 09:22:18 +00:00
Louis Dureuil
07ae297ffd
Merge pull request #5681 from martin-g/faster-settings-prefix_search_settings-it-tests
...
tests: Faster settings::prefix_search_settings IT tests
2025-06-18 09:20:56 +00:00
Clément Renault
4069dbcfca
Upgrade incompatible dependencies
2025-06-17 22:23:37 +02:00
Clément Renault
03eb50fbac
Upgrade dependencies
2025-06-17 22:03:06 +02:00
Tamo
2616d776f2
Merge pull request #5677 from martin-g/faster-documents-errors-it-tests
...
tests: Faster document::errors IT tests
2025-06-17 15:53:35 +00:00
Tamo
3004db95af
Merge pull request #5680 from martin-g/faster-similar-mod-it-tests
...
tests: Faster similar::mod IT tests
2025-06-17 15:51:38 +00:00
Tamo
9a729bf31d
Merge pull request #5682 from martin-g/faster-documents-update_documents-it-tests
...
tests: Faster documents::update_documents IT tests
2025-06-17 14:36:09 +00:00
Martin Tzvetanov Grigorov
8bfa6a7f54
tests: Faster documents::update_documents IT tests
...
Use a shared server + unique index
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-16 23:48:59 +03:00
Martin Tzvetanov Grigorov
056f18bd02
tests: Faster settings::prefix_search_settings IT tests
...
Use shared server + unique indices
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-16 23:20:11 +03:00
Martin Tzvetanov Grigorov
fe9866aca8
tests: Faster similar::mod IT tests
...
Use shared server + unique indexes
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-16 22:51:07 +03:00
Martin Tzvetanov Grigorov
60f105a4a3
tests: Faster document::errors IT tests
...
* Add a call to .failed() for an awaited task
* Use Server::wait_task() instead of Index::wait_task() - it has better
error checking
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-16 16:25:15 +03:00
Clément Renault
abb399b802
Merge pull request #5674 from meilisearch/release-v1.15.2
...
Bring back v1.15.2 to main
2025-06-16 11:36:07 +00:00
Tamo
aeaac7270e
Merge pull request #5603 from martin-g/faster-search-multi-it-tests
...
tests: Faster search::multi IT tests
2025-06-16 09:43:24 +00:00
Tamo
f45770a3ce
Merge pull request #5672 from martin-g/reuse-bench-data
...
docs: Recommend using a custom path for the benches' data
2025-06-16 09:35:57 +00:00
Martin Tzvetanov Grigorov
0e10ff1aa3
docs: Recommend using a custom path for the benches' data
...
This reduces the build time of the `benchmarks` crate from ~220secs to
45secs (according to `cargo build --timings`) on my dev machine
Additionally I've introduced a parent folder for the Meili related cache
paths - ~/.cache/meili
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-16 09:21:47 +03:00
Martin Tzvetanov Grigorov
6ee608c2d1
Remove debug leftovers
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-14 15:45:04 +03:00
Martin Tzvetanov Grigorov
95e8a9bef1
Use a unique name for an index in a shared server
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-14 15:10:48 +03:00
Martin Tzvetanov Grigorov
0598320252
Try to debug the problem with the existing "test" index in a shared server
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-14 14:07:57 +03:00
Martin Tzvetanov Grigorov
2269104337
Use unique_index_with_prefix() instead of composing the index names manually with Uuid
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-14 13:35:03 +03:00
Clément Renault
6b4d69996c
Merge pull request #5663 from meilisearch/update-version-v1.15.2
...
Update version for the next release (v1.15.2) in Cargo.toml
2025-06-12 16:41:47 +00:00
Clément Renault
df4e3c2e43
Fix the version everywhere
2025-06-12 16:57:59 +02:00
Clément Renault
e2b549c5ee
Merge pull request #5668 from meilisearch/fix-must-regenerate
...
Various fixes to embedding regeneration
2025-06-12 14:48:38 +00:00
Clément Renault
8390006ebf
Merge pull request #5665 from meilisearch/fix-chat-route
...
Fix chat route missing base URL and Mistral error handling
2025-06-12 14:11:39 +00:00
Louis Dureuil
7200437246
Comment the cases
2025-06-12 15:55:52 +02:00
Louis Dureuil
68e7bfb37f
Don't fail if you cannot render previous version
2025-06-12 15:55:33 +02:00
Louis Dureuil
209c4bfc18
Switch the versions of the documents for rendering :/
2025-06-12 15:47:47 +02:00
Louis Dureuil
396d76046d
Regenerate embeddings more often:
...
- When `regenerate` was previously `false` and became `true`
- When rendering the old version of the docs failed
2025-06-12 15:41:53 +02:00
Clément Renault
9ae73e3c05
Better support for Mistral errors
2025-06-12 15:18:37 +02:00
Many the fish
933e319364
Merge pull request #5660 from meilisearch/reproduce-5650
...
Searchable fields aren't indexed when I add and remove them out of filterableAttributes
2025-06-12 14:46:21 +02:00
Clément Renault
596617dd31
Make sure Mistral base url is well defined
2025-06-12 13:45:05 +02:00
ManyTheFish
f3dd6834c6
Update version for the next release (v1.15.2) in Cargo.toml
2025-06-12 10:51:09 +00:00
Martin Tzvetanov Grigorov
e8774ad079
Extract shared indices for movies and batman documents
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-12 13:46:17 +03:00
ManyTheFish
5d191c479e
Skip indexing on settings update when possible,
...
when removing a field from the filterable settings,
this will trigger a reindexing of the negative version of the document,
which removes the document from the searchable as well because the field was considered removed.
2025-06-12 12:37:27 +02:00
Clément Renault
c3368e6859
Merge pull request #5659 from meilisearch/tmp-release-v1.15.1
...
Bring back v1.15.0 and v1.15.1 changes
2025-06-12 09:16:56 +00:00
ManyTheFish
40776ed4cd
add test reproducing #5650
2025-06-12 11:09:31 +02:00
Clément Renault
9bda9a9a64
Merge remote-tracking branch 'origin/main' into tmp-release-v1.15.1
2025-06-12 10:21:07 +02:00
Many the fish
aefebdeb8b
Merge pull request #5617 from workbackai/workback/patch/5594/FB6ED899-E821-4C88-AA79-8BB975E1937A
...
fix(milli/search): Cyrillic has different typo tolerance due to byte counting bug
2025-06-12 07:39:19 +00:00
Martin Tzvetanov Grigorov
646e44ddf9
Re-use the shared_index_with_score_documents since the settings are as the default
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-12 08:59:19 +03:00
Clément Renault
9275ce1503
Merge pull request #5655 from meilisearch/update-version-v1.15.1
...
Update version for the next release (v1.15.1) in Cargo.toml
2025-06-11 14:54:01 +00:00
Clément Renault
48d2d3a5cd
Fix more tests
2025-06-11 14:53:34 +02:00
Louis Dureuil
7ec0c9aa83
Merge pull request #5556 from meilisearch/chat-route
...
Chat route
2025-06-11 12:09:30 +00:00
Clément Renault
484fdd9ce2
Fix the insta snapshots
2025-06-11 10:59:14 +02:00
Louis Dureuil
7533a11143
Make sure to send the tool response before the error message
2025-06-11 10:49:21 +02:00
Kerollmops
19d077a4b1
Update version for the next release (v1.15.1) in Cargo.toml
2025-06-11 08:35:24 +00:00
Martin Tzvetanov Grigorov
b8845d1015
Sort the imports
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-11 11:29:33 +03:00
Martin Tzvetanov Grigorov
620867d611
Use unique indices for the searches in non-existing indices
...
By using hardcoded there is a chance that the index could exist
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-11 11:01:05 +03:00
Clément Renault
77cc3678b5
Make sure template errors are reported to the LLM and front-end without panicking
2025-06-11 09:27:14 +02:00
Martin Tzvetanov Grigorov
a73d3c03e9
Make the dynamic assertion for facetsByIndex JSON key more broader
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-11 09:10:10 +03:00
Martin Tzvetanov Grigorov
824f5b12ce
Formatting
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-11 08:54:58 +03:00
Martin Tzvetanov Grigorov
bb4baf7fae
Remove useless dynamic redactions. They are covered by their .**.xyz counterparts
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-11 08:52:28 +03:00
Martin Tzvetanov Grigorov
0263eb0aec
More assertion fixes
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-11 08:42:35 +03:00
Martin Tzvetanov Grigorov
8a916a4e42
More assertion fixes
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-11 07:54:04 +03:00
Kerollmops
506ee40dc5
Improve errors and other stuff
2025-06-10 17:52:35 +02:00
Kerollmops
952fabf8a0
Better document function names
2025-06-10 17:01:00 +02:00
Kerollmops
7ea2e4ec7b
Better document why we duplicate structs
2025-06-10 16:51:39 +02:00
Kerollmops
a0a4ac66ec
Better document the done streamed event
2025-06-10 16:48:28 +02:00
Kerollmops
b037e416d3
Make an unreachable case, unreachable
2025-06-10 16:43:20 +02:00
Kerollmops
e9d547556d
Better error reporting when multi choices is used
2025-06-10 16:41:02 +02:00
Kerollmops
ab0eba2f72
Remove useless double check
2025-06-10 16:31:58 +02:00
Kerollmops
5ceb3c6a10
Report an error when the document template max bytes is zero
2025-06-10 16:27:18 +02:00
Kerollmops
34d572e3e5
Reove useless commented code
2025-06-10 16:17:41 +02:00
Kerollmops
28e6adc435
Remove the SearchQuery Default impl and change the From impl
2025-06-10 16:16:11 +02:00
Martin Tzvetanov Grigorov
6a683975bf
More fixes of the tests
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-10 16:58:48 +03:00
Kerollmops
c60d11fb42
Clean up the prompts
2025-06-10 14:56:13 +02:00
Kerollmops
32207f9f19
Rename the error code about ranking score threshold
2025-06-10 14:07:53 +02:00
Kerollmops
7c1b15fd06
Remove useless liquid dependency for Meilisearch
2025-06-10 14:05:35 +02:00
Kerollmops
4352a924d7
Remove useless filters parameter
2025-06-10 14:05:02 +02:00
Kerollmops
bbe802c656
Remove the write txn method from the index scheduler
2025-06-10 14:03:05 +02:00
Kerollmops
b32e30ad27
Make the chat setting db name a const
2025-06-10 14:02:43 +02:00
Kerollmops
ae115cee78
Make clippy happy
2025-06-10 13:51:04 +02:00
Martin Tzvetanov Grigorov
1824fbd1b5
Introduce Index::unique_index_with_prefix(&str)
...
It could be used when we want to see the index name in the assertions,
e.g. `movies-[uuid]`
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-10 14:49:18 +03:00
Martin Tzvetanov Grigorov
34d8a54c4b
Fix typos in comments and update assertions
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-10 14:48:59 +03:00
Martin Tzvetanov Grigorov
9e31d6ceff
Add batch_uid to all successful and failed tasks too
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-10 14:12:48 +03:00
Martin Tzvetanov Grigorov
139ec8c782
Add task.batch_uid() helper method
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-10 14:12:48 +03:00
Martin Tzvetanov Grigorov
2691999bd3
Add a helper method for getting the latest batch
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-10 14:12:47 +03:00
Martin Tzvetanov Grigorov
48460678df
More assertion fixes
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-10 14:12:47 +03:00
Martin Tzvetanov Grigorov
cb15e5c67e
WIP: More snapshot updates
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-10 14:12:46 +03:00
Martin Tzvetanov Grigorov
7380808b26
tests: Faster batches:: IT tests
...
Use shared server + unique indices where possible
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-10 14:12:46 +03:00
Martin Tzvetanov Grigorov
8fa6e8670a
tests: Faster search::multi IT tests
...
Use shared server + unique indices where possible
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-10 14:10:43 +03:00
Kerollmops
c640856cc1
Improve code comments
2025-06-10 11:13:32 +02:00
Kerollmops
1a1317ab0f
Make clippy happy
2025-06-10 11:12:27 +02:00
Kerollmops
9cab754942
Update insta snapshots
2025-06-10 11:11:34 +02:00
Kerollmops
4a0ec15ad2
Make cargo fmt happy
2025-06-10 11:00:14 +02:00
Kerollmops
985b892b7a
Add a basic chat setting validation
2025-06-10 10:57:43 +02:00
Kerollmops
605dea4f85
Do not leak the chat "workspace" term
2025-06-10 10:34:30 +02:00
Kerollmops
95d4775d4a
Remove the preQuery chat setting
2025-06-10 10:32:58 +02:00
Kerollmops
416fcf47f1
Use the same units
2025-06-10 10:28:06 +02:00
Kerollmops
6433e49882
Remove useless code
2025-06-10 10:27:22 +02:00
Kerollmops
85939ae8ad
Add support for missing sources
2025-06-10 10:25:22 +02:00
Kerollmops
e654eddf56
Improve the chat workspace REST endpoints
2025-06-10 10:21:34 +02:00
Tamo
170ad87e44
Merge pull request #5622 from martin-g/faster-search-filters-it-tests
...
tests: Faster search::filters IT tests
2025-06-10 08:17:52 +00:00
Kerollmops
bc56087a17
Fix the chatCompletions key
2025-06-10 10:08:01 +02:00
Kerollmops
29d82ade56
Rename base_api into base_rul
2025-06-10 09:24:07 +02:00
Kerollmops
a7f5d3bb7a
Redact the API Key when patching chat workspace settings
2025-06-10 09:21:45 +02:00
Kerollmops
48e8356a16
Mark the non-streaming chat completions route unimplemented
2025-06-10 09:18:36 +02:00
Clément Renault
1fda05c2fd
Delete chat.rs
2025-06-09 15:26:13 +02:00
Martin Grigorov
8f96724adf
Set max_attempts to 400 for Server::wait_task()
...
Co-authored-by: Tamo <irevoire@protonmail.ch >
2025-06-09 14:03:49 +03:00
Tamo
01e5b0effa
Merge pull request #5611 from martin-g/faster-stats-mod-it-tests
...
tests: Faster stats::mod IT tests
2025-06-09 11:02:12 +00:00
Martin Tzvetanov Grigorov
2ec9664878
chore: Fix English grammar in SearchQueue's comments
...
No functional changes!
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-09 12:05:36 +02:00
Clément Renault
7f5a0c0013
Merge pull request #5646 from meilisearch/revert-5635-prompt-for-email
2025-06-09 12:03:11 +02:00
Clément Renault
f5c3dad3ed
Revert "Prompt for Email"
2025-06-09 10:47:21 +02:00
Martin Tzvetanov Grigorov
10028515ac
Use a unique server for the summarized dump creation test
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-06 14:52:05 +03:00
Martin Tzvetanov Grigorov
63ccd19ab1
Use Server::wait_task() instead of Index::wait_task() for tasks IT tests
...
Revert the debugging helper that dumped the thread stack traces.
Try with 400 max attempts for the task success/failure (200 secs)
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-06 14:16:50 +03:00
Martin Tzvetanov Grigorov
1b4d344e18
Increase the wait time in the tests
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-06 14:13:32 +03:00
Martin Tzvetanov Grigorov
89c0cf9b12
temporary: Dump the threads stack traces when .wait_task() times out
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-06 14:13:32 +03:00
Martin Tzvetanov Grigorov
3770e70581
Optimize the imports
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-06 14:13:31 +03:00
Martin Tzvetanov Grigorov
e497008161
Add cattos to the shared_index_with_nested_documents() as a filterable attribute
...
This allows to make some more search::filters IT tests using shared
server + unique/shared indices
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-06 14:13:31 +03:00
Martin Tzvetanov Grigorov
a15ebb283f
Remove unused import
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-06 14:13:30 +03:00
Martin Tzvetanov Grigorov
3f256a7959
Use the shared index with DOCUMENTS where possible
...
Remove useless assertion that is covered by the earlier call of
.succeeded()
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-06 14:13:30 +03:00
Martin Tzvetanov Grigorov
b41af0d0f6
Formatting
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-06 14:13:30 +03:00
Martin Tzvetanov Grigorov
3ebff65ef3
tests: Faster search::filters IT tests
...
Use shared server + unique indices
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-06 14:13:29 +03:00
Clément Renault
717a026fdd
Make sure to use the system prompt
2025-06-06 12:32:40 +02:00
Clément Renault
70670c3be4
Introduce the support of Azure, Gemini, vLLM
2025-06-06 12:08:37 +02:00
Clément Renault
62e2a5a324
Merge pull request #5635 from meilisearch/prompt-for-email
...
Prompt for Email
2025-06-05 19:18:23 +00:00
Clément Renault
90d96ee415
Make clippy happy
2025-06-05 18:21:55 +02:00
Clément Renault
38b317857d
Improve the wording again
2025-06-05 18:19:19 +02:00
Tamo
765e76857f
store the email file in the global config directory instead of the local data.ms so it's shared between all instances
2025-06-05 16:01:30 +02:00
Clément Renault
204cf423b2
Fix Docker Image
2025-06-05 15:02:09 +02:00
Clément Renault
e575b5af74
Improve the contact email flag to make it friendly to disable prompt
2025-06-05 14:49:08 +02:00
Clément Renault
4fc24cb691
Improve prompting again
2025-06-05 14:45:05 +02:00
Clément Renault
8bc8484e95
Skip the prompt when the email was once provided
2025-06-05 14:43:09 +02:00
Clément Renault
7b49c30d8c
Change the email prompting
2025-06-05 12:02:30 +02:00
Clément Renault
239851046d
Send requests to Hubspot
2025-06-05 12:00:23 +02:00
Clément Renault
60796dfb14
Disable it by default in our Docker image
2025-06-05 11:02:30 +02:00
Clément Renault
c7cb72a77a
Make sure we skip empty prompted emails
2025-06-05 10:59:06 +02:00
Clément Renault
4d819ea636
Initial working version for a prompt for email
2025-06-05 10:54:46 +02:00
Clément Renault
4dfb89168b
Add a test for the chat route
2025-06-04 15:41:33 +02:00
Clément Renault
258e6a115b
Fix some other tests
2025-06-04 15:29:55 +02:00
arthurgousset
666680bd87
test(meilisearch/search/locales.rs): updates snapshot
...
Used `cargo insta test`
Reviewed with `cargo insta review`
2025-06-04 14:18:20 +01:00
arthurgousset
27527849bb
test(meilisearch/search/locales.rs): updates snapshot
...
Used `cargo insta test`
Reviewed with `cargo insta review`
2025-06-04 14:17:10 +01:00
Clément Renault
cf2bc03bed
Fix the API key issue by reordering the default keys
2025-06-04 14:50:20 +02:00
Tamo
1d02efeab9
Merge pull request #5615 from martin-g/faster-tasks-mod-it-tests
...
tests: Faster tasks::mod IT tests
2025-06-04 12:38:39 +00:00
Tamo
53fc98d3b0
Merge pull request #5632 from martin-g/db-change-label
...
ci: Use `GITHUB_TOKEN` secret for the `db change check` workflow
2025-06-04 12:23:01 +00:00
arthurgousset
263300b3a3
style(milli): linting
2025-06-04 12:19:00 +01:00
arthurgousset
ab3d92d163
chore(parse_query): delete println and move test inside tests module
2025-06-04 12:19:00 +01:00
arthurgousset
ef9fc6c854
fix(parse_query): cyrillic bug
2025-06-04 12:19:00 +01:00
Martin Tzvetanov Grigorov
61b0f50d4d
Trigger build
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-04 13:37:42 +03:00
Martin Tzvetanov Grigorov
0557a4dd2f
Trigger build
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-04 13:08:13 +03:00
Martin Tzvetanov Grigorov
930d5a09a8
Use unique server + its own index for #stats() test
...
Using a shared server will make this test fragile
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-04 13:08:13 +03:00
Martin Tzvetanov Grigorov
8b0c4291ae
tests: Fater stats::mod IT tests
...
Use shared server + unique indices
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-04 13:08:13 +03:00
Martin Tzvetanov Grigorov
c9efdf8c88
Render details.dumpUid as [dump_uid] in Value's Display
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-04 13:00:47 +03:00
Many the fish
72736c0ea9
Merge pull request #5627 from meilisearch/skip_remote_test
...
ignore flaky test
2025-06-04 08:28:24 +00:00
Kerollmops
92d0d36ff6
Fix a bunch of snapshot tests
2025-06-04 10:25:35 +02:00
Kerollmops
352ac759b5
Update dependencies
2025-06-04 09:35:43 +02:00
Clément Renault
28dc7b836b
Fix the chat completions feature gate
2025-06-03 17:10:53 +02:00
Clément Renault
c4e1407e77
Fix the chat, chats, and chatsSettings actions
2025-06-03 16:11:54 +02:00
Tamo
49317bbee4
Merge pull request #5625 from martin-g/faster-search-hybrid-it-tests
...
tests: Faster search::hybrid IT tests
2025-06-03 13:54:38 +00:00
Clément Renault
82313a4444
Cargo fmt
2025-06-03 15:39:26 +02:00
Clément Renault
8fdcdee0cc
Do a first clippy pass
2025-06-03 15:39:26 +02:00
Clément Renault
3c218cc3a0
Update the default chat completions prompt
...
Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com >
2025-06-03 15:39:26 +02:00
Clément Renault
7d574433b6
Clean up chat completions modules a bit
2025-06-03 15:39:26 +02:00
Clément Renault
201a808fe2
Better report errors happening with the underlying LLM
2025-06-03 15:39:26 +02:00
Kerollmops
f827c2442c
Mark tool calls to be implemented later for non-streaming
2025-06-03 15:36:35 +02:00
Kerollmops
87d2e213f3
Update chat keys
2025-06-03 15:36:35 +02:00
Kerollmops
3b931e75d9
Make the chats settings and chat completions route experimental
2025-06-03 15:36:35 +02:00
Clément Renault
ae135d1d46
Implement a first version of a streamed chat API
2025-06-03 15:36:35 +02:00
Clément Renault
0efb72fe66
Introduce the first version of the /chat route that mimics the OpenAI API
2025-06-03 15:36:35 +02:00
ManyTheFish
bed442528f
Update charabia v0.9.4
2025-06-03 15:31:28 +02:00
Kerollmops
496685fa26
Implement deserr on ChatCompletions settings structs
2025-06-03 15:31:28 +02:00
Kerollmops
02cbcea3db
Better chat completions settings management
2025-06-03 15:31:28 +02:00
Kerollmops
0f7f5fa104
Introduce listing/getting/deleting/updating chat workspace settings
2025-06-03 15:31:28 +02:00
Kerollmops
50fafbbc8b
Implement useful conversion strategies and clean up the code
2025-06-03 15:31:28 +02:00
Clément Renault
2821163b95
Clean up the code a bit
2025-06-03 15:31:27 +02:00
Clément Renault
2da64e835e
Factorize the code a bit more and support reporting errors
2025-06-03 15:31:27 +02:00
Clément Renault
420c6e1932
Report the sources
2025-06-03 15:31:27 +02:00
Kerollmops
2a067d3327
Fix compilation error in test
2025-06-03 15:31:27 +02:00
Clément Renault
564cad1163
Call specific tools to show progression and results.
2025-06-03 15:31:27 +02:00
Clément Renault
33dfd422db
Introduce a lot of search parameters and make Deserr happy
2025-06-03 15:31:27 +02:00
Clément Renault
036a9d5dbc
Expose a well defined set of sources
2025-06-03 15:31:26 +02:00
Clément Renault
7b74810b03
Add the index descriptions to the function description
2025-06-03 15:31:26 +02:00
Clément Renault
3e53527bff
redact the chat settings API key
2025-06-03 15:31:26 +02:00
Clément Renault
7929872091
Better chat settings management
2025-06-03 15:31:26 +02:00
Clément Renault
afb43d266e
Correctly list the chat settings key actions
2025-06-03 15:31:26 +02:00
Clément Renault
05828ff2c7
Always use the frequency matching strategy
2025-06-03 15:31:26 +02:00
Clément Renault
75c3f33478
Correctly support document templates on the chat API
2025-06-03 15:31:25 +02:00
Clément Renault
c6930c8819
Introduce the new index chat settings
2025-06-03 15:31:25 +02:00
Clément Renault
439146289e
Make sure errorneous calls are handled and forwarded to the LLM
2025-06-03 15:31:25 +02:00
Clément Renault
6bf214bb14
Catch invalid argument calls to search function
2025-06-03 15:31:25 +02:00
Clément Renault
fcf694026d
Support multiple indexes and not only main
2025-06-03 15:31:25 +02:00
Clément Renault
0b675bd530
Limit the number of internal loop calls and change the function name
2025-06-03 15:31:25 +02:00
Clément Renault
7636365a65
Correctly support tenant tokens and filters
2025-06-03 15:31:24 +02:00
Clément Renault
46680585ae
Stream errors
2025-06-03 15:31:24 +02:00
Clément Renault
bcec8d8984
Stop the stream when the connexion stops and chnage the events
2025-06-03 15:31:24 +02:00
Clément Renault
56c1bd3afe
Generate a new default chat API key
2025-06-03 15:31:24 +02:00
Clément Renault
1a84f00fbf
Change the /chat route to /chat/completions to be OpenAI-compatible
2025-06-03 15:31:24 +02:00
Clément Renault
39320a6fce
Better stop the stream
2025-06-03 15:31:24 +02:00
Clément Renault
1d2dbcb51f
Update the streaming detection to work with Mistral
2025-06-03 15:31:23 +02:00
Clément Renault
341183cd57
Make it compatible with the Mistral API
2025-06-03 15:31:23 +02:00
Clément Renault
b9716ec346
Support base_api in the settings
2025-06-03 15:31:03 +02:00
Clément Renault
564f85280c
Make clippy happy
2025-06-03 15:31:03 +02:00
Clément Renault
7fa74b4931
Display pre-query prompt in search tool response
2025-06-03 15:31:03 +02:00
Clément Renault
7d8415448c
Commit when putting stuff in LMDB
2025-06-03 15:31:03 +02:00
Clément Renault
c7839b5a84
Remove useless function
2025-06-03 15:31:03 +02:00
Clément Renault
a52b513023
Expose new chat settings routes
2025-06-03 15:31:02 +02:00
Clément Renault
77e03e3f8c
Factorise a bit the code
2025-06-03 15:31:02 +02:00
Clément Renault
148816a3da
Display the different tool calls we need to do
2025-06-03 15:31:02 +02:00
Clément Renault
511eef87bf
Send an event with the content of the tool calling
2025-06-03 15:31:02 +02:00
Clément Renault
aef8448fc6
Streaming supports tool calling
2025-06-03 15:31:02 +02:00
Clément Renault
5fab2aee51
Nearly support tools on the streaming route
2025-06-03 15:31:02 +02:00
Clément Renault
1235523918
Return the right message format
2025-06-03 15:31:01 +02:00
Clément Renault
d4a16f2349
Aggregate tool calls and display the calls to make.
2025-06-03 15:31:01 +02:00
Clément Renault
0f05c0eb6f
Implement a first version of a streamed chat API
2025-06-03 15:31:01 +02:00
Clément Renault
2cd85c732a
Make it work by retrieving content from the index
2025-06-03 15:30:48 +02:00
Clément Renault
82fa70da83
Support overwriten prompts of the search query
2025-06-03 15:30:48 +02:00
Clément Renault
951be67060
Support querying the index named main
2025-06-03 15:30:48 +02:00
Clément Renault
5400f3941a
Introduce the first version of the /chat route that mimics the OpenAI API
2025-06-03 15:30:48 +02:00
Martin Tzvetanov Grigorov
af54c8381e
Use ${{ github.repository }} instead of hardcoding the repo/owner
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-03 15:46:16 +03:00
Martin Tzvetanov Grigorov
693fcd5752
Try with GITHUB_TOKEN
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-03 15:40:40 +03:00
Martin Tzvetanov Grigorov
733175359a
Update the new test case to use the new signature of index_with_documents_user_provided()
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-03 15:29:45 +03:00
Martin Tzvetanov Grigorov
7c6162f0bf
Fix clippy error
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-03 15:26:21 +03:00
Martin Tzvetanov Grigorov
d6ae39bf0f
tests: Faster search::hybrid IT tests
...
Use shared server + unique indices
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-03 15:26:21 +03:00
Tamo
e416bbc1de
Merge pull request #5623 from martin-g/faster-search-geo-it-tests
...
tests: Faster search::geo IT tests
2025-06-03 12:25:48 +00:00
Many the fish
5d0d12dfbd
Merge pull request #5630 from meilisearch/fix-test_meilisearch_1714
...
Adapt tests to the Chinese word segmenter changes
2025-06-03 12:20:08 +00:00
Tamo
2cfd363dc6
Merge pull request #5619 from martin-g/faster-documents-delete_documents-it-tests
...
tests: Faster documents::delete_documents IT tests
2025-06-03 12:06:07 +00:00
Martin Tzvetanov Grigorov
70aa78a2c2
Remove unused import
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-03 14:04:15 +03:00
Martin Grigorov
96c81762ed
Apply suggestions from code review
...
Do not redactions for the snapshot assertions
Co-authored-by: Tamo <irevoire@protonmail.ch >
2025-06-03 14:00:38 +03:00
Martin Tzvetanov Grigorov
0b1f634afa
Remove useless code
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-03 13:52:55 +03:00
Martin Tzvetanov Grigorov
d3d5015854
Use the cancelled task uid
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-03 13:50:04 +03:00
Martin Grigorov
f95f29c492
Use unique server+index for list_tasks_type_filtered() test case
...
Co-authored-by: Tamo <irevoire@protonmail.ch >
2025-06-03 13:45:46 +03:00
Martin Grigorov
a50b69b868
Use unique server+index for list_tasks_status_filtered() test case
...
Co-authored-by: Tamo <irevoire@protonmail.ch >
2025-06-03 13:45:17 +03:00
Martin Grigorov
3668f5f021
Use unique server+index for list_tasks() test case
...
Co-authored-by: Tamo <irevoire@protonmail.ch >
2025-06-03 13:44:38 +03:00
Martin Tzvetanov Grigorov
54fdf379bb
Use shared_does_not_exists_index() index for delete_one_document_unexisting_index() test case
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-03 13:41:13 +03:00
Martin Tzvetanov Grigorov
41b1cd5a73
Extract GEO_DOCUMENTS static variable and shared index with these docs
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-03 13:08:12 +03:00
Tamo
5c14a25d5a
Merge pull request #5624 from martin-g/faster-documents-get_documents-it-tests
...
tests: Faster documents::get_documents IT tests
2025-06-03 09:37:07 +00:00
Tamo
fda2843135
Merge pull request #5621 from martin-g/faster-similar-errors-it-tests
...
tests: Faster similar::errors IT tests
2025-06-03 09:27:27 +00:00
Tamo
9347330f3a
Merge pull request #5620 from martin-g/faster-search-distinct-it-tests
...
tests: Faster search::distinct IT tests
2025-06-03 09:24:39 +00:00
Tamo
56c9190dab
Merge pull request #5618 from martin-g/faster-vector-binary_quantized-it-tests
...
tests: Faster vector::binary_quantized IT tests
2025-06-03 09:20:08 +00:00
Tamo
6b986dceaf
Merge pull request #5607 from martin-g/faster-settings-get_settings-it-tests
...
tests: Faster settings::get_settings IT tests
2025-06-03 08:53:17 +00:00
ManyTheFish
cb7bb36080
update charabia v0.9.6
2025-06-03 10:48:41 +02:00
ManyTheFish
161cb736ea
Adapt tests to the Chinese word segmenter changes
...
The new Chinese segmenter is splitting words in smaller parts.
The words `小化妆包` was previously seegmented as `小 / 化妆包` and is now segmented as `小 / 化妆 / 包`,
which changes the tests results.
2025-06-03 10:37:29 +02:00
Many the fish
ea6bb4df1d
Merge pull request #5614 from meilisearch/fix-hybrid-distinct
...
Fix distinct for hybrid search
2025-06-03 07:20:55 +00:00
Martin Tzvetanov Grigorov
a3d2f64725
tests: Faster search::distinct IT tests
...
Use shared server + unique indices
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-03 08:23:26 +03:00
Many the fish
d5526cffff
Merge pull request #5527 from nnethercott/all-cpus-in-import-dump
...
Use all CPUs during an import dump
2025-06-02 15:24:59 +00:00
Louis Dureuil
5cb75d1f2a
ignore flaky test
2025-06-02 17:06:53 +02:00
Martin Tzvetanov Grigorov
921e3c4ffe
tests: Faster documents::get_documents IT tests
...
Use shared server + unique index
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-02 15:36:08 +03:00
Martin Tzvetanov Grigorov
52591761af
tests: Faster search::geo IT tests
...
Use shared server + unique indices
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-02 15:32:32 +03:00
Martin Tzvetanov Grigorov
f80182f0a9
tests: Faster similar::errors IT tests
...
Use shared server + unique indices
Related to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-02 15:20:17 +03:00
Martin Tzvetanov Grigorov
3b30b6a57a
tests: Faster documents::delete_documents IT tests
...
Use shared server + unique indices
Assert .succeeded()/.failed() for the waited tasks
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-02 15:04:48 +03:00
Martin Tzvetanov Grigorov
5efc78db55
tests: Faster vector::binary_quantized IT tests
...
Use shared server + unique indices where possible
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-02 14:47:18 +03:00
Martin Tzvetanov Grigorov
cffbe3fcb6
Trigger build
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-02 14:17:19 +03:00
Martin Tzvetanov Grigorov
8d8fcb9846
Revert to unique server + named index for some tests
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-02 11:44:21 +03:00
Many the fish
20049669c9
Merge pull request #5600 from martin-g/faster-search-facet_search-it-tests
...
tests: Faster search::facet_search IT tests
2025-06-02 08:39:30 +00:00
Martin Tzvetanov Grigorov
db28d13cb1
Remove useless assertion.
...
.succeeded() does the same
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-02 10:59:46 +03:00
Martin Tzvetanov Grigorov
5a7cfc57fd
tests: Faster tasks::mode IT tests
...
Use shared server + unique indices
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-02 10:56:43 +03:00
Martin Grigorov
790621dc29
Remove useless assert
...
Co-authored-by: Many the fish <many@meilisearch.com >
2025-06-02 10:55:28 +03:00
Many the fish
1d577ae98b
Merge pull request #5610 from martin-g/faster-settings-tokenizer_customization-it-tests
...
tests: Faster settings::tokenizer_customization IT tests
2025-06-02 07:09:41 +00:00
Many the fish
88e9a55d44
Merge pull request #5609 from martin-g/faster-settings-proximity_settings-it-tests
...
tests: Faster settings::proximity_settings IT tests
2025-06-02 07:09:06 +00:00
Many the fish
dbe551cf99
Merge pull request #5606 from martin-g/faster-settings-distinct-it-tests
...
tests: Faster settings::distinct IT tests
2025-06-02 07:07:23 +00:00
Many the fish
a299fbd33b
Merge pull request #5605 from martin-g/faster-search-restricted_searchable-it-tests
...
tests: Faster search::restricted_searchable IT tests
2025-06-02 07:06:50 +00:00
Many the fish
193119acb9
Merge pull request #5604 from martin-g/search-pagination-it-tests
...
tests: search::pagination IT tests
2025-06-02 07:05:52 +00:00
Many the fish
4c71118699
Merge pull request #5602 from martin-g/faster-search-matching_strategy-it-tests
...
tests: Faster search::matching_strategy IT tests
2025-06-02 07:04:43 +00:00
Many the fish
5fe2943d3c
Merge pull request #5601 from martin-g/faster-search-locales-it-tests
...
tests: Faster search::locales IT tests
2025-06-02 07:02:28 +00:00
Many the fish
86ff502327
Merge pull request #5599 from martin-g/faster-index-search-errors-tests
...
tests: Faster search::errors IT tests
2025-06-02 06:54:32 +00:00
Martin Tzvetanov Grigorov
6b1a345dce
tests: Faster settings::tokenizer_customization IT tests
...
Use shared server + unique indices
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-02 08:23:09 +03:00
Martin Tzvetanov Grigorov
b54ece690b
tests: Faster settings::proximity_settings IT tests
...
Use shared server + unique indices
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-06-02 08:20:05 +03:00
Martin Tzvetanov Grigorov
3ea167bade
tests: Faster settings::get_settings IT tests
...
Use shared server + unique indices
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-30 16:33:27 +03:00
Martin Tzvetanov Grigorov
1158d6689f
tests: Faster settings::distinct IT tests
...
Use shared server + unique indices
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-30 15:41:31 +03:00
Martin Tzvetanov Grigorov
d9b0463a0b
tests: Faster search::restricted_searchable IT tests
...
Use shared server + unique indices
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-30 15:37:27 +03:00
Martin Tzvetanov Grigorov
ae9899f179
tests: search::pagination IT tests
...
Minor cleanup.
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-30 15:26:55 +03:00
Martin Tzvetanov Grigorov
308fd7128e
Fix clippy errors
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-29 11:36:56 +03:00
Martin Tzvetanov Grigorov
27e7c00622
Add dynamic redactions for taskUid and enqueuedAt properties
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-29 11:33:10 +03:00
Martin Tzvetanov Grigorov
58207da934
Trigger build
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-29 10:56:33 +03:00
Martin Tzvetanov Grigorov
fb8b832192
Trigger build
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-29 10:54:31 +03:00
Martin Tzvetanov Grigorov
17207b5405
tests: Faster search::matching_strategy IT tests
...
Use shared server + unique indices for all tests
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-29 09:09:02 +03:00
Martin Tzvetanov Grigorov
bd95503eba
tests: Faster search::locales IT tests
...
Use a shared server + unique indices where possible
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-29 09:03:23 +03:00
Martin Tzvetanov Grigorov
8b8b0d802c
tests: Faster search::facet_search IT tests
...
Use shared server + unique indices where possible.
Assert .succeeded() for the waited tasks.
Drop usage of dbg!() in the assertions. It caused noise in the logs
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-29 08:53:10 +03:00
Martin Tzvetanov Grigorov
d329e86250
tests: Use shared server + unique server where possible
...
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-29 08:42:10 +03:00
Many the fish
d416b3b390
Merge pull request #5592 from nnethercott/extract-geo-facets-seperately
...
Decouple geo facet extraction from rest of document
2025-05-28 16:22:10 +00:00
Louis Dureuil
54f5e74744
Support distinct in hybrid search
2025-05-28 17:58:58 +02:00
Louis Dureuil
fd4b192a39
Add distinct_fid function and expose distinct_single_docid
2025-05-28 17:58:58 +02:00
Louis Dureuil
3c13feebf7
Test that distinct is applied for hybrid search
2025-05-28 17:58:58 +02:00
nnethercott
1811168b96
remove duplicated check on geo field changes
2025-05-28 15:45:13 +02:00
Nate Nethercott
b06cc1e0a2
Update crates/milli/src/update/new/extract/faceted/extract_facets.rs
...
Co-authored-by: Many the fish <many@meilisearch.com >
2025-05-28 15:38:23 +02:00
Nate Nethercott
44f812c36d
Update crates/milli/src/update/new/extract/faceted/extract_facets.rs
...
Co-authored-by: Many the fish <many@meilisearch.com >
2025-05-28 15:38:12 +02:00
Tamo
c8e77b5f25
Merge pull request #5574 from martin-g/faster-add_documents-it-tests
...
perf: Faster integration tests for add_documents.rs
2025-05-28 13:13:38 +00:00
Tamo
283f516e15
Merge pull request #5579 from martin-g/faster-index-update_index-it-tests
...
perf: Faster index::update_index IT tests
2025-05-28 13:11:56 +00:00
Martin Tzvetanov Grigorov
b4ca0a8c98
Update the tests related to updating indices
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-28 15:02:41 +03:00
Martin Tzvetanov Grigorov
b658e38acd
Fix formatting
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-28 15:02:41 +03:00
Martin Tzvetanov Grigorov
f87e46cc16
Ignore the result from #wait_task()
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-28 15:02:41 +03:00
Martin Grigorov
65354b414a
Update crates/meilisearch/tests/index/update_index.rs
...
Co-authored-by: Tamo <irevoire@protonmail.ch >
2025-05-28 15:02:40 +03:00
Martin Grigorov
025df397c0
Update crates/meilisearch/tests/index/update_index.rs
...
Co-authored-by: Tamo <irevoire@protonmail.ch >
2025-05-28 15:02:40 +03:00
Martin Grigorov
f77abc9dc8
Update crates/meilisearch/tests/index/update_index.rs
...
Co-authored-by: Tamo <irevoire@protonmail.ch >
2025-05-28 15:02:40 +03:00
Martin Tzvetanov Grigorov
7e9909ee45
perf: Faster index::update_index IT tests
...
Use a shared server where possible.
Assert succeeded/failed task waits.
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-28 15:02:40 +03:00
Martin Tzvetanov Grigorov
43ec97fe45
format the code
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-28 15:01:04 +03:00
Martin Tzvetanov Grigorov
02929e241b
Update the status code
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-28 14:36:13 +03:00
Martin Tzvetanov Grigorov
c13efde042
uuid is a production dependency of meili-snap
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-28 14:35:50 +03:00
Martin Grigorov
36f0a1492c
Apply suggestions from code review
...
Co-authored-by: Tamo <irevoire@protonmail.ch >
2025-05-28 14:22:04 +03:00
Martin Tzvetanov Grigorov
ce65ad213b
Add dynamic redactions for uid, batchUid and taskUid
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-28 14:22:04 +03:00
Martin Tzvetanov Grigorov
3e0de6cb83
Wait for the batched tasks bu their real uid.
...
Some of them succeed, others fail.
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-28 14:22:04 +03:00
Martin Tzvetanov Grigorov
f3d691667d
Use a Regex in insta dynamic redaction to replace Uuids with [uuid]
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-28 14:22:01 +03:00
Martin Tzvetanov Grigorov
ce9c930d10
Fix clippy and fmt
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-28 14:21:25 +03:00
Martin Tzvetanov Grigorov
fc88b003b4
Use shared server and unique indices for add_documents IT tests
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-28 14:20:07 +03:00
Martin Tzvetanov Grigorov
cf5d26124a
Call .succeeded() or .failed() on the waited task
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-28 14:18:34 +03:00
Martin Tzvetanov Grigorov
38b1c57fa8
Faster IT tests for add_documents.rs
...
Use Shared server where possible
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-28 14:18:33 +03:00
Many the fish
25c525b057
Merge pull request #5589 from mcmah309/typo_fix
...
Typo fix
2025-05-28 11:02:22 +00:00
Tamo
83cd28b60b
Merge pull request #5584 from martin-g/faster-index-search-mod-tests
...
tests: Faster index::search::mod IT tests
2025-05-28 08:40:37 +00:00
Martin Tzvetanov Grigorov
48cad4132a
Fix clippy - ignore code variable
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-27 16:44:57 +03:00
Martin Tzvetanov Grigorov
4897ad99d0
Wait for the add_documents task
...
Format the code
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-27 14:26:29 +03:00
Many the fish
5b67de0367
Merge pull request #5593 from meilisearch/remove-template-checker
...
Remove TemplateChecker
2025-05-27 09:11:51 +00:00
Martin Tzvetanov Grigorov
46ff78b4ec
Update the regex to replace all occurrences of uuids in the redaction
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-27 11:47:02 +03:00
Louis Dureuil
5810fb239f
Reference PR in comments
2025-05-27 10:24:04 +02:00
Louis Dureuil
b007ed6be9
Remove TemplateChecker
2025-05-27 10:04:14 +02:00
nnethercott
9ad43b6841
rename has_changed to has_changed_for_facets
2025-05-26 18:37:20 +02:00
nnethercott
c9ec502ed9
refactor for readability
2025-05-26 18:32:59 +02:00
nnethercott
18aed75d3b
fix logic
2025-05-26 18:20:55 +02:00
nnethercott
6738a4f6ee
feat: mettre a jour the insta snapshots
2025-05-26 16:36:36 +02:00
Many the fish
a1ff41cabb
Merge pull request #5541 from meilisearch/deactivate-numbers-in-typos-enhancements
...
Minor fixes: Deactivate numbers in typos
2025-05-26 14:36:21 +00:00
Martin Tzvetanov Grigorov
d2948adea3
Migrate more tests to assert with "[uuid]" instead of real Uuid
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-26 14:31:58 +03:00
Martin Tzvetanov Grigorov
f54b57e5be
Use a Regex in insta dynamic redaction to replace Uuids with [uuid]
...
(cherry picked from commit f8b8c6ab71a28052cf9b271ca8aa5d4175f9e8f9)
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-26 14:03:48 +03:00
nnethercott
95821d0bde
refactor: update macro
2025-05-26 10:07:13 +02:00
nnethercott
f690fa0686
feat: add macro_rules to factorize
2025-05-26 09:46:14 +02:00
nnethercott
24e94b28c1
feat: uncouple geo extraction from full doc
2025-05-26 09:22:20 +02:00
Martin Tzvetanov Grigorov
34d58f35c8
Print [uuid] instead of the Uuid index name for MeilisearchHttpError::Milli errors
...
This way the tests' assertions/snapshots for unique indices would be stable
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-25 15:48:55 +03:00
mcmah309
1d5265caf4
Fix typo in method name
2025-05-22 14:25:04 +00:00
Many the fish
97aeb6db4d
Merge pull request #5548 from lblack00/attributes-to-search-on-nested-fields
...
Added support for nested wildcards to attributes_to_search_on
2025-05-22 13:58:23 +00:00
Many the fish
ff64c64abe
Merge pull request #5587 from meilisearch/fix-derivations-again
...
Fix another derivation-related panic in the search
2025-05-22 13:39:04 +00:00
Tamo
ee326a1ecc
Merge pull request #5588 from meilisearch/rename-batch-stopped-reason
...
Rename batch creation complete
2025-05-22 12:39:34 +00:00
Louis Dureuil
c204a7bb12
Update snapshots
2025-05-22 12:39:37 +02:00
Louis Dureuil
cf4798bd2b
Change batch stop reason messages to match the new batch_strategy API name
2025-05-22 12:20:17 +02:00
Louis Dureuil
4d761d3444
Rename batch_creation_complete to batch_strategy
2025-05-22 12:19:54 +02:00
Louis Dureuil
c9b78970c9
Remove lambdas from the find_*_derivations
...
Make sure their number of insert in the interner are bounded
2025-05-22 11:06:14 +02:00
Tamo
ae3c4e27c4
Merge pull request #5557 from meilisearch/update-charabia-v0.9.4
...
Update charabia v0.9.5
2025-05-21 10:56:41 +00:00
ManyTheFish
1b718afd11
Update charabia removing a lot of dependencies
2025-05-21 11:52:19 +02:00
ManyTheFish
01ef055f40
Update charabia v0.9.4
2025-05-21 11:52:19 +02:00
Lucas Black
f888f87635
Updated formatting using RustFmt
2025-05-21 02:07:25 -07:00
Many the fish
293a425183
Apply suggestions from code review
...
Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com >
2025-05-21 10:49:43 +02:00
ManyTheFish
699ec18de8
Fix warnings
2025-05-21 10:49:43 +02:00
ManyTheFish
73e4206b3c
Pass a progress callback to recompute_word_fst_from_word_docids_database
...
fixes https://github.com/meilisearch/meilisearch/pull/5494#discussion_r2069377991
2025-05-21 10:49:43 +02:00
ManyTheFish
a964251cee
Remove useless reset
...
fixes https://github.com/meilisearch/meilisearch/pull/5494#discussion_r2069373494
2025-05-21 10:49:43 +02:00
Martin Tzvetanov Grigorov
8c8d98eeaa
Use shared server and unique indices for all tests where possible
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-21 10:48:20 +03:00
Lucas Black
c5ae43cac6
Updated all additional test cases
2025-05-20 09:03:26 -07:00
Martin Tzvetanov Grigorov
57eecd6197
Remove an empty line
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-20 14:37:45 +03:00
Martin Tzvetanov Grigorov
2fe5c78cb6
tests: Faster index::search::mod IT tests
...
* Use shared index where possible.
* Call .succeeded/.failed when waiting for a task.
* Use newer format_args syntax
* Do not use fully qualified name for meili_snap:: functions. The
functions are already imported in scope
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-20 14:26:26 +03:00
Louis Dureuil
8068337b07
Merge pull request #5573 from CodeMan62/fix-5555
...
Only intern in case of typo when looking for one or two typoes
2025-05-20 09:17:35 +00:00
Tamo
8047cfe438
Merge pull request #5580 from martin-g/better-assertions-index-delete_index-it-tests
...
tests: Assert succeeded/failed for the index::delete_index IT tests
2025-05-20 08:49:24 +00:00
CodeMan62
f26826f115
fix issue 5555
2025-05-20 10:41:32 +02:00
Tamo
5717e5c1af
Merge pull request #5578 from martin-g/faster-index-get_index-it-tests
...
perf: Faster index::get_index IT tests
2025-05-20 08:41:11 +00:00
Martin Tzvetanov Grigorov
bb07038c31
tests: Assert succeeded/failed for the index::delete_index IT tests
...
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-19 16:57:53 +03:00
Martin Tzvetanov Grigorov
d1a088ea0b
Format the code
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-19 16:52:43 +03:00
Martin Tzvetanov Grigorov
b68e22c0e6
Revert the improvements for get_and_paginate_indexes()
...
Because they won't work in multi-threaded execution of the tests
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-19 16:36:45 +03:00
Martin Tzvetanov Grigorov
03a36f116e
1. Use a unique Server for no_index_return_empty_list test
...
... because a Shared one could see indices created by other tests
2. List at least 1000 indices to make sure we get the newly created ones
in list_multiple_indexes()
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-19 16:20:16 +03:00
Tamo
8a0bf24ed5
Merge pull request #5572 from martin-g/faster-stats-it-tests
...
perf: Faster IT tests - stats.rs
2025-05-19 12:44:08 +00:00
Martin Tzvetanov Grigorov
e2763471e5
Faster index::get_index IT tests
...
Use shared server for all tests in get_index.rs
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-19 15:36:25 +03:00
Martin Tzvetanov Grigorov
b2f2c5d69f
Remove an assertion of a task uid.
...
It differs for every run of the IT test suite.
Format the imports
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-19 14:44:08 +03:00
Tamo
e547bfb428
Merge pull request #5577 from meilisearch/comment-out-swarmia
...
Comment out swarmia deployment for now
2025-05-19 10:13:41 +00:00
Lucas Black
1594c54e23
Provide more information about resulting documents on test case
2025-05-19 02:37:23 -07:00
Louis Dureuil
768cfb6c2d
Comment out swarmia deployment for now
2025-05-19 11:34:21 +02:00
Lucas Black
13b607bd68
Removed matches_wildcard_pattern() and integrated match_pattern() into attributes_to_search_on(), updated test cases
2025-05-18 20:24:52 -07:00
Martin Tzvetanov Grigorov
3d130d31c8
Do not hard code the non-exiting index name/uid
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-16 15:49:50 +03:00
Martin Tzvetanov Grigorov
4cda584b0c
Fix the build of stats.rs
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org >
2025-05-16 15:45:25 +03:00
Santhosh Reddy Vootukuri (SUNNY) (from Dev Box)
248c90bad5
removing .await
2025-05-16 15:29:24 +03:00
Santhosh Reddy Vootukuri (SUNNY) (from Dev Box)
0e9040e605
remove warnings
2025-05-16 15:29:23 +03:00
Santhosh Reddy Vootukuri (SUNNY) (from Dev Box)
3e3c00f44c
fix for test failure
2025-05-16 15:29:23 +03:00
Santhosh Reddy Vootukuri (SUNNY) (from Dev Box)
d986a3bbaf
Changes to index and expected_response as per feedback
2025-05-16 15:29:22 +03:00
Santhosh Reddy Vootukuri (SUNNY) (from Dev Box)
c2ceb8e41b
Improve Integration tests in the file stats.rs
2025-05-16 15:29:18 +03:00
Tamo
a25eb9c136
Merge pull request #5566 from meilisearch/bad-max-total-hits
...
Forbid 0 in maxTotalHits
2025-05-15 15:01:22 +00:00
Tamo
cc2011a27f
Merge pull request #5565 from meilisearch/fix-0-batched-task
...
Fix 0 batched task
2025-05-15 12:41:48 +00:00
Tamo
604e156c2b
add the snapshots
2025-05-15 11:35:31 +02:00
Tamo
1d6777ee68
Forbid 0 in maxTotalHits
2025-05-15 11:32:08 +02:00
Nate Nethercott
79db2e67fb
refactor: prefer helper over explicit pool construction
...
Co-authored-by: Many the fish <many@meilisearch.com >
2025-05-15 11:24:34 +02:00
Tamo
0940f0e4f4
add a test
2025-05-15 11:10:08 +02:00
Louis Dureuil
d40290aaaf
Merge pull request #5560 from meilisearch/experimental-no-snapshot-compression
...
Add an experimental cli flag to disable snapshot compaction
2025-05-15 07:51:06 +00:00
nnethercott
865f24cfef
refactor: helper methods for pool and max threads
2025-05-14 23:45:24 +02:00
Louis Dureuil
fd2de7c668
Merge pull request #5564 from meilisearch/dont-intern-without-typo-v15
...
Port to v1.15: Only intern in case of single-typo when looking for single typoes
2025-05-14 16:30:57 +00:00
Many the fish
448564b674
Merge pull request #5563 from meilisearch/fix-swarmia-deploy
...
Fix swarmia deployement
2025-05-14 16:12:05 +00:00
Louis Dureuil
c5dd8e7d6f
Add test
2025-05-14 17:36:09 +02:00
Louis Dureuil
c9b4c1fb81
Only intern in case of single-typo when looking for single typoes
2025-05-14 17:36:03 +02:00
curquiza
0f10ec96af
Fix swarmia deployement
2025-05-14 17:35:47 +02:00
Tamo
8608d10fa2
Don't process any tasks if the max number of batched tasks is set to 0
2025-05-14 17:09:10 +02:00
Tamo
83e71cd7b9
Add an experimental cli flag to disable snapshot compaction
2025-05-14 15:59:35 +02:00
Lucas Black
3fbe1df770
Updated nested_search_all_details_with_deep_wildcard() to test deeply nested attributes
2025-05-14 00:18:30 -07:00
Lucas Black
150d1db86b
Implemented integration tests for restrict_searchable.rs on nested wildcard attributes
2025-05-13 21:44:24 -07:00
Nate Nethercott
806e983aa5
fix: lazy computation in thread default
...
Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com >
2025-05-13 14:14:48 +02:00
nnethercott
e96c1d4b0f
style: change fmt from empty str to "unlimited"
2025-05-13 12:16:34 +02:00
nnethercott
15cdc6924b
refactor: remove runtime cfg!(test) check
...
Won't work in integration tests and consequently all threads would be
used. To remedy this we make explicit `max_threads=Some(1)` in the
IndexerConfig::default
2025-05-13 09:18:19 +02:00
Clément Renault
677e8b122c
Merge pull request #5551 from meilisearch/dont-intern-without-typo
...
Only intern in case of single-typo when looking for single typoes
2025-05-12 20:23:39 +00:00
nnethercott
75a7e40a27
Merge branch 'main' into all-cpus-in-import-dump
2025-05-12 21:48:12 +02:00
Many the fish
d9a527854a
Merge pull request #5546 from meilisearch/curquiza-patch-1
...
Add set in GitHub action to notify deployment to Swarmia
2025-05-12 13:36:13 +00:00
Louis Dureuil
e4f05326be
Merge pull request #5552 from meilisearch/v1-15-dumpless-upgrade
...
Add v1.15 in index-scheduler upgrade
2025-05-12 12:59:47 +00:00
ManyTheFish
d99419acfb
Add a NoOp operation in index update
2025-05-12 14:19:15 +02:00
ManyTheFish
f349630e78
Add v1.15 in index-scheduler upgrade
2025-05-12 13:53:23 +02:00
Louis Dureuil
c8939944c6
Add test
2025-05-12 12:40:55 +02:00
Louis Dureuil
4e6252fb03
Only intern in case of single-typo when looking for single typoes
2025-05-12 11:59:21 +02:00
Many the fish
2d1412afce
Merge pull request #5549 from meilisearch/update-version-v1.15.0
...
Update version for the next release (v1.15.0) in Cargo.toml
2025-05-12 09:21:43 +00:00
ManyTheFish
0f4536df2d
Adapt dumpless upgrade tests
2025-05-12 10:43:12 +02:00
ManyTheFish
3531efb169
Update version for the next release (v1.15.0) in Cargo.toml
2025-05-12 08:04:18 +00:00
Lucas Black
8bd8e744f3
Attributes to search on supports nested wildcards
2025-05-09 02:42:48 -07:00
Clémentine
6ec430b633
Update .github/workflows/publish-docker-images.yml
2025-05-08 20:08:34 +02:00
Clémentine
4041978402
Add set in GitHub action to notify deployment to Swarmia
2025-05-08 20:07:36 +02:00
nnethercott
53f32a7dd7
refactor: change thread_pool from Option<ThreadPoolNoAbort> to
...
ThreadPoolNoAbort
2025-05-07 17:00:08 +02:00
nnethercott
47a7ed93d3
feat: Make MaxThreads None by default
2025-05-06 09:11:55 +02:00
Many the fish
71ab11f1fe
Merge pull request #5523 from meilisearch/rollback-updates
...
Allow rollbacking updates
2025-05-05 09:53:56 +00:00
Many the fish
436776cdbf
Merge pull request #5535 from meilisearch/filter-comparison-string
...
Allow lexicographic filtering of strings
2025-05-05 09:53:19 +00:00
Many the fish
96bc519f9e
Merge pull request #5494 from meilisearch/deactivate-numbers-in-typos
...
Deactivate numbers in typos
2025-05-05 09:19:53 +00:00
Nate Nethercott
2ac826edca
Apply suggested changes
...
Co-authored-by: Clément Renault <renault.cle@gmail.com >
Update crates/meilisearch/src/lib.rs
Co-authored-by: Clément Renault <renault.cle@gmail.com >
2025-05-01 16:12:06 +02:00
ManyTheFish
8b23eddc10
Dumpless upgrade
2025-04-30 18:03:50 +02:00
Louis Dureuil
185f2b8f74
Fix test now that lexicographic string comparisons are allowed
2025-04-30 17:28:59 +02:00
Louis Dureuil
c0e987979a
Allow lexicographic string comparisons
2025-04-30 17:28:49 +02:00
nnethercott
89aff2081c
Fix clippy warnings
2025-04-30 14:17:32 +02:00
Clément Renault
032c67662d
Merge pull request #5533 from ZeroZ-lab/fix-readme
...
Fix links and formatting in README.md for clarity and consistency
2025-04-29 22:11:36 +00:00
GuanMu
03f59786c2
Fix links and formatting in README.md for clarity and consistency
2025-04-30 00:10:41 +08:00
Louis Dureuil
f7c1f19dd8
rust fmt
2025-04-29 16:10:43 +02:00
Louis Dureuil
1542ff30ae
Roll back index scheduler version first
2025-04-29 16:05:43 +02:00
Louis Dureuil
20d0aa499a
Apply suggestions from code review
...
Co-authored-by: Clément Renault <clement@meilisearch.com >
2025-04-29 16:03:30 +02:00
ManyTheFish
0cb2bf34a5
Fix test
2025-04-29 14:47:30 +02:00
Louis Dureuil
de03b7e437
Merge pull request #5530 from meilisearch/rename-batcher-stopped-because
...
Rename `batcherStoppedBecause` to `batchCreationComplete`
2025-04-29 10:35:57 +00:00
Louis Dureuil
a315726f96
Update snapshots
2025-04-29 11:50:32 +02:00
Louis Dureuil
91d2a07499
Rename batcherStoppedBecause to batchCreationComplete
2025-04-29 10:40:12 +02:00
nnethercott
3b773b3416
Revert thread_pool type back to Option in config
2025-04-28 11:56:37 +02:00
nnethercott
648b2876f6
Create temp threadpool with all CPUs in dump
2025-04-27 00:52:10 +02:00
Louis Dureuil
c5360bcdbf
When canceling an upgrade task, execute the rollback code
2025-04-24 16:59:03 +02:00
Louis Dureuil
1bdc08a73a
tick: always refuse to batch tasks when the version in the index-scheduler is wrong
2025-04-24 16:54:43 +02:00
Louis Dureuil
63b5e21ae1
tick: check tasks to cancel before checking for upgrade tasks
2025-04-24 16:52:28 +02:00
Louis Dureuil
eb0b5239cb
process rollback
2025-04-24 16:52:28 +02:00
Louis Dureuil
121c1ac1dd
Upgrade supports cancelling
2025-04-24 16:08:10 +02:00
Louis Dureuil
b82dda2d0d
Allow rollbacking indexes in the mapper
2025-04-24 16:08:10 +02:00
Louis Dureuil
ea9330e9c9
Add new errors when there is a version mismatch between the bin and index or index-scheduler
2025-04-24 16:08:10 +02:00
Louis Dureuil
b6a9d8d2ac
Add Error::RollbackFailed
2025-04-24 16:06:19 +02:00
Louis Dureuil
a03eef6511
Support rollback
2025-04-24 16:06:19 +02:00
Louis Dureuil
42fae9994d
Move tests out of index.rs
2025-04-24 16:06:19 +02:00
Louis Dureuil
e1aa534389
Wait 10 seconds in case of irrecoverable error
2025-04-24 16:06:19 +02:00
Louis Dureuil
49add50cb3
Make version constants u32
2025-04-24 16:06:19 +02:00
Louis Dureuil
29b947ee43
make Index::get_version public
2025-04-24 16:05:52 +02:00
Clément Renault
3f683c4238
Merge pull request #5525 from meilisearch/arroy-call-tracking
...
Display the time spent querying the vector store
2025-04-23 20:37:26 +00:00
ManyTheFish
294ccb6f44
Add test
2025-04-23 16:57:50 +02:00
ManyTheFish
63a4dfa2a8
Add disableOnNumber setting
2025-04-23 16:57:50 +02:00
Kerollmops
3b8965bc76
Display and sum the time spent in arroy
2025-04-22 18:10:42 +02:00
Tamo
9fd9fcb03e
Merge pull request #5512 from DanasFi/task_queue_metrics
...
Task queue metrics
2025-04-17 09:38:25 +00:00
Clément Renault
30805bbed5
Merge pull request #5520 from meilisearch/remove-ph-banner
...
Remove ProductHunt banner
2025-04-17 09:29:36 +00:00
DanasFi
2984be880f
Add task queue metrics to grafana dashboard
2025-04-17 10:49:04 +02:00
DanasFi
fd0623c085
Fix typo in function to get size until task queue stops
2025-04-17 10:48:56 +02:00
DanasFi
eeb33b913c
Corrected metric for task queue total size
2025-04-17 10:46:26 +02:00
DanasFi
3d93efc6aa
Added metric to check task queue size until stop
2025-04-17 10:46:25 +02:00
DanasFi
425ef1b205
Added task queue used size metric
2025-04-17 10:45:02 +02:00
DanasFi
f607449cb7
Added metric for task queue total size.
2025-04-17 10:45:02 +02:00
Tamo
e9b4794f2b
Merge pull request #5488 from meilisearch/try-batch-end-reason
...
add "batcher stopped because" field to batch objects
2025-04-17 08:26:31 +00:00
Clément Renault
c413855156
Merge pull request #5519 from meilisearch/fix-ruleset-workflow
...
Fix ruleset workflow
2025-04-17 07:08:07 +00:00
Kerollmops
7cdb4aa473
Remove ProductHunt banner
2025-04-16 18:45:37 +02:00
Kerollmops
bfe4968d7e
Debug and change the method to get the env content
2025-04-16 18:15:36 +02:00
Kerollmops
7372083a5a
Do not trigger ruleset workflow when closing a milestone
2025-04-16 18:14:12 +02:00
Tamo
8cecc6989a
Merge pull request #5513 from meilisearch/bump-prometheus-protobuf
...
Bump prometheus protobuf
2025-04-16 09:15:29 +00:00
Kerollmops
1f1edd6e25
Fix prometheus function signature to use strings instead of strs
2025-04-16 10:30:55 +02:00
Kerollmops
bc5efa9a76
Bump prometheus to v0.14.0
2025-04-16 10:30:25 +02:00
Tamo
3ec5b9d488
Merge pull request #5487 from HDT3213/bugfix/geosort
...
fix ranking rules after _geo do not work
2025-04-15 13:29:07 +00:00
Louis Dureuil
b61eb19601
Fix snapshots
2025-04-15 15:13:53 +02:00
Louis Dureuil
231a027c7d
Use TaskKindCannotBeBatched for task deletion, upgrade database and snapshot creation
2025-04-15 15:13:53 +02:00
Louis Dureuil
f8ff91ed30
Add BatchReason::TaskKindCannotBeBatched
2025-04-15 15:13:53 +02:00
Louis Dureuil
b73660fa8e
Update crates/index-scheduler/src/scheduler/test_document_addition.rs
...
fix comment in test
Co-authored-by: Tamo <tamo@meilisearch.com >
2025-04-15 14:48:11 +02:00
Tamo
55adbac2dd
Apply suggestions from code review
2025-04-15 14:43:07 +02:00
hdt3213
fd7fbfa9eb
Refactor geo_max_bucket_size injection
2025-04-15 20:24:04 +08:00
Louis Dureuil
3a93f88ba6
Merge pull request #5498 from meilisearch/snapshot-no-compaction
...
Stop compacting the snapshot
2025-04-15 08:30:40 +00:00
hdt3213
7c1c4f9c26
fix test_geo_sort_reached_max_bucket_size
2025-04-15 08:19:22 +08:00
hdt3213
1f5412003d
optimize test suite
2025-04-15 07:17:47 +08:00
hdt3213
5da92a3d53
test geo sort reached max_bucket_size
2025-04-14 23:14:17 +08:00
hdt3213
c4a8b84dc0
code style
2025-04-14 23:04:17 +08:00
hdt3213
ffe3faeca7
cargo fmt
2025-04-14 23:04:17 +08:00
hdt3213
0f07cfed14
GeoSort support max_bucket_size and distance_error_margin configuration
2025-04-14 23:04:17 +08:00
hdt3213
326a728434
fix code style
2025-04-14 23:04:17 +08:00
hdt3213
e4733dcd42
fix ranking rules after _geo do not work
2025-04-14 23:04:17 +08:00
Louis Dureuil
a500fa053c
Merge pull request #5509 from meilisearch/release-v1.14.0-tmp
...
Bring back changes from v1.14.0 to main
2025-04-14 13:59:23 +00:00
Tamo
61db56f785
remove duplicated test
2025-04-14 14:55:57 +02:00
Clément Renault
235556d699
Merge pull request #5485 from meilisearch/dependabot/github_actions/actions/checkout-3
...
Bump actions/checkout from 1 to 3
2025-04-14 11:40:37 +00:00
Clément Renault
a3a1065c16
Merge pull request #5497 from meilisearch/dependabot/cargo/tokio-1.43.1
...
Bump tokio from 1.42.0 to 1.43.1
2025-04-14 11:40:13 +00:00
Tamo
b025f1bcf1
Merge branch 'main' into release-v1.14.0-tmp
2025-04-14 12:35:47 +02:00
Clément Renault
707d106a24
Merge pull request #5482 from meilisearch/dependabot/github_actions/actions/github-script-7
...
Bump actions/github-script from 6 to 7
2025-04-14 09:53:41 +00:00
Clément Renault
97d6726291
Merge pull request #5483 from meilisearch/dependabot/github_actions/Swatinem/rust-cache-2.7.8
...
Bump Swatinem/rust-cache from 2.7.7 to 2.7.8
2025-04-14 09:53:32 +00:00
Clément Renault
82fa571ef7
Merge pull request #5503 from meilisearch/dependabot/cargo/crossbeam-channel-0.5.15
...
Bump crossbeam-channel from 0.5.14 to 0.5.15
2025-04-14 09:53:03 +00:00
dependabot[bot]
5d453e6049
Bump crossbeam-channel from 0.5.14 to 0.5.15
...
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.5.14 to 0.5.15.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.14...crossbeam-channel-0.5.15 )
---
updated-dependencies:
- dependency-name: crossbeam-channel
dependency-version: 0.5.15
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-10 14:44:12 +00:00
Louis Dureuil
9e7d7beb4a
stop compacting the snapshot
2025-04-08 14:53:58 +02:00
dependabot[bot]
a225ab2637
Bump tokio from 1.42.0 to 1.43.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.42.0 to 1.43.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.42.0...tokio-1.43.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.43.1
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-08 02:13:40 +00:00
Louis Dureuil
94b43001db
Merge pull request #5492 from meilisearch/accept-cancelation-tasks-when-disk-full
...
make meilisearch accept cancelation tasks even when the disk is full
2025-04-03 15:46:46 +00:00
Tamo
796a325972
Fix typos
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-04-03 15:53:42 +02:00
Tamo
1db550ec7f
make meilisearch accept cancelation tasks even when the disk is full
2025-04-03 15:47:56 +02:00
Louis Dureuil
c3c5a928e4
Merge pull request #5486 from CodeMan62/fix-network-url-validation-error-msg
...
Update network URL validation error message format to match expected
2025-04-03 10:42:33 +00:00
Louis Dureuil
c4787760d3
add test
2025-04-03 11:57:43 +02:00
Louis Dureuil
7ca2a8eb6f
Use url::Url::parse to check the url
2025-04-03 11:57:36 +02:00
Louis Dureuil
c1c065079f
Fix snapshots again
2025-04-03 10:51:57 +02:00
Louis Dureuil
1cca4abf5a
Replace batch stop reason when deleting index
2025-04-03 10:33:59 +02:00
Louis Dureuil
bd172bf68a
Fix more snapshots
2025-04-03 10:30:03 +02:00
Louis Dureuil
70ed6ba798
fix test + change name
2025-04-02 17:56:34 +02:00
Louis Dureuil
f3ab940776
Make it compile
2025-04-02 17:14:40 +02:00
Louis Dureuil
87547550f5
patch reasons
2025-04-02 16:10:11 +02:00
Kerollmops
e067d796b3
Improve the primary key stop reasons error messages
2025-04-02 15:56:56 +02:00
CodeMan62
c2ff4dd3b2
Apply cargo fmt changes
2025-04-02 19:08:46 +05:30
Louis Dureuil
31bda976f2
WIP
2025-04-02 15:29:47 +02:00
CodeMan62
fce0fa9c57
Update network URL validation error message format to match expected pattern
2025-04-02 00:19:50 +05:30
dependabot[bot]
a10efedd2f
Bump actions/checkout from 1 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 1 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v1...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '3'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-01 17:31:28 +00:00
dependabot[bot]
55ec96d31a
Bump Swatinem/rust-cache from 2.7.7 to 2.7.8
...
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache ) from 2.7.7 to 2.7.8.
- [Release notes](https://github.com/swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/swatinem/rust-cache/compare/v2.7.7...v2.7.8 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-version: 2.7.8
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-01 17:31:18 +00:00
dependabot[bot]
4249630791
Bump actions/github-script from 6 to 7
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-01 17:31:14 +00:00
Louis Dureuil
418fa47963
Merge pull request #5313 from barloes/fixRankingScoreThresholdRankingIssue
...
fix for rankingScoreThreshold changes the results' ranking
2025-04-01 13:10:55 +00:00
Louis Dureuil
0656a0d515
Optimize roaring operation
...
Co-authored-by: Many the fish <many@meilisearch.com >
2025-04-01 14:25:27 +02:00
Louis Dureuil
19f4c1ac98
Merge pull request #5480 from meilisearch/bump-rustc-version
...
Bump Rust version to 1.85.1
2025-04-01 11:51:36 +00:00
Clément Renault
a0bfcf8872
Make cargo fmt happy
2025-04-01 11:27:41 +02:00
Clément Renault
64477aac60
Box the large GeoError error variant
2025-04-01 11:26:34 +02:00
Clément Renault
4d90e3d2ec
Make Cargo and Clippy happy
2025-04-01 11:26:34 +02:00
Tamo
4ab547c6fa
Merge pull request #5471 from HDT3213/feat/ecPrivateKey
...
Support EC private key
2025-04-01 08:55:29 +00:00
Tamo
e36a8c50b9
Merge pull request #5478 from meilisearch/enforce-embedding-dimensions
...
Enforce embedding dimensions
2025-03-31 15:31:29 +00:00
Kerollmops
249da5846c
Bump version in Dockerfile
2025-03-31 16:46:12 +02:00
Kerollmops
ee15d4fe77
Bump version in the CIs
2025-03-31 16:45:08 +02:00
Kerollmops
f0f6c3000f
Bump version in the rust-toolchain TOML
2025-03-31 16:43:36 +02:00
Louis Dureuil
08ff135ad6
Fix test
2025-03-31 15:27:49 +02:00
Louis Dureuil
f729864466
Check dimension mismatch at insertion time
2025-03-31 15:27:49 +02:00
Louis Dureuil
94ea263bef
Add new error for dimensions mismatch during indexing
2025-03-31 15:27:49 +02:00
hdt3213
85efa6f493
Use ref instead of clone in option.rs
2025-03-31 20:31:26 +08:00
Tamo
0e475cb5e6
fix warn and show what meilisearch understood of the vectors in the cursed test
2025-03-31 13:49:22 +02:00
vuthanhtung2412
62de70b73c
Document problematic case in test and acknowledge PR comment
2025-03-31 13:49:22 +02:00
vuthanhtung2412
7707fb18dd
add embedding with dimension mismatch test case
2025-03-31 13:49:22 +02:00
hdt3213
ba6d755120
Support EC private key
2025-03-27 21:30:08 +08:00
Tamo
5607802fe1
Merge pull request #5449 from vuthanhtung2412/fix-dim-mismatch
...
Display more detailed error message instead of panic on embeddings dimension mismatch
2025-03-27 10:52:23 +00:00
Clément Renault
bb2e9419d3
Merge pull request #5468 from meilisearch/more-precise-post-processing
...
More Precise Post Processing
2025-03-27 10:07:09 +00:00
Tamo
a8afd5dbcb
fix warn and show what meilisearch understood of the vectors in the cursed test
2025-03-27 11:07:01 +01:00
Clément Renault
cf68713145
Merge pull request #5465 from meilisearch/improve-stats-perf
...
Improve documents stats performances
2025-03-27 09:20:14 +00:00
Many the fish
55f620a986
Merge pull request #5425 from CodeMan62/enhance-filterable-error-messages
...
Enhance filterable error messages
2025-03-27 09:18:37 +00:00
Kerollmops
811143cbe9
Add more progress precision when doing post processing
2025-03-27 10:17:28 +01:00
Kerollmops
c670e9a39b
Make sure the snaps are happy
2025-03-26 20:03:35 +01:00
Clément Renault
be6abb952d
Merge pull request #5466 from meilisearch/update-charabia-v0.9.3
...
Update charabia v0.9.3
2025-03-26 18:23:31 +00:00
ManyTheFish
2f07afa97e
Update Charabia v0.9.3
2025-03-26 17:43:19 +01:00
Clément Renault
65f1b13475
Merge pull request #5464 from meilisearch/camel-case-database-sizes
...
Prefer camelCase for internal database sizes db name
2025-03-26 16:40:39 +00:00
Kerollmops
db7ce03763
Improve the performances of computing the size of the documents database
2025-03-26 17:40:12 +01:00
Kerollmops
7ed9adde29
Prefer camelCase for internal database sizes db name
2025-03-26 16:45:52 +01:00
vuthanhtung2412
bf3a29b60d
Document problematic case in test and acknowledge PR comment
2025-03-26 12:57:25 +01:00
Clément Renault
9ce7ccfbe7
Merge pull request #5457 from meilisearch/show-database-sizes-changes
...
Show database sizes batches
2025-03-26 10:19:40 +00:00
Kerollmops
3deb1ef78f
Fix the snapshots again
2025-03-26 10:38:49 +01:00
Kerollmops
5820d822c8
Add more details about the finalizing progress step
2025-03-26 09:49:43 +01:00
Kerollmops
637bea0370
Compute and store the database sizes
2025-03-26 09:49:42 +01:00
CodeMan62
3acf036526
fix: improve error messages for filterable attributes and fix formatting
2025-03-25 21:44:39 +05:30
Kerollmops
fd079c6757
Add an index method to get the database sizes
2025-03-25 16:30:51 +01:00
Kerollmops
182e5d5632
Add database sizes stats to the batches
2025-03-25 16:30:15 +01:00
Many the fish
eefefc482b
Merge pull request #5446 from shaokeyibb/main
...
Fix _matchesPosition length calculate
2025-03-25 14:16:38 +00:00
vuthanhtung2412
43c8a206b4
detail comments
2025-03-25 13:07:17 +01:00
vuthanhtung2412
a8c407fa36
fix failling tests
2025-03-25 13:06:11 +01:00
vuthanhtung2412
18bc56f1fa
update cargo insta
2025-03-25 12:54:49 +01:00
vuthanhtung2412
38b3e03dde
add embedding with dimension mismatch test case
2025-03-25 12:51:36 +01:00
Many the fish
82aee6a9af
Merge pull request #5415 from meilisearch/isolate-word-fst-usage
...
Isolate word fst usage
2025-03-25 11:43:37 +00:00
vuthanhtung2412
6b1c262b74
fix all tests
2025-03-25 12:43:15 +01:00
Clément Renault
0f654e45c9
Merge pull request #5458 from meilisearch/update-again-ph-link
...
Fix the PH link on the README
2025-03-25 11:27:31 +00:00
vuthanhtung2412
d71c6f3483
allow multiple embedding in per document per embedder to pass
2025-03-25 12:04:25 +01:00
Kerollmops
8b4166410c
Fix the PH link on the README
2025-03-25 11:45:47 +01:00
HikariLan
9d3037aa1a
Fix clippy error
2025-03-25 18:12:36 +08:00
Tamo
5414887bff
Merge pull request #5455 from meilisearch/update-readme-ph-link
...
Fix the Product Hunt link
2025-03-25 09:44:09 +00:00
Kerollmops
03a0550b63
Fix the Product Hunt link to link to meilisearch-ai
2025-03-25 10:00:24 +01:00
Clément Renault
fca947219f
Merge pull request #5402 from meilisearch/do-not-reindex-searchable-order-change
...
Avoid reindexing searchable order changes
2025-03-25 07:03:14 +00:00
Clément Renault
fb7ae9f97f
Merge pull request #5454 from meilisearch/update-charabia-v0.9.3
...
Update Charabia v0.9.3
2025-03-24 22:34:51 +00:00
Clément Renault
cd421fea1e
Merge pull request #5456 from meilisearch/fix-CI
...
Fix CI to work with merge queues
2025-03-25 09:55:59 +00:00
Kerollmops
1ad4235beb
Remove the bors file
2025-03-25 10:05:41 +01:00
Kerollmops
de6c7e551e
Remove bors references from the repository
2025-03-25 10:04:38 +01:00
Kerollmops
c0fe70c5f0
Make the CI work with merge queue grouping
2025-03-25 10:04:24 +01:00
HikariLan
2800e42243
Separate calc_byte_length function
2025-03-25 00:47:17 +08:00
Many the fish
a09d08c7b6
Avoid reindexing searchable order changes
...
Update settings.rs
Update settings.rs
2025-03-24 16:26:52 +01:00
ManyTheFish
2e6aa63efc
Update Charabia v0.9.3
2025-03-24 14:32:21 +01:00
Many the fish
5759afac41
Merge pull request #5424 from shu-kitamura/split-tasks-test
...
Split unit test in tasks.rs
2025-03-24 09:55:50 +00:00
vuthanhtung2412
868c902935
fix meilisearch integration vector tests
2025-03-24 00:24:50 +01:00
vuthanhtung2412
e019ad7692
Display more detailed error message instead of panic
2025-03-21 15:41:31 +01:00
CodeMan62
1f67f373d1
fixed all the tests failing will "cargo insta test --accept"
2025-03-20 22:51:56 +05:30
Clément Renault
2c0bd35923
Merge pull request #5447 from meilisearch/clean-up-bors
...
Remove bors references from the repository
2025-03-20 16:11:11 +00:00
Kerollmops
b3aaa64de5
Remove the bors file
2025-03-20 16:28:08 +01:00
Kerollmops
7b3072ad28
Remove bors references from the repository
2025-03-20 15:57:05 +01:00
Louis Dureuil
db26c1e5bf
Merge pull request #5395 from meilisearch/update-process-for-dumpless-upgrade
...
Update process for dumpless upgrade
2025-03-20 13:42:50 +00:00
CodeMan62
9aee12c906
fixed the failing tests from snapshots
2025-03-20 17:55:12 +05:30
HikariLan
debd2b21b8
Merge branch 'meilisearch:main' into main
2025-03-20 20:10:00 +08:00
HikariLan
39aca661dd
Make _matchesPosition length byte based instead of char based
2025-03-20 20:02:51 +08:00
Tamo
5b51e8a083
simplify the sprint issue to only tell you to add a label on your PR
2025-03-20 12:41:34 +01:00
Tamo
3928fb36b3
Introduce a second github action that post the right message when we declare there are db changes
2025-03-20 12:41:34 +01:00
Tamo
2ddc1d2258
update the CI to enforce the db change label on PR
2025-03-20 12:41:34 +01:00
Tamo
7c267a8a0e
update the issue template for the sprint issue
2025-03-20 12:41:34 +01:00
Clément Renault
d39d915a7e
Merge pull request #5445 from meilisearch/support-merge-grouping
...
Make the CI work with merge queue grouping
2025-03-20 12:30:52 +01:00
Kerollmops
3160ddf9df
Make the CI work with merge queue grouping
2025-03-20 12:29:08 +01:00
Clément Renault
d286e63f15
Merge pull request #5444 from meilisearch/setup-ci-with-rulesets
...
Setup the Milestone CI to update the Ruleset
2025-03-20 12:12:57 +01:00
Kerollmops
9ee6254eec
Setup the Milestone CI to update the Ruleset
2025-03-20 11:28:03 +01:00
CodeMan62
e2c824a7cd
fixed all test fails in the run
2025-03-20 15:21:47 +05:30
CodeMan62
0dd65caffe
test: update test snapshots to match new error message format
2025-03-20 10:59:21 +05:30
CodeMan62
4397b7d170
chore: revert Cargo.lock changes
2025-03-20 10:54:14 +05:30
CodeMan62
15db203b7d
refactor: update error message format for filterable attributes
2025-03-20 00:08:37 +05:30
CodeMan62
041f635214
Fix: Add #[allow(dead_code)] to format_invalid_filter_distribution function
2025-03-19 20:13:28 +05:30
Louis Dureuil
f9807ba32e
Fix logic when results are below the threshold
2025-03-19 11:34:53 +01:00
Tee Jun hui
8c8cc59a6c
remove new line added by accident
2025-03-19 11:34:53 +01:00
Tee Jun hui
f540a69ac3
add 1 to index so it points to correct position
2025-03-19 11:34:52 +01:00
shu-kitamura
537bf27e7c
Update crates/meilisearch/src/routes/tasks_test.rs
...
Co-authored-by: Many the fish <many@meilisearch.com >
2025-03-19 19:11:04 +09:00
meili-bors[bot]
7df2bdfb15
Merge #5436
...
5436: Update mini-dashboard to v0.2.19 version r=Kerollmops a=curquiza
Fixes mini dashboard to prevent the panel from popping up every time
Fixed by `@mdubus` 👍
Co-authored-by: curquiza <clementine@meilisearch.com >
2025-03-18 16:24:31 +00:00
curquiza
71f7456748
Update mini-dashboard to v0.2.19 version
2025-03-18 12:48:38 +01:00
Clément Renault
cf31a65a88
Merge pull request #5431 from meilisearch/add-ph-readme-banner
...
Display the ProductHunt banner on the README
2025-03-18 11:26:45 +01:00
Kerollmops
0f7d71041f
Display the ProductHunt banner on the README
2025-03-18 11:21:07 +01:00
meili-bors[bot]
c98b313d03
Merge #5426
...
5426: Bump zip from 2.2.2 to 2.3.0 r=Kerollmops a=dependabot[bot]
Bumps [zip](https://github.com/zip-rs/zip2 ) from 2.2.2 to 2.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/zip-rs/zip2/releases ">zip's releases</a>.</em></p>
<blockquote>
<h2>v2.3.0</h2>
<h3><!-- raw HTML omitted -->🚀 Features</h3>
<ul>
<li>Add support for NTFS extra field (<a href="https://redirect.github.com/zip-rs/zip2/pull/279 ">#279</a>)</li>
</ul>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li><em>(test)</em> Conditionalize a zip64 doctest (<a href="https://redirect.github.com/zip-rs/zip2/pull/308 ">#308</a>)</li>
<li>fix failing tests, remove symlink loop check</li>
<li>Canonicalize output path to avoid false negatives</li>
<li>Symlink handling in stream extraction</li>
<li>Canonicalize output paths and symlink targets, and ensure they descend from the destination</li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>Fix clippy and cargo fmt warnings (<a href="https://redirect.github.com/zip-rs/zip2/pull/310 ">#310</a>)</li>
</ul>
<h2>v2.2.3</h2>
<h3><!-- raw HTML omitted -->🚜 Refactor</h3>
<ul>
<li>Change the inner structure of <code>DateTime</code> (<a href="https://redirect.github.com/zip-rs/zip2/issues/267 ">#267</a>)</li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>cargo fix --edition</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md ">zip's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/zip-rs/zip2/compare/v2.2.3...v2.3.0 ">2.3.0</a> - 2025-03-16</h2>
<h3><!-- raw HTML omitted -->🚀 Features</h3>
<ul>
<li>Add support for NTFS extra field (<a href="https://redirect.github.com/zip-rs/zip2/pull/279 ">#279</a>)</li>
</ul>
<h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3>
<ul>
<li><em>(test)</em> Conditionalize a zip64 doctest (<a href="https://redirect.github.com/zip-rs/zip2/pull/308 ">#308</a>)</li>
<li>fix failing tests, remove symlink loop check</li>
<li>Canonicalize output path to avoid false negatives</li>
<li>Symlink handling in stream extraction</li>
<li>Canonicalize output paths and symlink targets, and ensure they descend from the destination</li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>Fix clippy and cargo fmt warnings (<a href="https://redirect.github.com/zip-rs/zip2/pull/310 ">#310</a>)</li>
</ul>
<h2><a href="https://github.com/zip-rs/zip2/compare/v2.2.2...v2.2.3 ">2.2.3</a> - 2025-02-26</h2>
<h3><!-- raw HTML omitted -->🚜 Refactor</h3>
<ul>
<li>Change the inner structure of <code>DateTime</code> (<a href="https://redirect.github.com/zip-rs/zip2/issues/267 ">#267</a>)</li>
</ul>
<h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3>
<ul>
<li>cargo fix --edition</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6eab5f5cc6 "><code>6eab5f5</code></a> chore: release v2.3.0 (<a href="https://redirect.github.com/zip-rs/zip2/issues/300 ">#300</a>)</li>
<li><a href="e4aee2050f "><code>e4aee20</code></a> implement <code>ZipFile::options</code> + refactor options normalization (<a href="https://redirect.github.com/zip-rs/zip2/issues/305 ">#305</a>)</li>
<li><a href="ea8a7bba24 "><code>ea8a7bb</code></a> fix(test): Conditionalize a zip64 doctest (<a href="https://redirect.github.com/zip-rs/zip2/issues/308 ">#308</a>)</li>
<li><a href="365c81a39f "><code>365c81a</code></a> Use <code>xz2</code> crate instead of a custom implementation (<a href="https://redirect.github.com/zip-rs/zip2/issues/306 ">#306</a>)</li>
<li><a href="ae94b3452b "><code>ae94b34</code></a> chore: Fix clippy and cargo fmt warnings (<a href="https://redirect.github.com/zip-rs/zip2/issues/310 ">#310</a>)</li>
<li><a href="a2e062f370 "><code>a2e062f</code></a> Merge commit from fork</li>
<li><a href="0199ac2cb8 "><code>0199ac2</code></a> Simplify handling for symlink targets</li>
<li><a href="977bb9479d "><code>977bb94</code></a> fix failing tests, remove symlink loop check</li>
<li><a href="3cb29e70d1 "><code>3cb29e7</code></a> Partial fix for tests</li>
<li><a href="2182b07686 "><code>2182b07</code></a> Refactor</li>
<li>Additional commits viewable in <a href="https://github.com/zip-rs/zip2/compare/v2.2.2...v2.3.0 ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/meilisearch/meilisearch/network/alerts ).
</details>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-18 08:57:11 +00:00
dependabot[bot]
69678ed8e1
Bump zip from 2.2.2 to 2.3.0
...
Bumps [zip](https://github.com/zip-rs/zip2 ) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/zip-rs/zip2/releases )
- [Changelog](https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zip-rs/zip2/compare/v2.2.2...v2.3.0 )
---
updated-dependencies:
- dependency-name: zip
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-18 00:19:49 +00:00
CodeMan62
91d221ebe7
revert: Remove unintended Cargo.lock changes
2025-03-17 22:13:59 +05:30
CodeMan62
9162e8ba04
Enhance error messages for filterable attributes and improve error handling
2025-03-17 22:04:18 +05:30
shu-kitamura
2118cc092e
rm db.snapshot
2025-03-17 23:04:13 +09:00
shu-kitamura
c7564d500f
Split unit test in tasks.rs
2025-03-17 22:55:23 +09:00
ManyTheFish
bf144a94d8
No more use FST to find a word without any typo
2025-03-17 14:20:10 +01:00
ManyTheFish
b0b1888ef9
Add test
2025-03-17 14:20:10 +01:00
meili-bors[bot]
6ec1d2b712
Merge #5423
...
5423: Bump ring to v0.17.14 to compile on old aarch64 r=irevoire a=Kerollmops
This PR will fix [this CI issue](https://github.com/meilisearch/meilisearch/actions/runs/13896085925/job/38876941154 ) where ring v0.17.13 breaks the compilation on old aarch64 machines by bumping its version to v0.17.14.
Co-authored-by: Kerollmops <clement@meilisearch.com >
2025-03-17 12:53:02 +00:00
meili-bors[bot]
cbdf80893d
Merge #5422
...
5422: Add more progress levels to measure merging r=Kerollmops a=Kerollmops
I found out that Meilisearch was not correctly reporting the long indexing times in the progress and that a lot of time was spent on extracting words with all documents already extracted. The reason was that there was no step to report merging the cache and sending the entries to write to the writer thread. This PR adds these entries to the progress.
Co-authored-by: Kerollmops <clement@meilisearch.com >
2025-03-17 12:02:46 +00:00
Kerollmops
e2156ddfc7
Simplify the IndexingStep progress enum
2025-03-17 11:40:50 +01:00
Kerollmops
49dd50dab2
Bump ring to v0.17.14 to compile on old aarch64
2025-03-17 11:29:17 +01:00
meili-bors[bot]
13a88d6131
Merge #5407
...
5407: Geo update bug r=irevoire a=ManyTheFish
# Pull Request
## Related issue
Fixes #5380
Fixes #5399
Co-authored-by: Tamo <tamo@meilisearch.com >
Co-authored-by: ManyTheFish <many@meilisearch.com >
2025-03-17 10:24:33 +00:00
meili-bors[bot]
d9875b782d
Merge #5421
...
5421: Accept total batch size in human size r=irevoire a=Kerollmops
This PR fixes the new `experimental-limit-batched-tasks-total-size` to accept human-defined sizes in bytes.
Co-authored-by: Kerollmops <clement@meilisearch.com >
2025-03-17 09:41:22 +00:00
Kerollmops
cb16baab18
Add more progress levels to measure merging
2025-03-17 10:13:29 +01:00
meili-bors[bot]
2500e3c067
Merge #5414
...
5414: Update version for the next release (v1.14.0) in Cargo.toml r=Kerollmops a=meili-bot
⚠️ This PR is automatically generated. Check the new version is the expected one and Cargo.lock has been updated before merging. Fixes https://github.com/meilisearch/meilisearch/issues/5268 .
Co-authored-by: Kerollmops <Kerollmops@users.noreply.github.com >
Co-authored-by: Kerollmops <clement@meilisearch.com >
2025-03-14 13:35:54 +00:00
Kerollmops
d3e4b2dfe7
Accept total batch size in human size
2025-03-14 13:07:51 +01:00
meili-bors[bot]
2a46624e19
Merge #5420
...
5420: Add support for the progress API of arroy r=Kerollmops a=irevoire
# Pull Request
## Related issue
Fixes https://github.com/meilisearch/meilisearch/issues/5419
## What does this PR do?
- Convert the arroy progress to the meilisearch progress
- Use the new arroy closure to support the progress of arroy
Co-authored-by: Tamo <tamo@meilisearch.com >
2025-03-13 18:03:08 +00:00
Tamo
009c36a4d0
Add support for the progress API of arroy
2025-03-13 19:00:43 +01:00
Kerollmops
2a47e25e6d
Update the upgrade path snap
2025-03-13 18:35:06 +01:00
meili-bors[bot]
82912e191b
Merge #5418
...
5418: Cache embeddings in search r=Kerollmops a=dureuill
# Pull Request
## Related issue
TBD
## What does this PR do?
- Adds a cache for embeddings produced in search
- The cache is disabled by default, and can be enabled following the instructions [here](https://github.com/orgs/meilisearch/discussions/818 ).
- Had to accommodate the `timeout` test for openai that uses a mock that simulates a timeout on subsequent responses: since the test was reusing the same query, the cache would kick-in and no request would be made to the mock, meaning no timeout any longer and so a failing test 😅
- `Embedder::embed_search` now accepts a reference instead of an owned `String`.
## Manual testing
- I created 4 indexes on a fresh DB with the same settings (one embedder from openai)
- I sent 1/4 of movies.json to each index
- I sent a federated search request against all 4 indexes, with the same query for each index, using the embedder of each index.
Results:
- The first call took 400ms to 1s. Before this change, it took in the 3s range.
- Any repeated call with the same query took in the range of 25ms.
- Looking at the details at trace log level, I can see that the first index that needs the embedding is taking most of the 400ms in `embed_one`. The other indexes report that the query text is found in the cache and they each take a few µs.
Co-authored-by: Louis Dureuil <louis@meilisearch.com >
2025-03-13 16:37:15 +00:00
Louis Dureuil
e2d372823a
Disable the cache by default and make it experimental
2025-03-13 17:22:51 +01:00
Louis Dureuil
1876132172
Mutex-based implementation
2025-03-13 17:22:50 +01:00
Louis Dureuil
d0b0b90d17
fixup tests, in particular foil the cache for the timeout test
2025-03-13 17:22:50 +01:00
Louis Dureuil
b08544e86d
Add embedding cache
2025-03-13 17:22:50 +01:00
Louis Dureuil
d9111fe8ce
Add lru crate to milli again
2025-03-13 17:22:50 +01:00
Kerollmops
41d8161017
Update the versions
2025-03-13 17:22:32 +01:00
Clément Renault
7df5715d39
Merge pull request #5406 from meilisearch/bump-heed
...
Bump heed to v0.22 and arroy to v0.6
2025-03-13 16:52:45 +01:00
Kerollmops
5fe02ab5e0
Move to heed 0.22 and arroy 0.6
2025-03-13 15:48:18 +01:00
Tamo
5ef7767429
Let arroy uses all the memory available instead of 50% of the 70%
2025-03-13 15:06:03 +01:00
Tamo
3fad48167b
remove arroy dependency in the index-scheduler
2025-03-13 14:57:56 +01:00
Clément Renault
a92a48b9b9
Do not recompute stats on dumpless upgrade
...
Co-authored-by: Tamo <tamo@meilisearch.com >
2025-03-13 13:58:58 +01:00
Tamo
d53225bf64
uses a random seed instead of 42
2025-03-13 12:43:31 +01:00
Kerollmops
20896500c2
Bump arroy to the latest version
2025-03-13 12:37:10 +01:00
Kerollmops
1af520077c
Call the underlying Env::copy_to_path method
2025-03-13 11:49:25 +01:00
Kerollmops
7e07cb9de1
Make meilitool prefer WithoutTls Env
2025-03-13 11:47:19 +01:00
meili-bors[bot]
a12b06d99d
Merge #5369
...
5369: exhaustive facet search r=ManyTheFish a=ManyTheFish
Fixes #5403
This PR adds an `exhaustiveFacetCount` field to the `/facet-search` API allowing the end-user to have a better facet count when having a distinct attribute set in the index settings.
# Usage
`POST /index/:index_uid/facet-search`
**Body:**
```json
{
"facetQuery": "blob",
"facetName": "genres",
"q": "",
"exhaustiveFacetCount": true
}
```
# Prototype Docker images
```sh
$ docker pull getmeili/meilisearch:prototype-exhaustive-facet-search-00
```
Co-authored-by: ManyTheFish <many@meilisearch.com >
2025-03-13 10:36:04 +00:00
Kerollmops
331dc3d241
Add a comment to explain why we keep debug assertions
2025-03-13 11:29:00 +01:00
Tamo
ef9d9f8481
set the memory in arroy
2025-03-13 11:29:00 +01:00
Kerollmops
d3d22d8ed4
Prefer waiting for the task before getting the indexes
2025-03-13 11:29:00 +01:00
Kerollmops
5e6abcf50c
Prefer using WithoutTls for the auth env
2025-03-13 11:29:00 +01:00
Kerollmops
a4aaf932ba
Fix some test (invalid anyway)
2025-03-13 11:29:00 +01:00
Kerollmops
16c962eb30
Enable debug assertions of heed
2025-03-13 11:07:49 +01:00
Kerollmops
55ca2c4481
Avoid opening the Auth environment multiple times
2025-03-13 11:07:49 +01:00
Kerollmops
fedb444e66
Fix the upgrade arroy calls
2025-03-13 11:07:49 +01:00
Kerollmops
bef5954741
Use a WithoutTls env
2025-03-13 11:07:49 +01:00
Kerollmops
ff8cf38d6b
Move to the latest version of arroy
2025-03-13 11:07:48 +01:00
Kerollmops
f8ac575ec5
Move to the latest version of arroy
2025-03-13 11:07:48 +01:00
Kerollmops
566b4efb06
Dumpless upgrade from v1.13 to v1.14
2025-03-13 11:07:44 +01:00
Kerollmops
1d499ed9b2
Use the new arroy upgrade method to move from 0.4 to 0.5
2025-03-13 11:07:44 +01:00
Kerollmops
3bc62f0549
WIP: Still need to introduce a Env::copy_to_path method
2025-03-13 11:07:39 +01:00
Kerollmops
21bbbdec76
Specify WithoutTls everywhere
2025-03-13 11:07:38 +01:00
Kerollmops
78ebd8dba2
Fix the error variants
2025-03-13 11:07:38 +01:00
Kerollmops
34df44a002
Open Env without TLS
2025-03-13 11:07:38 +01:00
Kerollmops
48a27f669e
Bump heed and other dependencies
2025-03-13 11:07:37 +01:00
meili-bors[bot]
e2d0ce52ba
Merge #5384
...
5384: Get multiple documents by ids r=irevoire a=dureuill
# Pull Request
## Related issue
Fixes #5345
## What does this PR do?
- Implements [public usage](https://www.notion.so/meilisearch/Get-documents-by-ID-1994b06b651f805ba273e1c6b75ce4d8 )
- Slightly refactor error messages for the `/similar` route
Co-authored-by: Louis Dureuil <louis@meilisearch.com >
2025-03-12 17:26:49 +00:00
meili-bors[bot]
995f8962bd
Merge #5398
...
5398: Bump ring from 0.17.8 to 0.17.13 r=Kerollmops a=dependabot[bot]
Bumps [ring](https://github.com/briansmith/ring ) from 0.17.8 to 0.17.13.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/briansmith/ring/blob/main/RELEASES.md ">ring's changelog</a>.</em></p>
<blockquote>
<h1>Version 0.17.13 (2025-03-06)</h1>
<p>Increased MSRV to 1.66.0 to avoid bugs in earlier versions so that we can
safely use <code>core::arch::x86_64::__cpuid</code> and <code>core::arch::x86::__cpuid</code> from
Rust in future releases.</p>
<p>AVX2-based VAES-CLMUL implementation. This will be a notable performance
improvement for most newish x86-64 systems. This will likely raise the minimum
binutils version supported for very old Linux distros.</p>
<h1>Version 0.17.12 (2025-03-05)</h1>
<p>Bug fix: <a href="https://redirect.github.com/briansmith/ring/pull/2447 ">briansmith/ring#2447</a> for denial of service (DoS).</p>
<ul>
<li>
<p>Fixes a panic in <code>ring::aead::quic::HeaderProtectionKey::new_mask()</code> when
integer overflow checking is enabled. In the QUIC protocol, an attacker can
induce this panic by sending a specially-crafted packet. Even unintentionally
it is likely to occur in 1 out of every 2**32 packets sent and/or received.</p>
</li>
<li>
<p>Fixes a panic on 64-bit targets in <code>ring::aead::{AES_128_GCM, AES_256_GCM}</code>
when overflow checking is enabled, when encrypting/decrypting approximately
68,719,476,700 bytes (about 64 gigabytes) of data in a single chunk. Protocols
like TLS and SSH are not affected by this because those protocols break large
amounts of data into small chunks. Similarly, most applications will not
attempt to encrypt/decrypt 64GB of data in one chunk.</p>
</li>
</ul>
<p>Overflow checking is not enabled in release mode by default, but
<code>RUSTFLAGS="-C overflow-checks"</code> or <code>overflow-checks = true</code> in the Cargo.toml
profile can override this. Overflow checking is usually enabled by default in
debug mode.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/briansmith/ring/commits ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/meilisearch/meilisearch/network/alerts ).
</details>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-12 13:20:30 +00:00
meili-bors[bot]
1cd00f37c0
Merge #5413
...
5413: Make sure to delete useless prefixes r=ManyTheFish a=Kerollmops
We discovered a bug where the new indexer was still writing empty roaring bitmaps instead of deleting the prefix entry from the prefix database.
Co-authored-by: Kerollmops <clement@meilisearch.com >
2025-03-12 10:54:04 +00:00
Kerollmops
1aa3375e12
Update version for the next release (v1.14.0) in Cargo.toml
2025-03-12 10:51:04 +00:00
Louis Dureuil
60ff1b19a8
Searching for a document that does not exist no longer raises an error
2025-03-12 11:50:39 +01:00
Louis Dureuil
7df5e3f059
Fix error message
...
Co-authored-by: Tamo <tamo@meilisearch.com >
2025-03-12 11:48:40 +01:00
Kerollmops
0197dc87e0
Make sure to delete useless prefixes
2025-03-12 11:24:13 +01:00
ManyTheFish
7a172b82ca
Add test
2025-03-12 11:22:59 +01:00
ManyTheFish
eb3ff325d1
Add an exhaustiveFacetCount field to the facet-search API
2025-03-12 11:22:59 +01:00
ManyTheFish
d3cd5ea689
Check if the geo fields changed additionally to the other faceted fields when reindexing facets
2025-03-12 11:20:10 +01:00
Tamo
3ed43f9097
add a failing test reproducing the bug
2025-03-12 11:20:10 +01:00
meili-bors[bot]
a2a86ef4e2
Merge #5254
...
5254: Granular Filterable attribute settings r=ManyTheFish a=ManyTheFish
# Related
**Issue:** https://github.com/meilisearch/meilisearch/issues/5163
**PRD:** https://meilisearch.notion.site/API-usage-Settings-to-opt-out-indexing-features-filterableAttributes-1764b06b651f80aba8bdf359b2df3ca8
# Summary
Change the `filterableAttributes` settings to let the user choose which facet feature he wants to activate or not.
Deactivating a feature will avoid some database computation in the indexing process and save time and disk size.
# Example
`PATCH /indexes/:index_uid/settings`
```json
{
"filterableAttributes": [
{
"patterns": [
"cattos",
"doggos.age"
],
"features": {
"facetSearch": false,
"filter": {
"equality": true,
"comparison": false
}
}
}
]
}
```
# Impact on the codebase
- Settings API:
- `/settings`
- `/settings/filterable-attributes`
- OpenAPI
- may impact the LocalizedAttributesRules due to the AttributePatterns factorization
- Database:
- Filterable attributes format changed
- Faceted field_ids are no more stored in the database
- FieldIdsMap has no more unexisting fields
- Search:
- Search using filters
- Facet search
- `Attributes` ranking rule
- Distinct attribute
- Facet distribution
- Settings reindexing:
- searchable
- facet
- vector
- geo
- Document indexing:
- searchable
- facet
- vector
- geo
- Dump import
# Note for the reviewers
The changes are huge and have been split in different commits with a dedicated explanation, I suggest reviewing the commit 1by1
Co-authored-by: ManyTheFish <many@meilisearch.com >
2025-03-12 09:00:43 +00:00
meili-bors[bot]
d0dda78f3d
Merge #5401
...
5401: Make composite embedders an experimental feature r=irevoire a=dureuill
# Pull Request
## Related issue
Fixes #5343
## What does this PR do?
- Introduce new `compositeEmbedders` experimental feature
- Guard `source = "composite"` and `searchEmbedder`, `indexingEmbedder` behind enabling the feature.
- Update tests accordingly
## Dumpless upgrade
- Adding an experimental feature is never a breaking change
Co-authored-by: Louis Dureuil <louis@meilisearch.com >
2025-03-11 14:20:36 +00:00
Louis Dureuil
fa8afc5cfd
Style change after review
...
Co-authored-by: Tamo <tamo@meilisearch.com >
2025-03-11 13:25:35 +01:00
Louis Dureuil
aa32b719c7
Add tests about experimentalness of the feature and fix existing
2025-03-10 14:23:22 +01:00
Louis Dureuil
41d2b1e52b
Analytics
2025-03-10 14:23:07 +01:00
Louis Dureuil
54ee81bb09
Make composite embedders experimental
2025-03-10 14:22:47 +01:00
Louis Dureuil
9d9e0d4c54
Add analytics
2025-03-10 11:33:15 +01:00
Louis Dureuil
19c9caed39
Fix tests
2025-03-10 11:11:48 +01:00
Louis Dureuil
21c3b3957e
tests: Change get_document_by_filter to fetch_documents
2025-03-10 11:11:48 +01:00
Louis Dureuil
f292fc9ac0
Add ids parameter to GET documents and POST documents/fetch
2025-03-10 11:11:48 +01:00
Louis Dureuil
1d3c4642a6
Don't use Deserr for ExternalDocumentId, instead convert to error afterward
2025-03-10 11:11:48 +01:00
dependabot[bot]
bea28968a0
Bump ring from 0.17.8 to 0.17.13
...
Bumps [ring](https://github.com/briansmith/ring ) from 0.17.8 to 0.17.13.
- [Changelog](https://github.com/briansmith/ring/blob/main/RELEASES.md )
- [Commits](https://github.com/briansmith/ring/commits )
---
updated-dependencies:
- dependency-name: ring
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-07 17:04:57 +00:00