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§
Sourcefn index(
&self,
alias: &str,
index_path: &Path,
metrics: PerformanceMetrics,
blocks: &[HeadingBlock],
) -> Result<()>
fn index( &self, alias: &str, index_path: &Path, metrics: PerformanceMetrics, blocks: &[HeadingBlock], ) -> Result<()>
Index a set of heading blocks for the given alias.