class Meilisearch::Index

Included Modules

Defined in:

meilisearch/methods/core/indexes/create_index.cr
meilisearch/methods/core/indexes/swap_indexes.cr
meilisearch/methods/core/indexes/update_index.cr
meilisearch/objects/core/index.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

[View source]

Class Method Detail

def self.create(uid : String, primaryKey : String) : TaskStatus #

[View source]
def self.delete(uid : String) #

[View source]
def self.delete(index : Meilisearch::Index) #

[View source]
def self.list(uid : String | Nil = nil) : List(Meilisearch::Index) #

[View source]
def self.retrieve(uid : String) #

[View source]
def self.retrieve(index : Meilisearch::Index) #

[View source]
def self.swap_indexes(index_pair : Array(NamedTuple(indexes: Array(String)))) : TaskStatus #

[View source]
def self.update(index : String | Index, primaryKey : String) : TaskStatus #

[View source]

Instance Method Detail

def createdAt : String | Nil #

[View source]
def primaryKey : String | Nil #

[View source]
def uid : String | Nil #

[View source]
def updatedAt : String | Nil #

[View source]