* Update Edge Rust snippets to the new request interfaces
The edge crate replaced its mixed read interface with edge-owned request
structs and fluent builders (qdrant/qdrant#9901). Update the Rust snippets
under /documentation/edge accordingly:
- retrieve() now takes a RetrieveRequest instead of a
(&[ids], with_payload, with_vector) triple — this was a hard break.
- Query and facet requests are built with QueryRequestBuilder /
FacetRequestBuilder instead of struct literals, matching the published
examples.
Also note in the quickstart that parameters left unset on an EdgeConfig
passed to load() now keep their persisted values, so the WAL-only config
no longer resets the rest of the shard configuration.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* Bump qdrant-edge to 0.8.0 in the rust snippet template
0.8.0 is the first release carrying the edge request structs and builders
the snippets in the previous commit use. Lockfile refreshed with
`cargo update -p qdrant-edge --precise 0.8.0`.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
* docs(edge): add "Modify the Vector Schema" step to quickstart
Documents the new Edge 0.7 API for adding and removing named vector
fields on an existing shard without recreating it, with Python and
Rust snippets.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* docs(edge): mention quantization support in quickstart
Adds a note after the EdgeConfig snippet that Edge supports all four
quantization methods (Scalar, Product, Binary, TurboQuant), with a
link to the quantization guide.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* docs(edge): add On-Device BM25 page for Edge 0.7
New guide covering the built-in BM25 sparse embedder: configuring a
sparse vector shard, creating a Bm25/EdgeBm25 embedder, embedding and
upserting documents, and querying. Includes Python and Rust snippets.
Also adds the page to the Edge index navigation table.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* docs(edge): add WAL segment size configuration to quickstart
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Upgrade code snippets to Edge 0.7.2
* Review feedback
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* Initial Rust snippets
* Update content for Rust
* Upgrade Rust to 1.94.0; test Edge code snippets against dev
* Temporarily test against Edge shim crate
* Move to EdgeShardConfig and EdgeVectorParams
* Add docs for payload indexing, filtering, facet(), and optimize()
* De-emphasize on-device use case
* Update link to Rust examples on Github
* Flattened API
* Switch to new/create and load to initialize shards
* Fixups for released packages
* Mention recover_partial_snapshot on method list
* Link to Github dev branch for examples
---------
Co-authored-by: xzfc <xzfcpw@gmail.com>
- update README
- generate-md.py: ignore trailing newlines when complaining about diffs
- all langs: add more dependencies to templates
- all langs: support @hide-start and @hide-end for multi-line hiding
- go: also allow one-line imports
- java: allow declarations other than `main` method
- python, typescript: implement `unshorten` for implicit imports and
client initialization
- python: add mypy config as `datasets` lacks type py.typed
- python: hide `# mypy:` annotations
- typescript: add tsconfig that allows top-level `await`s
- typescript: depend on @types/node to fix `import ... from "crypto"`