Struct rustis::commands::FtInfoResult
source · pub struct FtInfoResult {Show 27 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: String,
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 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 gc_stats: FtGcStats,
pub cursor_stats: FtCursorStats,
pub stopwords_list: Vec<String>,
}Available on crate feature
redis-search only.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: StringMax 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§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: usize§gc_stats: FtGcStats§cursor_stats: FtCursorStats§stopwords_list: Vec<String>if a custom stopword list is used.