Commit Graph
21 Commits
Author SHA1 Message Date
István Zoltán Szabó 4bc89cd833 Hide boilerplate in snippets. 2026-07-21 14:04:28 +02:00
István Zoltán Szabó 3fecc10c89 Revert "Put localhost back."
This reverts commit 507e29fae2.
2026-07-21 11:49:41 +02:00
István Zoltán Szabó 507e29fae2 Put localhost back. 2026-07-21 11:45:33 +02:00
István Zoltán Szabó 5b61a30535 Create code snippets for distributed deployment. 2026-07-20 17:06:30 +02:00
Abdon Pijpelink 44bf1f472b Update Bulk Upload tutorial for best practices (#2407)
* Make Bulk Upload tutorial code snippets testable

* Align Bulk Upload tutorial with agent skill

* Update Bulk Upload tutorial

* Update title

* Remove 'Disable Indexing' section
2026-06-26 13:07:14 +02:00
46e81449a8 Add TurboQuant quantization documentation (v1.18.0) (#2313)
* Add TurboQuant quantization documentation (v1.18.0)

Adds a new TurboQuant section to the quantization guide covering the
four encoding options (bits1/bits1_5/bits2/bits4), automatic asymmetric
quantization, distance metric support, and the automatic TQ+ precision
enhancement for sealed segments. Updates the comparison table and
method-selection guidance to recommend TurboQuant over Binary and
Scalar Quantization for new collections. Adds HTTP-only snippets for
basic setup and explicit bit-depth selection.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Consistently use title case for headers

* Restructure doc to lead with TurboQuant

* Clarify rescoring

* Edits

* Soften TQ advice

* Updates

* Fix

* Apply suggestions from code review

Co-authored-by: Jojii <15957865+JojiiOfficial@users.noreply.github.com>

* Review feedback

* Add Go/Java/C# code snippets

* Add list of 4 quantization methods to introduction

* Review feedback

* Stronger advice for TQ4

* Add Python snippets

* Add Rust snippets

* Add TS snippets

* Update recommendation table

* Update production checklist

* Remove link to article

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Jojii <15957865+JojiiOfficial@users.noreply.github.com>
2026-05-11 08:13:03 +02:00
Abdon Pijpelink 5705d7e2a2 Fix HTTP code snippets (#2231) 2026-04-07 11:35:51 +02:00
Abdon Pijpelink 7262e72a2b Fix Go snippet 2026-01-07 14:02:14 +01:00
Abdon Pijpelink 3436f37df4 Fix code snippets in master 2026-01-07 11:33:43 +01:00
myyrakleandmyyrakle 0316544a1a Replace memmap_threshold with indexing_threshold (#2041)
* Replace memmap_threshold with indexing_threshold

* Update GitHub Stars

* Update GitHub Stars

* Update GitHub Stars

---------

Co-authored-by: myyrakle <16988115+myyrakle@users.noreply.github.com>
2025-12-28 22:38:46 +01:00
xzfc 178a9bae72 Regenerate snippet .md files
Run `./generate-md.py` to update generated markdown files after
semi-manual changes made in the previous commit.
This commit serves as a gist of fixed issues found in snippets.

(it's easier to review 250 lines diff rather than 31k lines diff, isn't it?)
2025-11-28 22:02:34 +00:00
xzfc 74a785218b Fix type-checking errors in snippets (code only, no .md)
This commit both:
- Fixes pre-existing mistakes in snippets, aka wrong code samples.
- Adds hidden (`@hide`) statements that do not appear in the docs,
  but satisfy typecheckers.
2025-11-28 22:02:07 +00:00
xzfc 00896acb28 Automated snippet conversion by scripts
These changes are purely mechanical to differentiate them from manual
fixes/adjustments made in the next commit.
This results in broken code as some snippets contain errors.

Made in four steps:
1. Run ./migrate-snippet.py that converts `.md` files to code files
   and perhaps adds missing lines under `// @hide` comments.
2. Sort Java imports.
3. Remove old `.md` files.
4. Run ./generate.md to produce `*/generated/*.md` files.
2025-11-28 22:00:47 +00:00
xzfc 5e1d85937c Merge pull request #2006 from qdrant/snippet-tools
Automated snippet checking
2025-11-26 16:44:14 +00:00
xzfc 43aab46bba Migrate some code snippets
create-collection/simple
query-points/with-acorn
2025-11-26 06:23:31 +00:00
Abdon Pijpelink 9aef9f22f0 Remove init_from from docs 2025-11-21 10:27:07 +01:00
xzfcandTim Visée 69b90aadce [1.16] Add ACORN and Inline Storage docs (#1990)
* Add ACORN doc

* Add Inline Storage doc

* Use consistent version gate marker

* Update

---------

Co-authored-by: Tim Visée <tim@visee.me>
2025-11-17 15:16:51 +01:00
5ed4822559 [v1.16] Collection metadata docs (#1986)
* wip: initial docs

* docs: Go snippets

Signed-off-by: Anush008 <anushshetty90@gmail.com>

* docs: Java snippets

Signed-off-by: Anush008 <anushshetty90@gmail.com>

* docs: Removed TODO!

Signed-off-by: Anush008 <anushshetty90@gmail.com>

* docs: C# snippets

Signed-off-by: Anush008 <anushshetty90@gmail.com>

* move collection metadata section into collection info

* fix code fence mismatch in markdown

* Remove empty line

---------

Signed-off-by: Anush008 <anushshetty90@gmail.com>
Co-authored-by: Anush008 <anushshetty90@gmail.com>
Co-authored-by: trean <trean.mi@gmail.com>
Co-authored-by: Tim Visée <tim@visee.me>
2025-11-17 15:02:57 +01:00
generall 31c7db602b tiered multitenancy docs 2025-11-16 21:24:34 +01:00
fe7a45a4ad [1.15] New BQ methods docs (#1798)
* bq-new-methods-1-15

* fix snippets path

* fix snippets

* update 2bit description

* Update qdrant-landing/content/documentation/headless/snippets/create-collection/with-binary-quantization-and-query-encoding/go.md

* Update qdrant-landing/content/documentation/guides/quantization.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update go.md

* review text and update some snippets

* simplify query encoding for rust

* upd rust snippets

* Update quantization.md

---------

Co-authored-by: Anush <anushshetty90@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
2025-07-18 13:23:30 +02:00
treanandgenerall 784f11cba4 Shortcode for rendering code snippets from separate markdown files (#1548)
* shortcode for rendering code snippets from separate markdown files

* formatted code

* fix and readme

* semi-automatically extracts snippets from markdown

* extract snippets from points.md

* extract snippets from vectors.md

* extract snippets from payload.md

* extract snippets from search.md + fixes

* extract snippets from explore.md

* extract snippets from hybrid-queries.md + mode query by id into search

* extract snippets from filtering.md

* extract snippets from storage.md + update outdated info

* extract snippets from indexing.md

* extract snippets from snapshots.md

* extract snippets from guides/optimize.md

* extract snippets from guides/multiple-partitions.md + fix aside note

* extract snippets from guides/quantization.md

* use auto-generated descriptions

* order json snippets first

---------

Co-authored-by: generall <andrey@vasnetsov.com>
2025-04-07 00:40:39 +02:00