struct Elasticsearch::BulkAction(T)

Defined in:

documents.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(doc : T, type : BulkActionType = :create, index : Nil | String = nil, id : Nil | String = nil) #

[View source]

Instance Method Detail

def doc : T | Nil #

[View source]
def id : String | Nil #

[View source]
def index : String | Nil #

[View source]
def to_s(io : IO) : Nil #
Description copied from struct Struct

Same as #inspect(io).


[View source]
def type : BulkActionType #

[View source]