참조 · API
Rust API
`kfind` facade는 안정 engine·matcher·resource 계약을 제공하고 내부 계획 실험은 expert module로 분리합니다.
안정 facade
Crate root는 Engine, Matcher, ResourceBundle, compile option, error와 match provenance type을 노출합니다. 이 surface가 1.x 호환 계약입니다.
Matcher는 UTF-8 byte slice를 검색하고 파일 순회·인코딩·출력을 수행하지 않습니다.
resource 초기화
Engine::with_resources는 선택적 full POS, enriched predicate와 component를 한 profile로 검증합니다. Engine::new는 embedded profile입니다.
Component 교체는 load_component_resource가 전체 검증 뒤 적용하며 실패하면 기존 resource를 유지합니다.
expert API
kfind::expert는 caller-configured Lexicons, QueryPlan과 matcher plan 접근을 제공합니다.
Expert type은 root facade 인자나 반환값에 나타나지 않으며 1.x 안정 계약에 포함되지 않습니다.