pub struct FtInfoResult {Show 33 fields
pub index_name: String,
pub index_options: Vec<String>,
pub index_definition: FtIndexDefinition,
pub attributes: Vec<FtIndexAttribute>,
pub num_docs: usize,
pub max_doc_id: u64,
pub num_terms: usize,
pub num_records: usize,
pub inverted_sz_mb: f64,
pub vector_index_sz_mb: f64,
pub total_inverted_index_blocks: usize,
pub offset_vectors_sz_mb: f64,
pub doc_table_size_mb: f64,
pub sortable_values_size_mb: f64,
pub key_table_size_mb: f64,
pub tag_overhead_sz_mb: f64,
pub text_overhead_sz_mb: f64,
pub total_index_memory_sz_mb: f64,
pub geoshapes_sz_mb: f64,
pub records_per_doc_avg: f64,
pub bytes_per_record_avg: f64,
pub offsets_per_term_avg: f64,
pub offset_bits_per_record_avg: f64,
pub hash_indexing_failures: usize,
pub total_indexing_time: f64,
pub indexing: bool,
pub percent_indexed: f64,
pub number_of_uses: usize,
pub cleaning: bool,
pub gc_stats: Option<FtGcStats>,
pub cursor_stats: Option<FtCursorStats>,
pub stopwords_list: Vec<String>,
pub dialect_stats: HashMap<String, usize>,
}Expand description
Result for the ft_info command
Fields§
§index_name: StringName of the index
index_options: Vec<String>index creation options without paramater
index_definition: FtIndexDefinitionindex creation options with a paramater
attributes: Vec<FtIndexAttribute>index attributes
num_docs: usizeNumber of documents.
max_doc_id: u64Max document id
num_terms: usizeNumber of distinct terms.
num_records: usize§inverted_sz_mb: f64§vector_index_sz_mb: f64§total_inverted_index_blocks: usize§offset_vectors_sz_mb: f64§doc_table_size_mb: f64§sortable_values_size_mb: f64§key_table_size_mb: f64§tag_overhead_sz_mb: f64§text_overhead_sz_mb: f64§total_index_memory_sz_mb: f64§geoshapes_sz_mb: f64§records_per_doc_avg: f64§bytes_per_record_avg: f64§offsets_per_term_avg: f64§offset_bits_per_record_avg: f64§hash_indexing_failures: usizenumber of failures due to operations not compatible with index schema.
total_indexing_time: f64§indexing: boolwhether of not the index is being scanned in the background.
percent_indexed: f64progress of background indexing (1 if complete).
number_of_uses: usizeThe number of times the index has been used.
cleaning: boolThe index deletion flag. A value of true indicates index deletion is in progress.
gc_stats: Option<FtGcStats>§cursor_stats: Option<FtCursorStats>§stopwords_list: Vec<String>if a custom stopword list is used.
dialect_stats: HashMap<String, usize>Trait Implementations§
Source§impl Debug for FtInfoResult
impl Debug for FtInfoResult
Source§impl<'de> Deserialize<'de> for FtInfoResult
impl<'de> Deserialize<'de> for FtInfoResult
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 FtInfoResult
impl RefUnwindSafe for FtInfoResult
impl Send for FtInfoResult
impl Sync for FtInfoResult
impl Unpin for FtInfoResult
impl UnwindSafe for FtInfoResult
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