Keep prepared search readers warm and verify abrupt indexing recovery
This commit is contained in:
1 parent
423a1ea57d
commit
6b78c8bb7f
17 files changed
+1011
-41
No files matched your search
@@ -1,6 +1,8 @@
|
||||
//! Shared offline hybrid search using real Google embeddings and persisted,
|
||||
//! filtered HNSW retrieval. Production-scale validation remains a release gate.
|
||||
mod media;
|
||||
mod prepared;
|
||||
pub use prepared::PreparedGraphs;
|
||||
mod pipeline;
|
||||
mod routing;
|
||||
pub use routing::SemanticOrigin;
|
||||
@@ -172,6 +174,11 @@ pub struct HybridSearch {
|
||||
}
|
||||
|
||||
impl HybridSearch {
|
||||
/// Connect background publication to an existing warmed reader.
|
||||
pub fn share_prepared_graphs(&mut self, graphs: &PreparedGraphs) -> Result<()> {
|
||||
self.store.share_prepared_graphs(graphs)
|
||||
}
|
||||
|
||||
/// Actual model/runtime/device reported by the persistent native worker.
|
||||
pub fn worker_info(&self) -> Option<searchi_semantic::WorkerInfo> {
|
||||
self.embedder.worker_info()
|
||||
|
||||
Reference in new issue
Block a user