class Meilisearch::Document

Included Modules

Defined in:

meilisearch/methods/core/documents/add_or_replace_document.cr
meilisearch/methods/core/documents/add_or_update_document.cr
meilisearch/methods/core/documents/delete_all_documents.cr
meilisearch/methods/core/documents/delete_by_batch.cr
meilisearch/methods/core/documents/delete_single_document.cr
meilisearch/objects/core/document.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

[View source]

Class Method Detail

def self.add_or_replace(index_uid : String, document_body : Array(Hash(String, Int32 | String))) : TaskStatus #

[View source]
def self.add_or_update(index_uid : String, document_body : Array(Hash(String, Int32 | String))) : TaskStatus #

[View source]
def self.delete_all(index_uid : String) : Bool forall T, U #

[View source]
def self.delete_by_batch(index_uid : String, document_id : Array(Int32)) : Bool forall T, U #

[View source]
def self.delete_single_document(index_uid : String, document_id : Int32) : Bool forall T, U #

[View source]
def self.list_with_index_uid(index_uid : String, uid : String | Nil = nil) : List(Meilisearch::Document) #

[View source]
def self.retrieve_with_index_uid(uid : String, id : Int32) #

[View source]
def self.retrieve_with_index_uid(document : Meilisearch::Document) #

[View source]

Instance Method Detail

def id : Int32 | Nil #

[View source]