luci/mapping/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-mapping` — field types, mappings, and dynamic field detection.
6//!
7//! This crate defines how fields are indexed: which fields exist, what types
8//! they have, and how unknown fields are handled. Mappings are instructions
9//! to the indexing pipeline, not structural constraints on documents.
10//!
11//! See [[architecture-api-surface#Schema and Mappings]] for the full design.
12
13mod dynamic;
14mod field_type;
15mod mapping;
16mod mapping_def;
17mod quantization;
18
19pub use dynamic::detect_field_type;
20pub use field_type::FieldType;
21pub use mapping::FieldMapping;
22pub use mapping_def::{DynamicMode, Mapping, MappingBuilder};
23pub use quantization::QuantizationType;