struct Meilisearch::Crystal::Index::Stats

Overview

Shape returned by the index stats endpoint.

Defined in:

meilisearch/crystal/index.cr

Constructors

Instance Method Summary

Constructor methods inherited from struct Meilisearch::Crystal::Resource

new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new

Macros inherited from struct Meilisearch::Crystal::Resource

define(name, &block) define, field(declaration) field, field!(declaration) field!, field?(declaration) field?

Constructor Detail

def self.new(pull : JSON::PullParser) #

Shape returned by the index stats endpoint.


[View source]

Instance Method Detail

def avg_document_size : Int64 | Nil #

def field_distribution : Hash(String, Int64) #

def is_indexing : Bool #

def number_of_documents : Int64 #

def number_of_embedded_documents : Int64 | Nil #

def number_of_embeddings : Int64 | Nil #

def raw_document_db_size : Int64 | Nil #