Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.
This repository was archived by the owner on May 29, 2026. It is now read-only.

How to recreate a collection from scratch #53

Description

@mamayer19

Originally posted by @tatankam on 2025-09-25T09:59:43Z
Migrated from superlinked/superlinked#147


Hi, I need to clarify myself about how superlinked works with Qdrant.
I setup superlinked server as collection name=sl_mycollection
So, I "docker compose up -d" and it created an empty sl_mycollection with a vector configuration like "89cd31e507849099 799 Dot"

So, I loaded data with: curl -X POST 'http://localhost:8080/data-loader/product_document/run' loading data from products.jsonl

It created 7544 points and it worked well, I could query

If I want to delete and recreate the collection every night, for example I created a fresh products.jsonl and I want to force to recreate the collection from scratch, how to do?
Do I have to use external api like deletion from qdrant, so "docker compose down" docker compose up -d" so it recreates a fresh empty collection or, is there a way from the fastapi superlinked server?
Thanks a lot

Mario

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions