Skip to content
Back to skills

Qdrant Knowledge Patch

ASecurity

Qdrant

  • 25 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 5, 2026
ai-agentsgonodeapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill qdrant-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Qdrant Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Qdrant Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-qdrant-knowledge-patch-nevaberry-plugins/badge)](https://www.skillsdirectory.com/skills/nevaberry-qdrant-knowledge-patch-nevaberry-plugins)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: qdrant-knowledge-patch
description: Qdrant
version: "1.20.2"
license: MIT
metadata:
  author: Nevaberry
---


# Qdrant Knowledge Patch

Load this skill when upgrading Qdrant or working on collection configuration,
point writes, vector ranking, full-text filters, cluster operations, or auditing.
Use the topic references for complete behavior details and request examples.

## Reference index

| Reference | Topics |
| --- | --- |
| [Upgrades and operations](references/upgrades-and-operations.md) | Upgrade sequencing, API migrations, startup, memory, optimizers, telemetry, replicas, snapshots, durability, platforms, Edge |
| [Collections and writes](references/collections-and-writes.md) | Strict mode, quotas, schemas, metadata, update modes, queues, multitenancy, resharding, payload indexes and filters |
| [Vector search and ranking](references/vector-search-and-ranking.md) | Quantization, HNSW, GPUs, ACORN, formulas, MMR, feedback, RRF, recommendations, grouping, timeouts |
| [Full-text search](references/full-text-search.md) | Tokenizers, normalization, stop words, stemming, phrase matching, BM25, IDF, prefix and substring filters |
| [Auditing and inference](references/auditing-and-inference.md) | Authentication, key rotation, inference credentials, audit queries and output, tracing, snapshot access controls |

## Upgrade requirements and deprecations

Upgrade through consecutive minor releases, using the latest patch of each
intermediate minor for self-hosted upgrades. Nodes can run adjacent minor versions
in one cluster; finish each minor upgrade on every node before starting the next.
Single-node deployments also need every intermediate minor so data migrations run.

For zero downtime, every collection must have a replication factor of at least 2,
and nodes must restart one at a time. Plan for a short outage on a single node or
if any collection has a replication factor of 1.
Upgrade client SDKs before the server cluster and verify target-server compatibility.
SDKs are tested for backward compatibility with the latest three server minors.

Complete migration off RocksDB before upgrading to 1.18.0, which removes support.
Upgrade from 1.15.x through 1.16.x before 1.17.x to avoid unsupported storage errors.
The shard-key format deprecated in 1.15.0 is disabled in 1.17.0; check its use.
The gRPC vector response format changes in 1.17.0: upgrade official clients and
check code reading deprecated response fields directly.

Replace deprecated search-method calls before moving to 1.18.x, which removes
those methods from the server for all client versions. The later endpoint schema
changes are documented in the operations reference.
The global quota API supersedes the deprecated `max_resident_memory_percent`
collection strict-mode setting. Manage global quotas through the API or Web UI.
Use the explicit option to disable BM25 stemming; the legacy `"none"` workaround
is deprecated. The REST schema makes the deprecated `on_disk_payload` field optional.

## Defaults and validation that affect existing applications

The default update queue capacity drops from 1,000,000 to 200 pending updates,
so writes encounter queue backpressure sooner at the default setting.
Update requests have a default timeout of 60 seconds.
Strict mode enforces `max_query_limit` on scrolls even when `limit` is omitted.

In 1.20.0, `service.enforce_internal_auth` defaults to `true` when an API key is
configured. A distributed deployment logs a startup warning if it has an API key
and enforcement is disabled. Authenticated internal gRPC calls require a
read-write API key in 1.19.2 and support `alt_api_key` for rotation.

The server rejects vector sizes above 65,536 dimensions and zero-length dense
vectors. Average-vector recommendations require equal dimensions across all
positive and negative vector examples. Query API recommendations return an error
if a referenced point ID is missing.
Collection names cannot be `.` or `..`. Sparse vector definitions require a
nonempty name. In 1.20.0, vector names resolving outside the segment directory
are rejected, and `.` and `..` are reserved vector names.

Scalar-quantized L2 scores use a corrected offset that can change which results
pass a fixed `score_threshold`. In 1.20.1, threshold application is corrected for
best-score recommendations using Euclid distance.
An empty `min_should` condition list with positive `min_count` matches no points.
A zero-limit batch preserves an empty result list for each input query.

## Collection writes and tenant routing

Supply an update filter to check the existing point payload before changing it.
For optimistic concurrency, require the stored `version` to equal the value the
caller read and increment it in the same update. A stale write leaves the point
unchanged. The `update_mode` parameter accepts `upsert`, `update`, and `insert`;
insert-only creates points whose IDs are absent, while update-only changes points
whose IDs already exist.
Filter-based updates resolve to point IDs before entering the write-ahead log,
so replay uses the IDs selected for the original update.

Use `prevent_unoptimized` to throttle updates to the indexing rate and limit
large unoptimized segments whose points indexed-only queries can temporarily miss.
With this setting enabled, point updates can be deferred before application and
optimization. The queue can process other operations while waiting for them.

For tiered multitenancy, use user-defined sharding with a shared fallback shard
for small tenants and dedicated shards for large tenants. Supply a shard key
selector for inserts and queries; it routes to a dedicated shard when present
and otherwise to the shared shard. Use a tenant payload filter on queries that
can reach the shared shard. Promotion keeps reads and writes on the same selector.

Set `strict_mode_config` to control unindexed filtering and limits on batches,
payloads, filter conditions, timeouts, and search parameters. An exceeded limit
returns a client error identifying the limit. Toggle `enabled` on an existing
collection; `search_max_batchsize` caps queries in one batch search request.
Add a named vector field to an existing collection and populate it with embeddings
from a new model; remove the old field once the migration is complete.

## Vector storage and HNSW

Binary quantization supports 1.5-bit and 2-bit encodings per dimension. The 2-bit
encoding represents near-zero values explicitly, improving lower-dimensional
precision; 1.5-bit is a middle ground between 1-bit and 2-bit storage.
Asymmetric search can use binary stored vectors and 8-bit scalar query encoding.
TurboQuant supports 1-bit, 1.5-bit, 2-bit, and 4-bit configurations with cosine,
dot-product, and L2 distances. Use 4-bit TurboQuant as primary vector storage to
store only the quantized representation and save original-vector disk space.
In 1.20.0, vector datatypes also include `turbo8` and `turbo16`; set `datatype`
on the vector definition when creating the collection.

Enable quantization and set `inline_storage` to `true` in the HNSW configuration to reduce
random reads during disk-based search, with increased index storage requirements.
In 1.20.0, with `hnsw_config.inline_storage` enabled, the graph file holds the sole
stored copy of the vectors.
Enable query-time `acorn` when combined filters hurt HNSW recall; it works with
the existing index. ACORN can use payload-block links with `m: 0`.
Disable extra HNSW edges for payload fields used only in standalone filters.
Changing `enable_hnsw` updates the payload index in place and preserves its data.
Classic HNSW construction is again the default in 1.20.2, so `ef_construct`
again tunes graph quality on large segments.

## Ranking and result diversity

Add a `gauss_decay` term to `$score` to boost prefetched results closer to a target
time. Set `target.datetime` to the current time, `x.datetime_key` to the datetime
payload field, and `scale` in seconds. Formulas support `max`, `min`, and `acosh`.
In 1.20.1, `geo_distance` uses the geo point closest to the formula's origin when
the payload field contains multiple geo points.

Add `mmr` beside `nearest` to diversify results. `candidates_limit` sizes the
candidate pool; `diversity` ranges from `0.0` for relevance to `1.0` for diversity.
Relevance Feedback Query uses more- and less-relevant example pairs from top
results to adjust similarity scoring across the vector space for another pass.
Set RRF constant `k` to tune higher-ranked results' influence, and assign weights
to individual input queries to control each ranked list's contribution.

## Text indexes and filters

The standard build includes the `multilingual` tokenizer for languages without
whitespace word boundaries, such as Japanese and Chinese. Use tokenizer `code`
for source code. Set `ascii_folding` to normalize indexed text and search terms.
Use language-specific `stopwords` and a Snowball stemmer to remove common words
and match inflected forms. Japanese tokenization honors `min_token_len`,
`max_token_len`, `stemmer`, `ascii_folding`, and case-insensitive stop words.

Enable `phrase_matching` on a text index, then use `match.phrase` for consecutive
tokens in order. In a string array, all matching phrase tokens must occur in a
single element. Unindexed phrase matching also requires consecutive ordered tokens.
Use `match.text_any` to match at least one token from a server-tokenized string;
unindexed payload fields are supported starting in 1.19.2.

In 1.20.0, full-text payload indexes can rank matches with BM25 using indexed text.
Choose a per-query IDF corpus for sparse-vector queries so tenants sharing a
collection can score against their own corpus statistics.
Enable prefix matching on a keyword index before using `match.prefix`.
Use `match.substring` for substrings within payload strings; this requires a full
scan. A slice condition divides a scroll into deterministic subsets or takes a
repeatable sample. Set `nested` when creating a payload index on an array of
objects to index individual elements for nested conditions.

## Memory, monitoring, and recovery

Set a collection component's `memory` to `"cold"`, `"cached"`, or `"pinned"` to
control it independently. The ID tracker has its own memory placement in 1.20.0.
Use the collection's Memory tab or memory API for disk, RAM, and OS page cache
usage for vectors, payloads, and indexes, summed across the cluster.

Use `/cluster/telemetry` for all-peer telemetry and cluster operations.
Use `/collections/{collection_name}/optimizations` or the Optimizations tab for
ongoing and past optimization tasks, status, and durations across the cluster.
Scrape `/metrics?per_collection=true` for a `collection` label on
`rest_responses_*` and `grpc_responses_*`; `cpu_cores_used` reports CPU usage in cores.

Send the same routing token on related reads for deterministic replica routing.
A delayed read fan-out sends a slow read to another replica of the same shard
after a configured latency threshold; the first available response is used.
Place local recovery snapshots in the server's snapshot directory; local file
recovery is restricted to that directory. A snapshot download aborts if its
connection stalls for more than one minute. Recoveries targeting the same shard
run one at a time.

## Auditing, inference, and Edge

Use audit logging for API operations requiring authentication or authorization.
The audit log API aggregates entries from all nodes and filters by time range or
any field value. Pass tracing IDs with `x-request-id`, `x-tracing-id`, or
`traceparent`, keeping IDs at or below 256 encoded bytes. Set `audit.output` to
`stdout` or `stderr` for process-stream events; the default is `file`.
Pass external inference provider API keys in the request header for inference.

Edge shares the server's points API and storage format and can read server shard
snapshots locally. Use `EdgeConfig::wal_enabled(false)` to disable its WAL; in
that mode, updates become durable after `flush()`. With logging enabled, loading
an Edge shard replays unacknowledged WAL operations.

Files in this skill

  • SKILL.md9.5 KB
  • coverage.json1.1 KB
  • references/auditing-and-inference.md3.2 KB
  • references/collections-and-writes.md7.7 KB
  • references/full-text-search.md4.7 KB
  • references/upgrades-and-operations.md7.5 KB
  • references/vector-search-and-ranking.md8.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.