Commit Graph

8120 Commits

Author SHA1 Message Date
mpostma
8bb1b6146f
make retrieval non blocking 2021-02-15 23:02:20 +01:00
marin
6c7175dfc2
Merge pull request #36 from meilisearch/delete-documents
delete documents
2021-02-15 22:39:00 +01:00
mpostma
28b9c158b1
implement delete single document 2021-02-15 22:37:56 +01:00
bors[bot]
4ea0e0fc05
Merge #1220
1220: Update Contact section of README.md r=Kerollmops a=react-learner

- Remove reference to Crisp chatbox (currently deactivated on docs site and homepage)
- Remove bonjour @ meilisearch.com email address, in order to concentrate communications in visible locations such as Slack and forums. @fharper

Co-authored-by: Tommy <68053732+react-learner@users.noreply.github.com>
2021-02-15 20:52:18 +00:00
Clément Renault
48b470140b
Merge pull request #84 from meilisearch/stringify-documents-ids
Stringify documents ids even when deleting documents
2021-02-15 21:30:51 +01:00
Clément Renault
89ce4e74fe
Do not change the primary key type when we serialize documents 2021-02-15 21:24:36 +01:00
Clément Renault
69acdd437e
Deserialize documents ids into JSON Values on deletion 2021-02-15 21:24:36 +01:00
Clément Renault
b3776598d8
Add a test to check deletion of documents with number as primary key 2021-02-15 21:24:35 +01:00
Tommy
b28be43cc6 Remove bonjour email from readme.md
Remove email address from README to concentrate communications in visible locations.
2021-02-15 09:19:23 -05:00
Tommy
4a71861066 Revert link 2021-02-15 09:19:23 -05:00
Tommy
5f25703d44 Update README.md
Fix docs links, remove reference to Crisp chatbox
2021-02-15 09:19:23 -05:00
Clément Renault
5d0ac3e3e6
Merge pull request #81 from meilisearch/smart-workspace
Change the project to become a workspace
2021-02-14 19:02:00 +01:00
Clément Renault
fecf3d6fc1
Move the command lines helpers into different crates 2021-02-14 18:55:15 +01:00
Clément Renault
d8f3421608
Update the dependencies and remove the unused ones 2021-02-14 18:32:46 +01:00
mpostma
c317af58bc
implement delete document batches 2021-02-12 17:39:14 +01:00
Clément Renault
e8639517da
Change the project to become a workspace with milli as a default-member 2021-02-12 16:15:09 +01:00
mpostma
a8ba809656
implement clear all documents 2021-02-11 12:03:00 +01:00
mpostma
6766de437f
implement get document 2021-02-11 11:20:39 +01:00
marin
fa7379e129
Merge pull request #30 from meilisearch/update-index
implement update index
2021-02-11 11:03:25 +01:00
mpostma
9fb0d94fc3
add tests 2021-02-11 11:02:27 +01:00
mpostma
8fd9dc231c
implement retrieve all documents 2021-02-10 17:08:37 +01:00
mpostma
4ca46b9e5f
fix bug in error message 2021-02-09 14:32:28 +01:00
mpostma
90b930ed7f
implement update index
implement update index
2021-02-09 14:32:26 +01:00
marin
f44f8a823a
Merge pull request #27 from meilisearch/create-index
Implement create index
2021-02-09 14:26:59 +01:00
mpostma
e89b11b1fa
create IndexSetting struct
need to stabilize the create index trait interface
2021-02-09 11:41:26 +01:00
mpostma
e0976d10ba
Merge branch 'release-v0.19.0' into stable 2021-02-09 11:11:33 +01:00
mpostma
ea681026f7
fix snapshot temp file 2021-02-09 11:08:30 +01:00
bors[bot]
759f6b48ee
Merge #1233
1233: Fix link in launched resume r=Kerollmops a=curquiza



Co-authored-by: Clémentine Urquizar <clementine@meilisearch.com>
2021-02-08 19:04:09 +00:00
mpostma
ec047eefd2
implement create index 2021-02-08 12:28:45 +01:00
Clémentine Urquizar
811426b161
Update main.rs 2021-02-06 15:53:40 +01:00
bors[bot]
b1d9ad7134
Merge #1224
1224: fix synonyms normalization r=MarinPostma a=LegendreM

Synonyms needs to be indexed in ascendant order,
and the new normalization step for synonyms potentially changes this order
which break the indexation process
because "Harry Potter" > "HP"  but "harry potter" < "hp"

Co-authored-by: many <maxime@meilisearch.com>
2021-02-04 15:37:33 +00:00
bors[bot]
e000e10e01
Merge #1229
1229: Fix links in CONTRIBUTING.md r=Kerollmops a=curquiza

Closes #1228 

Co-authored-by: Clémentine Urquizar <clementine@meilisearch.com>
2021-02-04 15:00:26 +00:00
Clémentine Urquizar
8dea9662dc
Fix links in CONTRIBUTING.md 2021-02-04 15:56:06 +01:00
mpostma
ed44e684cc
review fixes 2021-02-04 15:28:52 +01:00
mpostma
f18e795124
fix rebase 2021-02-04 15:09:43 +01:00
mpostma
f1c09a54be
implement get index meta 2021-02-04 14:56:37 +01:00
mpostma
8d462afb79
add tests for list index and create index. 2021-02-04 14:56:36 +01:00
mpostma
f988306691
implement create index 2021-02-04 14:56:34 +01:00
mpostma
d43dc4824c
implement list indexes 2021-02-04 14:54:48 +01:00
marin
482f734e53
Merge pull request #24 from meilisearch/index-controller
Index controller
2021-02-04 14:51:21 +01:00
mpostma
f8f02af23e
incorporate review changes 2021-02-04 13:21:15 +01:00
bors[bot]
cb50781d2d
Merge #1222
1222: Ignore existing primary key r=Kerollmops a=MarinPostma

fixing bug in #1176 made it an hard error to try to re-set the primary key on a document addition. This PR makes Meilisearch ignore a primary key passed as an argument to a document addition. This has been decided after a discussion with @curquiza, in order to make the bug fix non breaking.

Turns out it was a good catch too, since contrary to what I thought the error was not caught asynchronously, thank you @curquiza 

Co-authored-by: mpostma <postma.marin@protonmail.com>
2021-02-04 08:08:09 +00:00
many
1df0fdf3e2
fix synonyms normalization
Synonyms needs to be indexed in ascendant order,
and the new normalization step for synonyms potentially changes this order
which break the indexation process
because "Harry Potter" > "HP"  but "harry potter" < "hp"
2021-02-03 15:21:06 +01:00
mpostma
a95a18afe4
ignore primary key if it is already set 2021-02-03 11:59:29 +01:00
mpostma
9af0a08122
post review fixes 2021-02-02 17:34:06 +01:00
Clément Renault
d450b971f9
Merge pull request #78 from meilisearch/required-changes-for-transplant
Changes for transplant
2021-02-02 16:22:09 +01:00
bors[bot]
69c91d2b56
Merge #1218
1218: bump meilisearch version 0.19.0 r=LegendreM a=MarinPostma



Co-authored-by: mpostma <postma.marin@protonmail.com>
2021-02-02 13:45:28 +00:00
mpostma
97ba5e97c6
update changelog 2021-02-02 14:32:04 +01:00
mpostma
8760beed1c
bump meilisearch 2021-02-02 14:23:33 +01:00
bors[bot]
15464e57af
Merge #1172
1172: Fix atomic snapshot creation r=MarinPostma a=raszi

Compress gzip files to a temporary file first and then do an atomic rename.

In our setup we have an indexer which does snapshoting for the instances serving the requests. Since currently the snapshoting mechanism is replacing the file in place therefore the indexer could not share the snapshot with a live instance. 

With this small patch we first create a new temporary file in the same directory as the snapshot dir and then we do an atomic rename therefore the snapshot path would always contain a valid snapshot.
After applying this change it would be enough to simply restart the serving instances to pick up the new snapshot from a shared storage without worrying them to die because of an incomplete snapshot.

Co-authored-by: KARASZI István <ikaraszi@gmail.com>
2021-02-02 12:37:33 +00:00