pub struct IncrementalIndexingService { /* private fields */ }Expand description
Main incremental indexing service that orchestrates all components
Implementations§
Source§impl IncrementalIndexingService
Service implementation
impl IncrementalIndexingService
Service implementation
Sourcepub async fn new(config: IncrementalServiceConfig) -> RragResult<Self>
pub async fn new(config: IncrementalServiceConfig) -> RragResult<Self>
Create a new incremental indexing service
Sourcepub async fn get_metrics(&self) -> IncrementalMetrics
pub async fn get_metrics(&self) -> IncrementalMetrics
Get service metrics
Sourcepub async fn health_check(&self) -> RragResult<HashMap<String, bool>>
pub async fn health_check(&self) -> RragResult<HashMap<String, bool>>
Perform health check on all components
Sourcepub fn get_config(&self) -> &IncrementalServiceConfig
pub fn get_config(&self) -> &IncrementalServiceConfig
Get service configuration
Sourcepub async fn update_config(
&mut self,
new_config: IncrementalServiceConfig,
) -> RragResult<()>
pub async fn update_config( &mut self, new_config: IncrementalServiceConfig, ) -> RragResult<()>
Update service configuration
Auto Trait Implementations§
impl Freeze for IncrementalIndexingService
impl !RefUnwindSafe for IncrementalIndexingService
impl Send for IncrementalIndexingService
impl Sync for IncrementalIndexingService
impl Unpin for IncrementalIndexingService
impl !UnwindSafe for IncrementalIndexingService
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more