Repository navigation
Done
Labels
Milestone
Description
Phase: M - SDK simplification · Tracker: #590 · Priority: P1
Problem
BM25, vectors, hybrid retrieval, filtering, aggregation and branching already have server foundations. Developers still construct nested native/OpenSearch request bodies, and several operations lack convenient typed SDK methods.
Scope
- Provide concise text, semantic and hybrid search helpers with filters, field projection, limits and optional reranking.
- Add typed filter builders and count/aggregate helpers over existing search semantics.
- Expose schema/embedding configuration and branch create/list/delete through public SDK methods.
- Keep lexical search usable without embeddings; require explicit model/provider configuration for semantic query-by-text.
- Preserve an advanced native-request escape hatch for features outside the convenience API.
- Return consistent normalized hits and metadata using the shared contract.
Done when
- Helpers in all three languages produce requests/results equivalent to the documented native operations on shared fixtures.
- Semantic setup failures clearly identify the required vector field/model instead of silently selecting a provider.
- Count distinguishes exact totals from lower bounds; aggregation semantics are documented.
- Branch helpers surface existing restrictions, including unsupported sharded namespaces, without claiming broader support.
- A developer can compose filtering, projection and retrieval without learning the storage wire representation.
- Examples cover one lexical, one semantic/hybrid and one structured exploration task.
Dependencies and boundaries
Depends on #591 and #592. Integrates with #584. Path/glob (#585), ranged read (#586), ingestion (#587) and indexed grep (#588) remain Phase L capabilities; existing wildcard/full-document APIs must not be presented as substitutes.
Activity