Skip to content

Commit

Permalink
fixed the experimetal feature
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Jul 28, 2024
1 parent 867fb36 commit a2013c4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/main-api/src/setup/meilisearch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit a2013c4

Please sign in to comment.