Louis Dureuil
00f8d03f43
Use f32::min and f32::max
2024-09-18 11:46:10 +02:00
Louis Dureuil
c2caff1716
Remove obsolete enum
2024-09-18 11:26:43 +02:00
Louis Dureuil
174d69ff72
Don't override max value in indexes
2024-09-17 18:16:14 +02:00
Louis Dureuil
52a52f97cf
Update tests
2024-09-17 17:49:12 +02:00
Louis Dureuil
5de4b48552
Fixup error messages
2024-09-17 17:49:00 +02:00
Louis Dureuil
df648ce7a6
Update tests
2024-09-17 17:40:14 +02:00
Louis Dureuil
af8edab21d
Remove mention of sort order and recommend changing index settings on inconsistent order error
2024-09-17 17:39:51 +02:00
Louis Dureuil
c42746c4cd
Update tests
2024-09-17 17:22:14 +02:00
Louis Dureuil
98b77aec66
Remove runtime sortFacetValuesBy
2024-09-17 17:22:03 +02:00
Louis Dureuil
d9e0df74ea
update test
2024-09-17 10:39:48 +02:00
Louis Dureuil
dc8a662209
federated queries: adjust error message
2024-09-17 10:39:48 +02:00
Louis Dureuil
6732dd95d7
Update tests
2024-09-17 10:39:48 +02:00
Louis Dureuil
95da428dc8
Use route in federated
2024-09-17 10:39:48 +02:00
Louis Dureuil
38c4be1c8e
compute_facets accepts Route argument to fixup error code
2024-09-17 10:39:48 +02:00
Louis Dureuil
91dfab317f
New error
2024-09-17 10:39:48 +02:00
Louis Dureuil
47e3c4b5c3
Add new tests
2024-09-17 10:39:48 +02:00
Louis Dureuil
533f1d4345
Federated search: support facets
2024-09-17 10:39:48 +02:00
Louis Dureuil
7b55462610
BREAKING CHANGE: errors if queries.facets in federated search
2024-09-17 10:39:48 +02:00
Louis Dureuil
f6114a1ff2
Introduce ComputedFacets and compute_facet_distribution_stats
2024-09-17 10:39:48 +02:00
Louis Dureuil
7c084b1286
SearchQueriesWithIndex changes
2024-09-17 10:39:47 +02:00
Louis Dureuil
57f9517a98
Required changes to IndexUid
2024-09-17 10:39:47 +02:00
Louis Dureuil
72cc573e0a
Add new error types
2024-09-17 10:39:47 +02:00
Louis Dureuil
a48b1d5a79
Update existing tests following error message changes
2024-09-17 10:39:47 +02:00
Louis Dureuil
a94a87ee54
Slightly changes existing error messages
2024-09-17 10:39:47 +02:00
Louis Dureuil
23e14138bb
facet distribution: implement Display for OrderBy
2024-09-12 17:43:50 +02:00
Louis Dureuil
e44325683a
Facet distribution: fix issue where truncated facet distribution would have a wrong order
2024-09-12 17:43:49 +02:00
meili-bors[bot]
02c2b660f8
Merge #4920
...
4920: Change OpenAI default model r=dureuill a=dureuill
# Pull Request
## Related issue
Fixes #4856
See also [public usage](https://meilisearch.notion.site/v1-11-AI-search-changes-0e37727193884a70999f254fa953ce6e#b4685a48c4784262a149ec307ec58671 )
## What does this PR do?
- make the `text-embedding-3-small` the default model for OpenAI instead of `text-embedding-ada-002`. Existing embedders are not impacted
Co-authored-by: Louis Dureuil <louis@meilisearch.com>
2024-09-11 07:08:39 +00:00
Louis Dureuil
f18e9cb7b3
Change openai default model
2024-09-09 13:09:35 +02:00
meili-bors[bot]
db0cf3b2ed
Merge #4912
...
4912: Allow Meilitool to dumplessly, offline upgrade v1.9 -> v1.10 in some conditions r=Kerollmops a=dureuill
- bail early if the DB contains at least 1 REST embedder, providing the list of detected REST embedders, and without modifying the DB
- Might depend on the feature set that meilitool was compiled with and the featureset that the Meilisearch that created the DB was compiled with 💀 . In case of runtime error, try again with a different feature set (passing or not passing `-p meilitool` when building after a `cargo clean`)
Co-authored-by: Louis Dureuil <louis@meilisearch.com>
2024-09-05 09:11:23 +00:00
Louis Dureuil
f6abf01d2c
Check REST embedders before touching the DB
2024-09-05 10:49:59 +02:00
Louis Dureuil
28da759f11
meilitool: Support dumpless upgrade from v1.9 to v1.10 when there are no REST embedders
2024-09-05 10:08:38 +02:00
Louis Dureuil
ea96d19525
Change versioning in meili
2024-09-05 10:08:06 +02:00
Louis Dureuil
d352b1ee83
Add serde to meilitool
2024-09-05 10:07:33 +02:00
meili-bors[bot]
b278815617
Merge #4908
...
4908: Bring back changes from release v1.10.1 to main r=dureuill a=irevoire
# Pull Request
Following the [latest release](https://github.com/meilisearch/meilisearch/releases/tag/v1.10.1 ), this PR brings back the changes to main.
Co-authored-by: Tamo <tamo@meilisearch.com>
Co-authored-by: irevoire <irevoire@users.noreply.github.com>
2024-09-03 14:28:12 +00:00
meili-bors[bot]
40e13ceef3
Merge #4892
...
4892: Add a documentTemplateMaxBytes parameter to limit the max length of document templates r=ManyTheFish a=dureuill
# Pull Request
## Related issue
Fixes #4885
See [public usage](https://meilisearch.notion.site/v1-11-AI-search-changes-0e37727193884a70999f254fa953ce6e#a3d63628129e40adba943ae7b8ec06c2 )
Co-authored-by: Louis Dureuil <louis@meilisearch.com>
2024-09-03 11:50:07 +00:00
Louis Dureuil
18a2c13e4e
add analytics
2024-09-03 12:07:59 +02:00
Louis Dureuil
ed19b7c3c3
Only reindex if the size increased
2024-09-03 12:07:59 +02:00
Louis Dureuil
66bda2ce8a
fix tests
2024-09-03 12:07:58 +02:00
Louis Dureuil
1ac008926b
Add maxBytes parameter
2024-09-03 12:07:15 +02:00
Louis Dureuil
c49d892c82
Changes to prompt
2024-09-03 12:07:10 +02:00
Louis Dureuil
de962a26f3
New error type when maxBytes is null
2024-09-03 12:01:04 +02:00
Tamo
005204e9e5
make the code of init_web_app in common between most tests
2024-09-03 11:40:05 +02:00
Tamo
1040e5e2b4
spawn on search queue per test
2024-09-03 11:20:25 +02:00
meili-bors[bot]
80408c92dc
Merge #4906
...
4906: Add searchable fields to template r=dureuill a=dureuill
# Pull Request
## Related issue
Fixes #4886
See [public usage](https://meilisearch.notion.site/v1-11-AI-search-changes-0e37727193884a70999f254fa953ce6e#1dd6f0eee5a1422888e1c5d48e107cd1 )
## What does this PR do?
- `Prompt::render` now requires and uses metadata to indicate if the fields are searchable or not
- Changes default template
- Updated tests
- Correctly reindex vectors when the list of searchable fields changes in a settings update.
Co-authored-by: Louis Dureuil <louis@meilisearch.com>
2024-09-03 07:14:58 +00:00
Tamo
fa1a0beb0c
fix conflicts after rebase
2024-09-02 18:15:42 +02:00
Tamo
5aefe7cd17
add the snapshots
2024-09-02 16:27:51 +02:00
Tamo
e6dd66e4a0
Do not fail the whole batch when a single document deletion by filter fails
2024-09-02 16:27:51 +02:00
Tamo
6e3839d8b6
autobatch document deletion by filter
2024-09-02 16:27:51 +02:00
Tamo
cd271b8762
stop trying to process searches after one minute
2024-09-02 16:27:51 +02:00
Tamo
3ce8500d4c
ensure we never early exit when we have a permit and remove the warning when we implicitely drop a permit
2024-09-02 16:27:51 +02:00