Documentation ¶
Index ¶
- type EsIndexMetadata
- func (this *EsIndexMetadata) AddField(name, Type string)
- func (this *EsIndexMetadata) SetIndexName(index string)
- func (this *EsIndexMetadata) ToMapProp() map[string]any
- func (this *EsIndexMetadata) ToMapping() map[string]any
- func (this *EsIndexMetadata) ToMappingStr() string
- func (this *EsIndexMetadata) ToMappings() map[string]any
- type Fields
- type Keyword
- type MappingField
- type PropertiesDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EsIndexMetadata ¶
type EsIndexMetadata struct { IndexName string `json:"index_name"` Properties PropertiesDto `json:"properties"` }
func NewIndexMetadata ¶
func NewIndexMetadata() *EsIndexMetadata
func (*EsIndexMetadata) AddField ¶
func (this *EsIndexMetadata) AddField(name, Type string)
func (*EsIndexMetadata) SetIndexName ¶
func (this *EsIndexMetadata) SetIndexName(index string)
func (*EsIndexMetadata) ToMapProp ¶
func (this *EsIndexMetadata) ToMapProp() map[string]any
func (*EsIndexMetadata) ToMapping ¶
func (this *EsIndexMetadata) ToMapping() map[string]any
func (*EsIndexMetadata) ToMappingStr ¶
func (this *EsIndexMetadata) ToMappingStr() string
func (*EsIndexMetadata) ToMappings ¶
func (this *EsIndexMetadata) ToMappings() map[string]any
type MappingField ¶
func NewMappingField ¶
func NewMappingField() *MappingField
type PropertiesDto ¶
type PropertiesDto map[string]*MappingField
Click to show internal directories.
Click to hide internal directories.