adapt meilisearch-http to the new schemaless option

This commit is contained in:
qdequele 2020-01-14 17:26:27 +01:00
parent 21d122a870
commit 4f0ead625b
No known key found for this signature in database
GPG key ID: B3F0A000EBF11745
13 changed files with 143 additions and 359 deletions

View file

@ -51,10 +51,10 @@ pub fn load_routes(app: &mut tide::App<Data>) {
.put(index::update_index)
.delete(index::delete_index);
router
.at("/schema")
.get(index::get_index_schema)
.put(index::update_schema);
// router
// .at("/schema")
// .get(index::get_index_schema)
// .put(index::update_schema);
router.at("/documents").nest(|router| {
router