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

feat(collections): Helper for downloading collections #17

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

lordrip
Copy link
Collaborator

@lordrip lordrip commented Jan 23, 2024

This PR builds on top of #16

Context

Currently, there's no mechanism for migrating the existing vectors.

Changes

This commit offers the first part of the functionality by adding a way to create and download individual vector collections.

Usage

    # List all collections in the cluster

    python -m download_qdrant_snapshot.py -l
    python -m download_qdrant_snapshot.py --list

    # Create a snapshot for a collection and download it
    python download_qdrant_snapshot.py -d -c <collection_name>
    python download_qdrant_snapshot.py --download --collection <collection_name>

relates: #13

heiko-braun
heiko-braun previously approved these changes Jan 24, 2024
@lordrip lordrip dismissed heiko-braun’s stale review January 24, 2024 15:47

The merge-base changed after approval.

heiko-braun
heiko-braun previously approved these changes Jan 24, 2024
Copy link
Owner

@heiko-braun heiko-braun left a comment

Choose a reason for hiding this comment

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

Makes sense

@heiko-braun
Copy link
Owner

@lordrip does it need to be rebased?

@lordrip lordrip dismissed heiko-braun’s stale review January 24, 2024 16:14

The merge-base changed after approval.

@lordrip
Copy link
Collaborator Author

lordrip commented Jan 24, 2024

@lordrip does it need to be rebased?

Yup, it would be better, I'll do it in a sec

Currently, there's no mechanism for migrating the existing vectors.

This commit offer the first part of the functionality by adding a way to
create and download individual vector's collections.

Usage:
```
Usage:
    # List all collections in the cluster

    python -m download_qdrant_snapshot.py -l
    python -m download_qdrant_snapshot.py --list

    # Create a snapshot for a collection and download it
    python download_qdrant_snapshot.py -d -c <collection_name>
    python download_qdrant_snapshot.py --download --collection <collection_name>
```

relates: heiko-braun#13
@lordrip lordrip force-pushed the feat/download-qdrant-snapshot branch from deef9de to e8b5e2f Compare January 24, 2024 16:15
Copy link
Owner

@heiko-braun heiko-braun left a comment

Choose a reason for hiding this comment

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

Lgtm

@heiko-braun heiko-braun merged commit b699290 into heiko-braun:main Jan 25, 2024
@lordrip lordrip deleted the feat/download-qdrant-snapshot branch January 25, 2024 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants