FtInfoResult

Struct FtInfoResult 

Source
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: 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: u64

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

The number of times the index has been used.

§cleaning: bool

The 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

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for FtInfoResult

Source§

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§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<'de, T> Response for T
where T: Deserialize<'de>,