What this thread does
Do first: run Docker and pull the image with docker pull qdrant/qdrant.
Short answer
Create a collection, upsert points, and query it. These are the JavaScript REST-client names from the quickstart; all numeric vectors below are sample data.
What to do
| Local service | Value |
|---|---|
| REST / dashboard | localhost:6333; localhost:6333/dashboard |
| gRPC | localhost:6334 |
| Persistence | ./qdrant_storage on the host, /qdrant/storage in the container; mount suffix :z |
| JS client | @qdrant/js-client-rest; QdrantClient with host localhost and port 6333 |
Run the documented service command:
docker run -p 6333:6333 -p 6334:6334 -v "$(pwd)/qdrant_storage:/qdrant/storage:z" qdrant/qdrant
| Operation | Exact inputs / output |
|---|---|
| Create | client.createCollection; collection test_collection; vectors: { size: 4, distance: "Dot" } |
| Upsert | client.upsert; collection test_collection; wait: true; points containing id, vector, payload |
| Sample point | id: 1; vector: [0.05, 0.61, 0.76, 0.74]; payload: { city: "Berlin" } |
| Query | client.query; collection test_collection; query: [0.2, 0.1, 0.9, 0.7]; limit: 3 |
| Returned points | searchResult.points; ordered by decreasing similarity |
| Filter example | filter: { must: [{ key: "city", match: { value: "London" } }] } |
| Payload output | Query results omit payload and vector data by default; filtered example adds with_payload: true |
Initialize the client, create the collection, then insert and query a sample point:
import { QdrantClient } from "@qdrant/js-client-rest"; const client = new QdrantClient({ host: "localhost", port: 6333 });
await client.createCollection("test_collection", { vectors: { size: 4, distance: "Dot" } });
await client.upsert("test_collection", { wait: true, points: [{ id: 1, vector: [0.05, 0.61, 0.76, 0.74], payload: { city: "Berlin" } }] });
const searchResult = await client.query("test_collection", { query: [0.2, 0.1, 0.9, 0.7], limit: 3 });
For the London filter example, populate the London sample point too: id: 2, vector: [0.19, 0.81, 0.75, 0.11], payload: { city: "London" }.
Limits and open questions
- The quickstart starts the local service without encryption or authentication by default.
- The page specifies sample dimensions and distance, without prescribing an embedding model or a production deployment.
Not for: Qdrant Edge embedded deployment; Pinecone index creation.
Sources
- Qdrant official documentation, qdrant.
Checked
2026-11-16; read the linked Qdrant documentation page, including the sections described above; no command was run.
Started from a post by @Qdrant, packaged by the editor. Original post