class Meilisearch::Document
- Meilisearch::Document
- Reference
- Object
Included Modules
- JSON::Serializable
- MeilisearchMethods
Defined in:
meilisearch/methods/core/documents/add_or_replace_document.crmeilisearch/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
- .add_or_replace(index_uid : String, document_body : Array(Hash(String, Int32 | String))) : TaskStatus
- .add_or_update(index_uid : String, document_body : Array(Hash(String, Int32 | String))) : TaskStatus
- .delete_all(index_uid : String) : Bool forall T, U
- .delete_by_batch(index_uid : String, document_id : Array(Int32)) : Bool forall T, U
- .delete_single_document(index_uid : String, document_id : Int32) : Bool forall T, U
- .list_with_index_uid(index_uid : String, uid : String | Nil = nil) : List(Meilisearch::Document)
- .retrieve_with_index_uid(uid : String, id : Int32)
- .retrieve_with_index_uid(document : Meilisearch::Document)
Instance Method Summary
Constructor Detail
Class Method Detail
def self.add_or_replace(index_uid : String, document_body : Array(Hash(String, Int32 | String))) : TaskStatus
#
def self.add_or_update(index_uid : String, document_body : Array(Hash(String, Int32 | String))) : TaskStatus
#
def self.delete_by_batch(index_uid : String, document_id : Array(Int32)) : Bool forall T, U
#
def self.delete_single_document(index_uid : String, document_id : Int32) : Bool forall T, U
#
def self.list_with_index_uid(index_uid : String, uid : String | Nil = nil) : List(Meilisearch::Document)
#