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

Qdrant: add migration utility function for Sparse Embedding support #659

Merged
merged 5 commits into from
Apr 12, 2024

Conversation

anakin87
Copy link
Member

Add a utility function to migrate an existing QdrantDocumentStore to a new one with support for sparse embeddings.
Related to #578

Inspired by @lambda-science's migration script reported in #578 (comment)

Applies to on-premise and cloud instances of Qdrant but does not work for local in-memory/disk-persisted instances.

I tested it locally with 10K documents.
Since our tests are based on memory instances of Qdrant, to test the migration function in the CI,
we should rework our testing suite introducing Docker.

@anakin87 anakin87 requested a review from masci April 12, 2024 15:39
@github-actions github-actions bot added type:documentation Improvements or additions to documentation integration:qdrant labels Apr 12, 2024
Comment on lines -8 to -9
"haystack_integrations.document_stores.qdrant.converters",
"haystack_integrations.document_stores.qdrant.filters",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unrelated. I think these should not be user-facing

@anakin87 anakin87 merged commit b116f4d into main Apr 12, 2024
10 checks passed
@anakin87 anakin87 deleted the qdrant-migration branch April 12, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration:qdrant type:documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants