Kerollmops
80f7d87356
Remove the /indexes/:indexUid/tasks/... routes
2022-05-31 11:33:20 +02:00
Kerollmops
e5ef5a6f9c
Remove an unused updates.rs file
2022-05-31 11:33:19 +02:00
ad hoc
4778884105
remove dump status route
2022-05-25 11:13:34 +02:00
ad hoc
60a8249de6
add dump batch handler
2022-05-25 11:13:34 +02:00
ad hoc
7fa3eb1003
register dump tasks
2022-05-25 11:13:33 +02:00
Irevoire
4e9accdeb7
chore(search): rename in the search endpoint
...
Fix ##2376
2022-05-19 16:31:37 +02:00
ad hoc
b94eabe48c
apply clippy fixes
2022-05-04 11:33:43 +02:00
ad hoc
34f75d9792
settings analytics return null when no set
2022-04-29 16:38:21 +02:00
Guillaume Mourier
3d0a4a3d18
fix(http): fix event name for typo tolerance settings update
2022-04-27 14:49:21 +02:00
ad hoc
3d10af0333
feat(http): add analytics on typo tolerance setting
2022-04-26 18:29:32 +02:00
bors[bot]
b1333ab5b0
Merge #2320
...
2320: chore(http, lib): rename typo to typo_tolerance r=irevoire a=MarinPostma
fix #2319
Co-authored-by: ad hoc <postma.marin@protonmail.com>
2022-04-14 09:50:39 +00:00
ad hoc
276dc6043a
chore(http, lib): rename typo to typo_tolerance
2022-04-14 10:42:06 +02:00
Tamo
2ee210483f
fix(search): remove the back and forth between the IndexMap and the serde_json::Map
...
This is ok because we're using the preserve_order feature in serde_json which is already internally using an IndexMap.
2022-04-12 16:12:52 +02:00
bors[bot]
013fe4cbc9
Merge #2297
...
2297: Feat(Search): Enhance formating search results r=ManyTheFish a=ManyTheFish
Add new settings and change crop_len behavior to count words instead of characters.
- [x] `highlightPreTag`
- [x] `highlightPostTag`
- [x] `cropMarker`
- [x] `cropLength` count word instead of chars
- [x] `cropLength` 0 is now considered as no `cropLength`
- [ ] ~smart crop finding the best matches interval~ (postponed)
Partially fixes #2214 . (no smart crop)
Co-authored-by: ManyTheFish <many@meilisearch.com>
2022-04-07 13:29:56 +00:00
ManyTheFish
dc2cc1ee89
Feat(Search): Enhance formating search results
2022-04-07 15:04:08 +02:00
ad hoc
981fba5b44
feat(all): introduce disable typos
2022-04-06 15:47:48 +02:00
ad hoc
b57c59baa4
sequential extractor
2022-03-04 20:43:12 +01:00
ad hoc
d6400aef27
remove async from meilsearch-authentication
2022-03-02 18:22:34 +01:00
ManyTheFish
c2b58720d1
Fix(dumps): Explicitly define serde for time
2022-03-02 11:37:48 +01:00
ad hoc
4fbb83a34d
bug(snapshot): Correctly open environments in snapshots
2022-02-28 12:37:30 +01:00
Irevoire
05c8d81e65
chore: get rid of chrono in favor of time
...
Chrono has been unmaintened for a few month now and there is a CVE on it.
make clippy happy
bump milli
2022-02-16 18:14:29 +01:00
bors[bot]
622c15e825
Merge #2096
...
2096: feat(auth): Tenant token r=Kerollmops a=ManyTheFish
Make meilisearch support JWT authentication signed with meilisearch API keys
using HS256, HS384 or HS512 algorithms.
Related spec: [specifications#89](https://github.com/meilisearch/specifications/pull/89 ) [rendered](https://github.com/meilisearch/specifications/blob/scoped-api-keys/text/0089-tenant-tokens.md )
Fix #1991
Co-authored-by: ManyTheFish <many@meilisearch.com>
2022-01-27 10:38:41 +00:00
ManyTheFish
7ca647f0d0
feat(auth): Implement Tenant token
...
Make meilisearch support JWT authentication signed with meilisearch API keys
using HS256, HS384 or HS512 algorithms.
Related spec: https://github.com/meilisearch/specifications/pull/89
Fix #1991
2022-01-27 08:25:39 +01:00
Clémentine Urquizar
8a959da120
Update MeiliSearch into Meilisearch everywhere
2022-01-26 17:43:16 +01:00
ManyTheFish
c0d4f71a34
Bug(auth): Wrap key list in results
2022-01-04 14:10:30 +01:00
Clémentine Urquizar
f529c46598
Fix typo in error messages and comments
2021-12-21 16:01:38 +01:00
Maxime Legendre
a845cd8880
Fix(auth): Forbid index creation on alternates routes
...
Forbid index creation on alternates routes when the action `index.create` is not given
fix #2024
2021-12-20 14:48:18 +01:00
many
ee7970f603
feat(auth): Extend API keys
...
- Add API keys in snapshots
- Add API keys in dumps
- Rename action indexes.add to indexes.create
- fix QA #1979
fix #1979
fix #1995
fix #2001
fix #2003
related to #1890
2021-12-14 17:33:39 +01:00
many
ffefd0caf2
feat(auth): API keys
...
implements:
https://github.com/meilisearch/specifications/blob/develop/text/0085-api-keys.md
- Add tests on API keys management route (meilisearch-http/tests/auth/api_keys.rs)
- Add tests checking authorizations on each meilisearch routes (meilisearch-http/tests/auth/authorization.rs)
- Implement API keys management routes (meilisearch-http/src/routes/api_key.rs)
- Create module to manage API keys and authorizations (meilisearch-auth)
- Reimplement GuardedData to extend authorizations (meilisearch-http/src/extractors/authentication/mod.rs)
- Change X-MEILI-API-KEY by Authorization Bearer (meilisearch-http/src/extractors/authentication/mod.rs)
- Change meilisearch routes to fit to the new authorization feature (meilisearch-http/src/routes/)
- close #1867
2021-12-06 09:52:41 +01:00
Marin Postma
a30e02c18c
feat(all): Task store
...
implements:
https://github.com/meilisearch/specifications/blob/develop/text/0060-refashion-updates-apis.md
linked PR:
- #1889
- #1891
- #1892
- #1902
- #1906
- #1911
- #1914
- #1915
- #1916
- #1918
- #1924
- #1925
- #1926
- #1930
- #1936
- #1937
- #1942
- #1944
- #1945
- #1946
- #1947
- #1950
- #1951
- #1957
- #1959
- #1960
- #1961
- #1962
- #1964
- https://github.com/meilisearch/milli/pull/414
- https://github.com/meilisearch/milli/pull/409
- https://github.com/meilisearch/milli/pull/406
- https://github.com/meilisearch/milli/pull/418
- close #1687
- close #1786
- close #1940
- close #1948
- close #1949
- close #1932
- close #1956
2021-12-02 20:14:42 +01:00
many
6bbc1b4316
Remove error flattening in task serialization
2021-11-04 17:40:28 +01:00
Guillaume Mourier
6660be2cb7
Branch POST /search on the dedicated analytics aggregator
2021-11-04 08:03:48 +01:00
Tamo
904bae98f8
send the analytics even when the search fail
2021-11-02 12:38:01 +01:00
marin postma
2665c0099d
clippy + fmt
2021-10-29 17:25:56 +02:00
Tamo
7934e3956b
replace all mutexes by channel
2021-10-29 17:25:55 +02:00
Guillaume Mourier
68fe93b7db
add ranking_rules marker before sort_position
2021-10-29 17:25:55 +02:00
Tamo
6ef73eb226
fix all the single settings route and add the searchable attributes Updated event
2021-10-29 17:25:55 +02:00
Tamo
c5164c01c0
set the total of sortable attributes and filterable-attributes to 0 when not set
2021-10-29 17:25:54 +02:00
Tamo
351ad32d77
fix the index_creation boolean
2021-10-29 17:25:54 +02:00
Tamo
a1ab02f9fb
remove some commented code
2021-10-29 17:25:53 +02:00
Tamo
37ca50832c
fix the sort position
2021-10-29 17:25:52 +02:00
Tamo
6b34318274
makes clippy happy
2021-10-29 17:25:52 +02:00
Tamo
ba14ea1243
plug the new batchers into the documents route
2021-10-29 17:25:51 +02:00
Tamo
392ee86714
implement the documents batcher
2021-10-29 17:25:50 +02:00
Tamo
1d73f484f0
update the primary key when creating a new index
2021-10-29 17:25:50 +02:00
Tamo
40eabd50d1
integrate the search batcher in the search route
2021-10-29 17:25:49 +02:00
Irevoire
75d1272325
log the dump creation
2021-10-29 17:25:49 +02:00
Irevoire
8e2d6cf87d
add the content type to all the route
2021-10-29 17:25:48 +02:00
Irevoire
22d9d660cc
log all the required settings route
2021-10-29 17:25:48 +02:00
Irevoire
7524bfc07f
log the all settings updated route
2021-10-29 17:25:48 +02:00