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
bors[bot]
c9f3726447
Merge #1893
...
1893: Make matches work with numerical value r=MarinPostma a=Thearas
# Pull Request
## What does this PR do?
Implement #1883 .
I have test this PR with unit test. It appears to be working properly:
![image](https://user-images.githubusercontent.com/44015907/141141082-dad8cd18-e803-408f-ad6a-c7a212b7ec88.png )
PTAL `@curquiza`
## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?
Co-authored-by: Thearas <thearas850@gmail.com>
2021-11-29 13:38:57 +00:00
Thearas
ac5535055f
Make matches work with numerical value
2021-11-10 23:10:30 +08:00
many
cc6306c0e1
Update milli version
2021-11-04 14:57:45 +01:00
many
b664a46e91
Update milli version
2021-11-03 16:11:20 +01:00
many
06e6eaa7b4
Remove useless Facet variant
2021-11-03 16:11:09 +01:00
many
30a094cbb2
Change lacking errors
2021-11-03 14:33:33 +01:00
Tamo
76a4f86e0c
rename user-id to instance-uid
2021-10-29 17:25:52 +02:00
Tamo
c752c14c46
refactorize the dump and snapshot
2021-10-29 17:25:51 +02:00
Tamo
87a8bf5e96
write and load the user-id in the dumps
2021-10-29 17:25:51 +02:00
bors[bot]
cf67964133
Merge #1848
...
1848: Error format and Definition r=MarinPostma a=ManyTheFish
Co-authored-by: many <maxime@meilisearch.com>
2021-10-28 14:15:35 +00:00
many
3a29cbf0ae
Use milli v0.20.0
2021-10-28 15:59:06 +02:00
many
cbaca2b579
Fix PR comments
2021-10-28 15:42:42 +02:00
Clémentine Urquizar
a76d9b15c9
Update version for the next release (v0.24.0)
2021-10-28 12:24:49 +02:00
many
59636fa688
Pimp error where no document is provided
2021-10-28 12:13:51 +02:00
many
7464720426
Fix some errors
2021-10-28 10:47:59 +02:00
bors[bot]
d905bbf961
Merge #1787
...
1787: Handle empty dump r=MarinPostma a=irevoire
Fixes #1701
Co-authored-by: Tamo <tamo@meilisearch.com>
2021-10-27 12:47:45 +00:00
many
61c15b69fb
Change malformed_payload error
2021-10-27 11:13:12 +02:00
marin postma
4ac005b094
optimize document transform
...
fix error types
bump milli
2021-10-26 13:51:15 +02:00
Tamo
5e3a53b576
fix a bug in the generation of empty dumps
2021-10-25 14:17:57 +02:00
many
36ab7b3ebd
Fix small typo
2021-10-18 14:17:32 +02:00
many
b4038597ba
Keep persisting tmp files in database directory and put non-persisting tmp files in default tmp dir
2021-10-18 14:16:35 +02:00
bors[bot]
79817bd465
Merge #1813
...
1813: Apply highlight tags on numbers in the formatted search result output r=irevoire a=Jhnbrn90
This is my first ever Rust related PR.
As described in #1758 , I've attempted to highlighting numbers correctly under the `_formatted` key.
Additionally, I added a test which should assert appropriate highlighting.
I'm open to suggestions and improvements.
Co-authored-by: John Braun <john@brn.email>
2021-10-18 09:05:01 +00:00
John Braun
be75426e64
Apply formatting according code style guidelines
2021-10-15 21:32:29 +02:00
Clémentine Urquizar
0f342ac46e
Update MeiliSearch version
2021-10-12 16:43:31 +02:00
Clémentine Urquizar
29ac324e90
Update milli version to v0.17.3
2021-10-12 16:12:16 +02:00
Clémentine Urquizar
3edbc74430
Merge branch 'main' into stable
2021-10-11 18:30:10 +02:00
Clémentine Urquizar
60473637fe
Update milli version
2021-10-11 16:21:19 +02:00
Tom Parker-Shemilt
6c46fbbc57
Remove memmap dependency
2021-10-10 22:33:40 +01:00
John Braun
3756f5a0ca
Add test for highlighting numbers
2021-10-08 15:07:45 +02:00
John Braun
5b4e4bb858
Highlight numbers (int) as string in formatted JSON
2021-10-08 15:07:15 +02:00
many
a92a0c3ed3
Log the error instead of returning it when deletion fails
2021-10-07 17:38:22 +02:00
many
0774b1efa5
Close index's heed environment when index is deleted
2021-10-07 17:09:41 +02:00
many
7fc7eb7457
Make sure to remove newly created index if uid is already taken
2021-10-07 16:49:21 +02:00
Tamo
66dbd3cd34
makes clippy happy
2021-10-06 17:39:04 +02:00
bors[bot]
ddbcf449da
Merge #1763
...
1763: Index tests r=MarinPostma a=MarinPostma
This pr aims to test more thorougly the usage on index in the meilisearch database, by writing unit tests.
work included:
- [x] Create index mock and stub methods
- [x] Test snapshot creation
- [x] Test Dumps
- [x] Test search
Co-authored-by: mpostma <postma.marin@protonmail.com>
2021-10-06 14:39:53 +00:00
mpostma
9fa61439b1
fix clippy warning & unsafety
2021-10-06 14:51:46 +02:00
mpostma
a38215de98
edit documentation
2021-10-06 14:35:18 +02:00
mpostma
85b5260d9d
simple search unit test
2021-10-06 14:20:05 +02:00
mpostma
4b4ebad9a9
test dumps
2021-10-06 14:10:26 +02:00
mpostma
ece4c739f4
update store tests
2021-10-06 14:10:26 +02:00
mpostma
85ae34cf9f
test snapshots
2021-10-06 14:10:23 +02:00
mpostma
0448f0ce56
handle panic in stubs
2021-10-06 14:09:04 +02:00
mpostma
4835d82a0b
implement index mock
2021-10-06 14:09:01 +02:00
Tamo
fca686e7f8
bump meilisearch
2021-10-04 13:52:37 +02:00
mpostma
4eb3817b03
missing payload error
2021-09-30 16:58:13 +02:00
mpostma
ddd40d87a7
malformed payload error
2021-09-30 16:58:13 +02:00
Kerollmops
6a691db7f8
Do not commit transaction on failed updates
2021-09-30 15:46:03 +02:00
mpostma
ee372a7b30
implement new dump v2
2021-09-30 14:49:13 +02:00
mpostma
66f39aaa92
fix dump v3
2021-09-30 14:49:13 +02:00
mpostma
03af99650d
fix dumpv1
2021-09-30 14:49:13 +02:00
Clémentine Urquizar
b17dae9ac0
Update version for the next release (v0.23.0)
2021-09-29 18:40:35 +02:00
mpostma
311933614e
bump milli to v0.17.0
2021-09-29 15:44:54 +02:00
mpostma
8fa6502b16
review changes
2021-09-29 14:17:41 +02:00
mpostma
1f537e1b60
jsonl support
2021-09-29 11:28:02 +02:00
mpostma
911630000f
split csv and json document routes
2021-09-29 00:12:25 +02:00
mpostma
6e8a3fe8de
move csv parsing to document_formats
2021-09-28 22:58:48 +02:00
many
2a14948123
Use an existing revision of milli
2021-09-28 22:30:34 +02:00
many
61e5eed493
Call csv specialized function
2021-09-28 22:29:26 +02:00
many
d30830a55c
Add csv deserializer for documents
2021-09-28 22:28:13 +02:00
mpostma
102c46f88b
clippy + fmt
2021-09-28 22:22:59 +02:00
mpostma
5fa9bc67d7
remove unused dependencies
2021-09-28 22:16:18 +02:00
mpostma
3503fbf7fe
re-export milli from meilisearch_lib
2021-09-28 22:08:03 +02:00
mpostma
1cc733f801
fix get_info
2021-09-28 22:02:04 +02:00
mpostma
7a27cbcc78
rename RegisterUpdate to store::Update
2021-09-28 20:20:13 +02:00
mpostma
6f8e670dee
move json reader to document_formats module
2021-09-28 20:13:26 +02:00
mpostma
df4e9f4e1e
restore dump v1
2021-09-28 19:49:25 +02:00
mpostma
3747f5bdd8
replace unwraps with correct error
2021-09-28 19:29:14 +02:00
mpostma
692c676625
fix tests
2021-09-28 18:57:36 +02:00
mpostma
bcaee4d179
fix uuid store size
2021-09-28 18:17:56 +02:00
Tamo
539a57026d
fix the sort error messages
2021-09-28 14:50:26 +02:00
Tamo
654f49ccec
[WIP] put milli on branch main
2021-09-28 14:50:26 +02:00
Tamo
c1376a9f2a
add the geosearch to Meilisearch
2021-09-28 14:50:26 +02:00
mpostma
9ac999ca59
remove uuid resolver and index actor
2021-09-28 12:00:35 +02:00
mpostma
6a1964f146
restore dumps
2021-09-28 11:59:55 +02:00
mpostma
90018755c5
restore snapshots
2021-09-27 16:48:03 +02:00
mpostma
b9d189bf12
restore document deletion routes
2021-09-24 15:21:07 +02:00
mpostma
c32012c44a
restore settings updates
2021-09-24 14:55:57 +02:00
mpostma
42a6260b65
introduce index resolver
2021-09-24 11:53:11 +02:00
mpostma
5353be74c3
refactor index actor
2021-09-22 15:07:04 +02:00
mpostma
12542bf922
refactor update actor
2021-09-22 11:52:50 +02:00
mpostma
def737edee
refactor uuid resolver
2021-09-22 10:49:59 +02:00
mpostma
60518449fc
split meilisearch-http and meilisearch-lib
2021-09-21 13:23:22 +02:00