luci/core/mod.rs
1// Obsidian [[wikilinks]] in doc comments are intentional — they link to
2// design and reference docs in docs/. Rustdoc doesn't understand them.
3#![allow(rustdoc::broken_intra_doc_links)]
4
5//! `luci-core` — shared types, traits, and error handling for Luci.
6//!
7//! This crate is the foundation of the Luci workspace. Every other crate
8//! depends on it. It contains no business logic — only type definitions,
9//! trait interfaces, and error types.
10//!
11//! See [[architecture-overview]] for the crate dependency graph.
12
13mod doc_id;
14mod error;
15mod field_id;
16mod score;
17mod scorer;
18mod segment_id;
19
20pub use doc_id::{DocId, NO_MORE_DOCS};
21pub use error::{LuciError, Result};
22pub use field_id::FieldId;
23pub use score::ScoreMode;
24pub use scorer::{Scorer, TwoPhaseIterator};
25pub use segment_id::SegmentId;