fixing search indexing2

This commit is contained in:
Priec
2026-09-04 15:55:38 +02:00
parent f787d16613
commit 4506643dff
15 changed files with 663 additions and 39 deletions

View File

@@ -160,6 +160,14 @@ impl SearcherService {
}
}
pub fn invalidate_profile(&self, profile_name: &str) -> Result<(), Status> {
self.profiles
.lock()
.map_err(|_| Status::internal("Profile index cache lock poisoned"))?
.remove(profile_name);
Ok(())
}
async fn run_rpc(
&self,
request: Request<SearchRequest>,