Skip to main content

Crate linkrs_api

Crate linkrs_api 

Source
Expand description

The Linkrs API module

Provides the transport-independent core API consumed by the network service layer (linkrs-server) and library users.

Re-exports§

pub use api_core::CoreError;
pub use api_core::CoreResult;
pub use api_core::QueryApi;
pub use api_core::SchemaApi;
pub use api_core::SyncApi;

Modules§

api_core
API Core Layer – Business logic that is independent of the transport layer
migration_online
Online migration drain fence shared by embedded and server callers.
session_variables
Transaction-aware session variable store shared by the server and embedded session implementations.

Structs§

FusedHit
Fused hit shared by both strategies.
ScoredHit
One ranked hit from a single retrieval path.

Functions§

normalize_vector_hits
Map one vector hit list to fusion keys, dropping hits that do not belong to the requested index.
normalize_vector_point_id
Normalize a vector point ID to its vertex document key for fusion.
rrf_fuse
Fuse ranked lists with reciprocal rank fusion.
weighted_fuse
Fuse one vector list with one fulltext list by weighted sum.