ManyTheFish
ade54493ab
Only detect language for a facet if several locales have been specified by the user in the settings
2024-08-14 12:03:52 +02:00
meili-bors[bot]
2d16d0aea1
Merge #4839
...
4839: In prometheus metrics return the route pattern instead of the real route when returning the HTTP requests total r=irevoire a=irevoire
# Pull Request
## Related issue
Fixes https://github.com/meilisearch/meilisearch/issues/4825
## What does this PR do?
- return the route pattern instead of the real route when returning the HTTP requests total
Co-authored-by: Tamo <tamo@meilisearch.com>
2024-08-05 10:14:51 +00:00
Louis Dureuil
21aa430b5e
Fix openai tests
2024-07-31 17:57:55 +02:00
Louis Dureuil
8535dc0be2
Fix existing tests
2024-07-31 17:57:32 +02:00
Louis Dureuil
72b9005344
Redact uid for Value
2024-07-31 17:57:13 +02:00
Louis Dureuil
ab1ec9ca21
Add tokenized test
2024-07-31 15:03:45 +02:00
Louis Dureuil
9d6efd92d2
new assets for tokenized test
2024-07-31 15:03:45 +02:00
Louis Dureuil
abdb337fd6
Add openai tests
2024-07-31 15:03:45 +02:00
Louis Dureuil
1c755c8899
Add openai responses
2024-07-31 15:03:45 +02:00
Louis Dureuil
3a42c3134e
update tests after changing authorized error message
2024-07-31 15:03:45 +02:00
meili-bors[bot]
25791e3f46
Merge #4836
...
4836: Attach declared localized-attributes subroutes r=dureuill a=dureuill
RC.0 unexpectedly doesn't contain the `GET /indexes/{indexUid}/localized-attributes` and `PUT /indexes/{indexUid}/localized-attributes` subroute.
This PR makes them available.
Co-authored-by: Louis Dureuil <louis@meilisearch.com>
Co-authored-by: Tamo <tamo@meilisearch.com>
2024-07-30 19:01:54 +00:00
Tamo
f05ea04879
In prometheus metrics return the route pattern instead of the real route when returning the HTTP requests total
2024-07-30 16:24:49 +02:00
Tamo
b1b3a1a98b
add a get, set and put test for the localized attributes setting
2024-07-30 15:51:02 +02:00
Tamo
c457069367
ensure a test is 100% not flaky
2024-07-30 15:41:51 +02:00
Tamo
bb1283222e
make clippy happy
2024-07-30 15:10:56 +02:00
Tamo
7a5a38f870
fix a sync issue on empty indexes
2024-07-30 15:09:12 +02:00
Tamo
ded3cd0dd6
an additionnal 30% of perf for the tests
2024-07-30 15:03:54 +02:00
Tamo
68f885f1c4
fix two snapshots
2024-07-30 14:45:59 +02:00
Tamo
9372c34dab
prepare the tests to share indexes with api key
2024-07-30 14:34:11 +02:00
Tamo
6666c57880
reduce the number of thread spawned by milli
2024-07-30 14:34:10 +02:00
Tamo
b53a019b07
fix the initialization problem over the shared indexes with documents
2024-07-30 14:24:57 +02:00
Tamo
d262b1df32
craft an API over the Shared Server and Shared index to avoid hard to debug mistakes
2024-07-30 14:24:57 +02:00
Tamo
ed795bc837
fmt
2024-07-30 14:24:57 +02:00
Tamo
993264227d
reuse an index with already indexed documents instead of reindexing from scratch
2024-07-30 14:24:57 +02:00
Tamo
953d3a44bd
make the new_shared function synchronous and stop indexing documents when it's not required
2024-07-30 14:24:57 +02:00
Tamo
e5345fb0eb
shave off 15s by providing a shared instance to the integration tests
2024-07-30 14:24:55 +02:00
Louis Dureuil
9719dec443
Attach declared attributes-localized subroutes
2024-07-29 16:19:35 +02:00
Louis Dureuil
fa77a949aa
Log error from main using tracing
2024-07-29 14:58:39 +02:00
Louis Dureuil
8532fe8afc
Fix tests
2024-07-25 12:10:32 +02:00
Louis Dureuil
6c598fa06d
test custom headers
2024-07-25 12:01:51 +02:00
Louis Dureuil
8338df0dbe
Fix tests
2024-07-25 12:01:51 +02:00
Louis Dureuil
22ef2d877f
Ensure test server has a single indexing thread
2024-07-25 12:01:51 +02:00
Louis Dureuil
59115fd058
Fix tests
2024-07-25 10:52:57 +02:00
ManyTheFish
a918561ac1
Fix PR comments
2024-07-25 10:52:56 +02:00
ManyTheFish
70d71581ee
fix clippy
2024-07-25 10:52:56 +02:00
ManyTheFish
04fa44e7eb
Implement localized attributes settings
2024-07-25 10:51:27 +02:00
ManyTheFish
90c0a6db7d
Implement localized search
2024-07-25 10:51:27 +02:00
ManyTheFish
d82f8fd904
Add tests
2024-07-25 10:51:27 +02:00
Tamo
988552e178
add tests on the rest embedder
2024-07-24 14:34:17 +02:00
meili-bors[bot]
6e9d0de8b7
Merge #4806
...
4806: Update rustls as much as possible r=Kerollmops a=irevoire
# Pull Request
## Related issue
Part of https://github.com/meilisearch/meilisearch/issues/4753
## What does this PR do?
- Update rustls as much as possible
## What is missing
In rustls-0.22.0 two structures we were using have been removed with no explanation or workaround
<img width="518" alt="image" src="https://github.com/user-attachments/assets/fa112db1-3400-4163-8819-7913f22d6b87 ">
Co-authored-by: Tamo <tamo@meilisearch.com>
2024-07-17 17:00:01 +00:00
Tamo
1bfb16386c
Update rustls as much as possible
2024-07-17 18:21:26 +02:00
meili-bors[bot]
ea73615abf
Merge #4804
...
4804: Implements the experimental contains filter operator r=irevoire a=irevoire
# Pull Request
Related PRD: (private link) https://www.notion.so/meilisearch/Contains-Like-Filter-Operator-0d8ad53c6761466f913432eb1d843f1e
Public usage page: https://meilisearch.notion.site/Contains-filter-operator-usage-3e7421b0aacf45f48ab09abe259a1de6
## Related issue
Fixes https://github.com/meilisearch/meilisearch/issues/3613
## What does this PR do?
- Extract the contains operator from this PR: https://github.com/meilisearch/meilisearch/pull/3751
- Gate it behind a feature flag
- Add tests
Co-authored-by: Tamo <tamo@meilisearch.com>
2024-07-17 15:47:11 +00:00
Tamo
02c61eabfa
fix the range reported when the experimental feature has not been set
2024-07-17 16:54:33 +02:00
Tamo
56b60ec7a0
apply review comment
2024-07-17 16:13:40 +02:00
Tamo
2af9481804
Implements the experimental contains filter operator«
2024-07-17 11:13:37 +02:00
Louis Dureuil
8d6ac261ae
Add tests on various failure modes for embedders
2024-07-16 13:39:02 +02:00
Louis Dureuil
b4c8b01c88
Update existing snapshots
2024-07-16 13:39:01 +02:00
meili-bors[bot]
1582c7e788
Merge #4769
...
4769: Federated search r=ManyTheFish a=dureuill
# Pull Request
## Related issue
Fixes #4747
[Usage](https://meilisearch.notion.site/v1-10-federated-search-698dfe36ab6b4668b044f735fb40f0b2 )
## What does this PR do?
- multi-search now allows a top-level federation object. When not `null`, the results of multi-search are modified to be a single list of results rather than a list of a list of results
- changed lifetimes around tokenizer et al. to be able to make hits one by one rather than using a vector
- adds `roaring` to Meilisearch itself. As the federated search happens at the Meilisearch level (reuses the search functions declared at the Meilisearch level + merge happens after the hits were created), `RoaringBitmap`s are needed to track the candidates: hits that were seen, all candidates.
- Refactor `make_hits` to allow for an individual, optimized `make_hit`
- Score details comparison no longer fail when sorting on different field names or target point (for geo)
Co-authored-by: Louis Dureuil <louis@meilisearch.com>
2024-07-16 08:14:46 +00:00
Louis Dureuil
20094eba06
Apply review comments
2024-07-15 12:43:29 +02:00
Louis Dureuil
c35904d6e8
search::federated::ranking_rules -> search::ranking_rules
2024-07-15 08:43:22 +02:00