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: String

Name of the index

§index_options: Vec<String>

index creation options without paramater

§index_definition: FtIndexDefinition

index creation options with a paramater

§attributes: Vec<FtIndexAttribute>

index attributes

§num_docs: usize

Number of documents.

§max_doc_id: String

Max document id

§num_terms: usize

Number 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: usize

number of failures due to operations not compatible with index schema.

§total_indexing_time: f64§indexing: bool

whether of not the index is being scanned in the background.

§percent_indexed: f64

progress 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.

Trait Implementations§

Formats the value using the given formatter. Read more
Converts to this type from the input Value. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more