Commit Graph
14 Commits
Author SHA1 Message Date
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