Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.6: Add instructions for disabling vector search #2681

Merged
merged 1 commit into from
Jan 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions learn/experimental/vector_search.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,33 @@ curl -X POST -H 'content-type: application/json' \
Check out the Meilisearch blog post for a [tutorial on implementing semantic search with LangChain](https://blog.meilisearch.com/langchain-semantic-search-tutorial/?utm_campaign=vector-search&utm_source=docs).
</Capsule>

## Deactivate vector search

Manually remove all embedder configuration from your index:

```sh
curl \
-X DELETE 'http://localhost:7700/indexes/movies/settings/embedders' \
-H 'Content-Type: application/json'
```

<Capsule intent="warning">
If you don't remove all embedders, Meilisearch will continue auto-generating embeddings for you documents. This will happen even if `vectorStore` has been set to `false` and may lead to unexpected expenses when using OpenAI's paid tiers.
</Capsule>

If using Meilisearch Cloud, navigate to your project overview and find "Experimental features", then uncheck the "vector store" box.

Alternatively, use [the `/experimental` route](/reference/api/experimental_features):

```sh
curl \
-X PATCH 'http://localhost:7700/experimental-features/' \
-H 'Content-Type: application/json' \
--data-binary '{
"vectorStore": false
}'
```

## More information

Consult the [feature discussion on GitHub](https://github.com/orgs/meilisearch/discussions/621) for the latest information on using vector search with Meilisearch. This feature is undergoing active development and any feedback you might have is welcome.