qdrant-sliding-time-window
Skill by qdrant
Guides sliding time window scaling in Qdrant for data where only recent records need fast search. It covers shard rotation, collection rotation and filter-and-delete strategies for expiring old vectors.
Install qdrant-sliding-time-window
Built from the published package, never by AI.
git clone --depth 1 https://github.com/qdrant/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/qdrant-scaling/scaling-data-volume/sliding-time-window ~/.claude/skills/qdrant-sliding-time-windowRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install qdrant-sliding-time-window in Claude Code
git clone --depth 1 https://github.com/qdrant/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/qdrant-scaling/scaling-data-volume/sliding-time-window ~/.gemini/antigravity-cli/skills/qdrant-sliding-time-windowAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install qdrant-sliding-time-window in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides sliding time window scaling in Qdrant. It is meant for cases where only recent data needs fast search, such as social media posts, news articles, support tickets, logs and job listings. Older data either becomes irrelevant or can tolerate slower access.
The skill describes three strategies. Shard rotation is recommended and creates one shard key per time period, deleting the oldest once it leaves the retention window. Collection rotation uses an alias swap and suits per-period configuration differences. Filter-and-delete is the simplest option for continuous cleanup. The skill also covers hot and cold tiers and lists common mistakes to avoid.
Written from the project's SKILL.md and checked against it.
What it can do
- Shard rotationCreates one shard key per time period and deletes the oldest shard key once it leaves the retention window.
- Collection rotationUses one collection per period behind a write alias that is swapped when a new period starts.
- Filter-and-deleteStores a datetime payload, filters queries to a time window and periodically deletes expired points.
- Hot/cold tiersPlaces recent data in RAM and older data on cheaper nodes or on-disk vectors.
- Rotation pitfallsLists mistakes to avoid, such as skipping the timestamp index or dropping data too early.
What you need
- Qdrant
Try asking
- Help me set up shard rotation in Qdrant for monthly news articles.
- Which Qdrant strategy should I use to keep only the last 6 months of logs?
- Show me how to delete expired points with filter-and-delete in Qdrant.
Good to know
- Filter-and-delete tombstones points, which degrades search until the optimizer compacts segments.
- Filter-and-delete does not reclaim disk space instantly.
- Collection rotation requires application-level fan-out and more operational overhead.
- Dense vectors cannot use the pinned memory setting, and Qdrant rejects it.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/qdrant-scaling/scaling-data-volume/sliding-time-window/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to qdrant-sliding-time-window
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
qdrant-sliding-time-window: common questions
When should I use shard rotation in Qdrant?
The skill recommends shard rotation when data has natural time boundaries such as daily, weekly or monthly periods. Queries span all periods in one request without application-level fan-out.
How do I expire old vectors in Qdrant?
The skill describes three options: shard rotation, collection rotation and filter-and-delete. Filter-and-delete stores a datetime payload, filters by time window and periodically deletes expired points.
Does deleting old data in Qdrant free disk space right away?
Not with filter-and-delete. The source says it does not reclaim disk instantly because compaction is asynchronous, while deleting a shard key reclaims resources instantly.
How do I install qdrant-sliding-time-window?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is qdrant-sliding-time-window free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is qdrant-sliding-time-window safe to use?
It scores 74 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to qdrant-sliding-time-window?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
