// SPDX-License-Identifier: Apache-2.0

// Numeric field-ID constants for the TextFields wire format.
//
// IDs are assigned sequentially starting at 1. Deleted fields are tombstoned:
// the ID is never recycled. Add a comment `// ID N: TOMBSTONE — <name> deleted
// <date>` to mark retired IDs.

pub(super) const FID_AUTH: u16 = 1;
pub(super) const FID_SQL: u16 = 2;
pub(super) const FID_KEY: u16 = 3;
pub(super) const FID_VALUE: u16 = 4;
pub(super) const FID_COLLECTION: u16 = 5;
pub(super) const FID_DOCUMENT_ID: u16 = 6;
pub(super) const FID_DATA: u16 = 7;
pub(super) const FID_QUERY_VECTOR: u16 = 8;
pub(super) const FID_TOP_K: u16 = 9;
pub(super) const FID_FIELD: u16 = 10;
pub(super) const FID_LIMIT: u16 = 11;
pub(super) const FID_DELTA: u16 = 12;
pub(super) const FID_PEER_ID: u16 = 13;
pub(super) const FID_VECTOR_TOP_K: u16 = 14;
pub(super) const FID_EDGE_LABEL: u16 = 15;
pub(super) const FID_DIRECTION: u16 = 16;
pub(super) const FID_EXPANSION_DEPTH: u16 = 17;
pub(super) const FID_FINAL_TOP_K: u16 = 18;
pub(super) const FID_VECTOR_K: u16 = 19;
pub(super) const FID_GRAPH_K: u16 = 20;
pub(super) const FID_VECTOR_FIELD: u16 = 21;
pub(super) const FID_START_NODE: u16 = 22;
pub(super) const FID_END_NODE: u16 = 23;
pub(super) const FID_DEPTH: u16 = 24;
pub(super) const FID_FROM_NODE: u16 = 25;
pub(super) const FID_TO_NODE: u16 = 26;
pub(super) const FID_EDGE_TYPE: u16 = 27;
pub(super) const FID_PROPERTIES: u16 = 28;
pub(super) const FID_QUERY_TEXT: u16 = 29;
pub(super) const FID_VECTOR_WEIGHT: u16 = 30;
pub(super) const FID_FUZZY: u16 = 31;
pub(super) const FID_EF_SEARCH: u16 = 32;
pub(super) const FID_FIELD_NAME: u16 = 33;
pub(super) const FID_LOWER_BOUND: u16 = 34;
pub(super) const FID_UPPER_BOUND: u16 = 35;
pub(super) const FID_MUTATION_ID: u16 = 36;
pub(super) const FID_VECTORS: u16 = 37;
pub(super) const FID_DOCUMENTS: u16 = 38;
pub(super) const FID_QUERY_GEOMETRY: u16 = 39;
pub(super) const FID_SPATIAL_PREDICATE: u16 = 40;
pub(super) const FID_DISTANCE_METERS: u16 = 41;
pub(super) const FID_PAYLOAD: u16 = 42;
pub(super) const FID_FORMAT: u16 = 43;
pub(super) const FID_TIME_RANGE_START: u16 = 44;
pub(super) const FID_TIME_RANGE_END: u16 = 45;
pub(super) const FID_BUCKET_INTERVAL: u16 = 46;
pub(super) const FID_TTL_MS: u16 = 47;
pub(super) const FID_CURSOR: u16 = 48;
pub(super) const FID_MATCH_PATTERN: u16 = 49;
pub(super) const FID_KEYS: u16 = 50;
pub(super) const FID_ENTRIES: u16 = 51;
pub(super) const FID_FIELDS: u16 = 52;
pub(super) const FID_INCR_DELTA: u16 = 53;
pub(super) const FID_INCR_FLOAT_DELTA: u16 = 54;
pub(super) const FID_EXPECTED: u16 = 55;
pub(super) const FID_NEW_VALUE: u16 = 56;
pub(super) const FID_INDEX_NAME: u16 = 57;
pub(super) const FID_SORT_COLUMNS: u16 = 58;
pub(super) const FID_KEY_COLUMN: u16 = 59;
pub(super) const FID_WINDOW_TYPE: u16 = 60;
pub(super) const FID_WINDOW_TIMESTAMP_COLUMN: u16 = 61;
pub(super) const FID_WINDOW_START_MS: u16 = 62;
pub(super) const FID_WINDOW_END_MS: u16 = 63;
pub(super) const FID_TOP_K_COUNT: u16 = 64;
pub(super) const FID_SCORE_MIN: u16 = 65;
pub(super) const FID_SCORE_MAX: u16 = 66;
pub(super) const FID_UPDATES: u16 = 67;
pub(super) const FID_FILTERS: u16 = 68;
pub(super) const FID_VECTOR: u16 = 69;
pub(super) const FID_VECTOR_ID: u16 = 70;
pub(super) const FID_POLICY: u16 = 71;
pub(super) const FID_ALGORITHM: u16 = 72;
pub(super) const FID_MATCH_QUERY: u16 = 73;
pub(super) const FID_ALGO_PARAMS: u16 = 74;
pub(super) const FID_INDEX_PATHS: u16 = 75;
pub(super) const FID_SOURCE_COLLECTION: u16 = 76;
pub(super) const FID_FIELD_POSITION: u16 = 77;
pub(super) const FID_BACKFILL: u16 = 78;
pub(super) const FID_M: u16 = 79;
pub(super) const FID_EF_CONSTRUCTION: u16 = 80;
pub(super) const FID_METRIC: u16 = 81;
pub(super) const FID_INDEX_TYPE: u16 = 82;
pub(super) const FID_DATABASE: u16 = 83;
pub(super) const FID_SQL_PARAMS: u16 = 84;
