class
Meilisearch::Crystal::Indexes
- Meilisearch::Crystal::Indexes
- Meilisearch::Crystal::API
- Reference
- Object
Overview
Index lifecycle, listing, and lookup operations.
Defined in:
meilisearch/crystal/indexes.crInstance Method Summary
- #create(uid : String, primary_key : String | Nil = nil) : TaskResult
- #create!(uid : String, primary_key : String | Nil = nil, timeout : Time::Span | Nil = nil, poll_interval : Time::Span = 100.milliseconds) : Index
- #delete(uid : String) : TaskResult
- #get(uid : String) : Index
- #get?(uid : String) : Index | Nil
- #list(offset : Int32 | Nil = nil, limit : Int32 | Nil = nil) : List(Index)
- #swap(first_uid : String, second_uid : String) : TaskResult
- #swap(pairs : Enumerable(Tuple(String, String))) : TaskResult
- #update(uid : String, primary_key : String | Nil = nil, new_uid : String | Nil = nil) : TaskResult
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, timeout : Time::Span | Nil = nil, poll_interval : Time::Span = 100.milliseconds) : Index
#
def update(uid : String, primary_key : String | Nil = nil, new_uid : String | Nil = nil) : TaskResult
#