pub struct IndexKeyText {
pub case_sensitive: bool,
pub alias: Option<String>,
pub chn: bool,
pub token: Vec<String>,
pub doc_value: bool,
}Expand description
Text field index configuration.
Configures indexing for text-type fields with full-text search capabilities.
Fields§
§case_sensitive: boolWhether the search is case-sensitive
alias: Option<String>Field alias for display
chn: boolWhether to enable Chinese word segmentation
token: Vec<String>List of delimiter tokens for tokenization
doc_value: boolWhether to enable doc value for analytics
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IndexKeyText
impl<'de> Deserialize<'de> for IndexKeyText
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
Auto Trait Implementations§
impl Freeze for IndexKeyText
impl RefUnwindSafe for IndexKeyText
impl Send for IndexKeyText
impl Sync for IndexKeyText
impl Unpin for IndexKeyText
impl UnwindSafe for IndexKeyText
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