Expand description
Portable retained search operations.
Build a QueryScope and ScopedQuery with vector or text options, then
execute a QueryRequest through crate::DatabaseBackend::query. Read
ScoredRecord::score_kind before interpreting scores and return page
tokens unchanged to the same applicable operation.
Structs§
- Nearest
Request - Request to perform nearest-neighbor vector search.
- Query
Response - Ranked hits and optional continuation.
- Query
Scope - Shared collection and result scope.
- Scoped
Query - Shared scope plus query-family options.
- Scored
Record - One ranked record.
- Scroll
Request - Request to iterate records through a query-scoped scroll API.
- Text
Query Options - Text field and result options.
- Text
Search Request - Request to run a full-text search.
- Vector
Query Options - Vector field and result options.
- Vector
Search Params - Vector search shaping and portable tuning.
Enums§
- Dense
Vector - Dense vector payload stored in a backend-supported numeric representation.
- Distance
Metric - Distance metric used for vector search and index configuration.
- Projection
- Fields returned for a record.
- Query
Request - Retained cross-backend query operations.
- Score
Kind - Meaning of a returned score.
- Vector
Coercion Policy - Controls numeric conversion when a backend requires
f32vectors.