Skip to main content

ecp_core/
format.rs

1//! The on-disk index format's version, and the arrays a version 1 index holds.
2
3/// The format version this build writes to `info/format_version` and reads.
4pub const FORMAT_VERSION: u32 = 1;
5
6/// The arrays every version 1 index holds besides `info/format_version`.
7/// `info/is_normalized` is optional, so it is not listed.
8pub(crate) const V1_ARRAYS: [&str; 6] = [
9    "/info/levels",
10    "/info/metric",
11    "/info/total_items",
12    "/info/next_item_id",
13    "/rep_item_ids",
14    "/index_root/embeddings",
15];