From a2013c4046f897688ae16b59e4a6e004d91967bf Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Mon, 29 Jul 2024 01:56:32 +0200 Subject: [PATCH] fixed the experimetal feature --- server/main-api/src/setup/meilisearch.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/main-api/src/setup/meilisearch.rs b/server/main-api/src/setup/meilisearch.rs index d0489963c..7bdb16df7 100644 --- a/server/main-api/src/setup/meilisearch.rs +++ b/server/main-api/src/setup/meilisearch.rs @@ -50,6 +50,11 @@ pub async fn setup(client: &Client, vector_search: bool) -> Result<(), crate::Bo wait_for_healthy(client).await; info!("Meilisearch is healthy"); + meilisearch_sdk::features::ExperimentalFeatures::new(client) + .set_vector_store(true) + .update() + .await?; + client .create_index("entries", Some("ms_id")) .await?