struct SearchIngest::Schemas::Field

Defined in:

search-ingest/schemas.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, type : String, fields : Array(String) | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #

[View source]
def clone #

[View source]
def copy_with(name _name = @name, type _type = @type, fields _fields = @fields) #

[View source]
def field_mapping #

Represents the mapping of this field in an Elasticsearch schema


[View source]
def fields : Array(String) | Nil #

def name : String #

def type : String #