Module indexer

Module indexer 

Source
Expand description

§Search Indexer Module

Provides Tantivy-based indexing for Rust documentation search.

§Key Components

  • SearchIndexer - Main indexer for creating and managing search indices
  • IndexFields - Schema definition for indexed fields

§Example

let storage = CacheStorage::new(None)?;
let mut indexer = SearchIndexer::new_for_crate("tokio", "1.35.0", &storage, None)?;
// Add crate items to index

Structs§

IndexFields
SearchIndexer
Tantivy-based search indexer for Rust documentation