pub enum FieldType {
Text,
Keyword,
U64,
Date,
I64,
F64,
Bool,
Nested,
Vector {
format_version: u16,
field_id: VectorFieldId,
dimensions: u16,
metric: VectorMetric,
element_type: DenseVectorElementType,
quantization_scale: Option<VectorQuantizationScale>,
},
SparseVector {
format_version: u16,
field_id: VectorFieldId,
maximum_dimension: u32,
weight_type: SparseVectorWeightType,
},
VectorSet {
format_version: u16,
field_id: VectorFieldId,
dimensions: u16,
metric: VectorMetric,
element_type: DenseVectorElementType,
quantization_scale: Option<VectorQuantizationScale>,
maximum_vectors: u16,
},
}Expand description
Mapping types admitted by the native mapping model.
Variants§
Text
Keyword
U64
Date
Unsigned epoch milliseconds stored in the existing u64 fast column.
I64
F64
Bool
Nested
Object-correlation boundary reserved by format 4. EC6 owns physical nested rows and makes this field kind externally reachable.
Vector
Immutable vector values live in a manifest-rooted segment sidecar, not in Tantivy. The catalog mapping remains their sole field authority.
Fields
§
field_id: VectorFieldId§
metric: VectorMetric§
element_type: DenseVectorElementType§
quantization_scale: Option<VectorQuantizationScale>SparseVector
Sparse numeric dimensions are explicit and immutable. No string feature hashing or dictionary authority exists inside the engine.
VectorSet
A bounded set of same-shaped dense vectors scored by the versioned late-interaction MaxSim contract. The exact source object is authority.
Fields
§
field_id: VectorFieldId§
metric: VectorMetric§
element_type: DenseVectorElementType§
quantization_scale: Option<VectorQuantizationScale>Trait Implementations§
impl Copy for FieldType
Source§impl<'de> Deserialize<'de> for FieldType
impl<'de> Deserialize<'de> for FieldType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FieldType
impl StructuralPartialEq for FieldType
Auto Trait Implementations§
impl Freeze for FieldType
impl RefUnwindSafe for FieldType
impl Send for FieldType
impl Sync for FieldType
impl Unpin for FieldType
impl UnsafeUnpin for FieldType
impl UnwindSafe for FieldType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more