class Meilisearch::Crystal::Indexes

Overview

Index lifecycle, listing, and lookup operations.

Defined in:

meilisearch/crystal/indexes.cr

Instance Method Summary

Instance methods inherited from class Meilisearch::Crystal::API

client : Client client, http(*args, **options)
http(*args, **options, &)
http

Constructor methods inherited from class Meilisearch::Crystal::API

new(client : Client) new

Macros inherited from class Meilisearch::Crystal::API

pass(*methods) pass

Instance Method Detail

def create(uid : String, primary_key : String | Nil = nil) : TaskResult #

[View source]
def create!(uid : String, primary_key : String | Nil = nil, timeout : Time::Span | Nil = nil, poll_interval : Time::Span = 100.milliseconds) : Index #

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

[View source]
def get(uid : String) : Index #

[View source]
def get?(uid : String) : Index | Nil #

[View source]
def list(offset : Int32 | Nil = nil, limit : Int32 | Nil = nil) : List(Index) #

[View source]
def swap(first_uid : String, second_uid : String) : TaskResult #

[View source]
def swap(pairs : Enumerable(Tuple(String, String))) : TaskResult #

[View source]
def update(uid : String, primary_key : String | Nil = nil, new_uid : String | Nil = nil) : TaskResult #

[View source]