designation_index/lib.rs
1// SPDX-FileCopyrightText: Cadasto B.V.
2// SPDX-License-Identifier: BUSL-1.1
3
4//! The designation search index.
5//!
6//! An `fst` map over designation word tokens plus roaring posting bitmaps per
7//! word, with language, designation-use, language-reference-set, and status
8//! filters as bitmaps, sorted by term length then designation ordinal. This
9//! is the `$expand` `filter` and `$find-matches` engine for every loaded
10//! code system. No spec governs the index format: our own design
11//! (`docs/architecture.md` §Text search).
12#![doc(test(attr(deny(warnings))))]
13
14pub mod index;
15pub mod persist;
16pub mod tokenize;