RefreshIndexer

Trait RefreshIndexer 

Source
pub trait RefreshIndexer {
    // Required method
    fn index(
        &self,
        alias: &str,
        index_path: &Path,
        metrics: PerformanceMetrics,
        blocks: &[HeadingBlock],
    ) -> Result<()>;
}
Expand description

Interface for indexing refreshed content.

Required Methods§

Source

fn index( &self, alias: &str, index_path: &Path, metrics: PerformanceMetrics, blocks: &[HeadingBlock], ) -> Result<()>

Index a set of heading blocks for the given alias.

Implementors§