1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! Full-text search engine for Ox Content.
//!
//! This crate provides a lightweight, high-performance full-text search engine
//! for Markdown documents processed by Ox Content.
//!
//! # Features
//!
//! - TF-IDF based scoring for relevance ranking
//! - Multi-field search (title, body, headings, code)
//! - Prefix matching for autocomplete
//! - Serializable index for build-time generation
//!
//! # Example
//!
//! ```ignore
//! use ox_content_search::{SearchIndex, SearchIndexBuilder, SearchOptions};
//!
//! // Build index at build time
//! let mut builder = SearchIndexBuilder::new();
//! builder.add_document("getting-started", "Getting Started", "Welcome to the docs...");
//! let index = builder.build();
//!
//! // Serialize for client-side use
//! let json = index.to_json();
//!
//! // Search at runtime
//! let results = index.search("getting started", &SearchOptions::default());
//! ```
pub use ;
pub use DocumentIndexer;
pub use ;