Commit Graph

9171 Commits

Author SHA1 Message Date
Clément Renault
c1cf67c008
Join updates threads after dropping the indexes lock and avoid deadlocks 2019-11-21 12:01:46 +01:00
Clément Renault
4abea919b2
Merge pull request #311 from meilisearch/add-index-name-and-id
Add index name and change some routes request body & response
2019-11-21 11:59:14 +01:00
Quentin de Quelen
d60aa722c0 Allow to update expireAt and revoked on token 2019-11-21 11:49:49 +01:00
Quentin de Quelen
055368acd8 Fix for review 2019-11-21 11:49:49 +01:00
Quentin de Quelen
7f2e5d091a Rename routes /synonym to /synonyms 2019-11-20 15:33:42 +01:00
Quentin de Quelen
c69ae8154f Allow to receive schema update formated as SchemaBuilder 2019-11-20 15:25:34 +01:00
Quentin de Quelen
cd95b243bb Add the update index route 2019-11-20 15:00:06 +01:00
Quentin de Quelen
1f1cb1f501 Rename browse_documents into get_all_documents and always respond HTTP Ok 2019-11-20 14:18:21 +01:00
Quentin de Quelen
530738cfe9 Format code 2019-11-20 14:12:12 +01:00
Quentin de Quelen
878dd6912e Return a HTTP 401 instead of 404 if token is not found 2019-11-20 14:06:56 +01:00
Quentin de Quelen
5f0f699f37 Move route to clear all synonyms on DELETE /synonyms 2019-11-20 14:03:55 +01:00
Quentin de Quelen
ca13900699 Add async routes should return ACCEPTED status code response 2019-11-20 14:03:19 +01:00
Quentin de Quelen
cc97889b37 Add stop-word is now PATCH method 2019-11-20 13:56:43 +01:00
Quentin de Quelen
45ded0498b Format code with cargo fmt 2019-11-20 11:45:23 +01:00
Quentin de Quelen
d01a3944c1 Add last_update information on global /stats route 2019-11-20 11:45:22 +01:00
Quentin de Quelen
a0caf0d6d7 Remove unused result response on indexes_uids function 2019-11-20 11:45:22 +01:00
Quentin de Quelen
e22debb994 Update index updated_at information at each update callback 2019-11-20 11:45:22 +01:00
Quentin de Quelen
1b8df0ed8b Remove last_update from stats 2019-11-20 11:45:22 +01:00
Quentin de Quelen
3286a5213c Move fields frequency from common store to index main store 2019-11-20 11:45:22 +01:00
Quentin de Quelen
394976d330 Update list_index route to return all index information, not only list of uid 2019-11-20 11:45:22 +01:00
Quentin de Quelen
b95acbece0 Function generate_uid return now lowercased uid 2019-11-20 11:45:22 +01:00
Quentin de Quelen
c94f4dff71 Do not return update_id on IndexCreateRespnse if it's none 2019-11-20 11:45:22 +01:00
Quentin de Quelen
e6465f4ea1 Create a new specific route for schema 2019-11-20 11:45:22 +01:00
Quentin de Quelen
2b3c91aabd Update get_index_schema to allow raw response 2019-11-20 11:45:22 +01:00
Quentin de Quelen
e97e13ce9f Rename index_name to index_uids 2019-11-20 11:45:22 +01:00
Quentin de Quelen
39e2b73718 Add updatedAt on main index store 2019-11-20 11:45:22 +01:00
Quentin de Quelen
a90facaa41 Rename index_name by index_uid 2019-11-20 11:45:22 +01:00
Quentin de Quelen
5527457655 Rewrite create_index route new path, body request and response 2019-11-20 11:45:21 +01:00
Quentin de Quelen
076e781810 Add name, created_at and updated_at informations into main index 2019-11-20 11:45:21 +01:00
Quentin de Quelen
750d336018 Bump Cargo.lock meili versions 2019-11-20 11:45:21 +01:00
Clément Renault
e8251ad45b
Merge pull request #310 from meilisearch/unify-crates-version
Unify the crates versions to 0.8.0
2019-11-20 11:05:54 +01:00
Clément Renault
963ca1e2c7
Unify the crates versions to 0.8.0 2019-11-20 10:47:32 +01:00
Clément Renault
12a6c7d54d
Merge pull request #298 from bidoubiwa/add_ranked_movies_dataset
Create a dataset where the release_date is a numeric timestamp
2019-11-20 10:46:24 +01:00
charlotte
2d0fc3f9d3 Create a dataset where the release_date is a numeric timestamp 2019-11-20 10:44:32 +01:00
Clément Renault
e554784527
Merge pull request #309 from bidoubiwa/remove_stop_words_from_settings
Removed stop words from settings route
2019-11-19 18:35:27 +01:00
charlotte
2cb43fa638 Removed stop words from settings route 2019-11-19 18:21:44 +01:00
Clément Renault
66d5309a51
Merge pull request #308 from meilisearch/improve-structopt
Introduce better argument names
2019-11-19 18:09:44 +01:00
Clément Renault
7eeedec7eb Bump meilidb-http to v0.3.0 2019-11-19 17:50:01 +01:00
Clément Renault
4b798c71ae Introduce new arguments and understand env vars 2019-11-19 17:50:01 +01:00
Clément Renault
685016bfec
Bump meilidb-core to v0.7.0 and meilidb-http to v0.2.0 2019-11-18 15:49:23 +01:00
Clément Renault
d30e5f6231
Merge pull request #299 from meilisearch/default-update-callbacks
Prefer using a global update callback common to all indexes
2019-11-18 15:05:21 +01:00
Clément Renault
e854d67a55 Remove useless routes and checks 2019-11-18 14:41:49 +01:00
Clément Renault
23a89732a5 Prefer using a global update callback common to all indexes 2019-11-18 14:41:49 +01:00
Clément Renault
3a1f41ebdb
Merge pull request #305 from meilisearch/fix-example
Make easier to interact with compacted databases
2019-11-17 20:31:06 +01:00
Clément Renault
f873761a27
Make easier to interact with compacted databases 2019-11-17 20:01:02 +01:00
Clément Renault
ebf620c7f9
Merge pull request #302 from meilisearch/fix-dataset-schema
Rename the movies dataset schema file
2019-11-17 17:17:33 +01:00
Clément Renault
8b92bc3421
Rename the movies dataset schema file 2019-11-17 16:45:13 +01:00
Clément Renault
70a5aa61e9
Merge pull request #301 from meilisearch/separate-types
Move the main types to a separate library
2019-11-17 12:45:25 +01:00
Clément Renault
a76169042f
Make the serde and zerocopy meilidb-types dependencies optional 2019-11-17 12:30:39 +01:00
Clément Renault
c9c3cfcee9
Move the main types to a separate library 2019-11-17 12:19:36 +01:00