Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBaseIndexProperties ¶
func NewBaseIndexProperties() *baseIndexProperties
Types ¶
type Mapping ¶
type Mapping struct {
Mappings Mappings `json:"mappings"`
}
func NewMapping ¶
func NewMapping(pt Properties) *Mapping
func (*Mapping) MappingToJsonString ¶
type Mappings ¶
type Mappings struct {
Properties Properties `json:"properties"`
}
type Properties ¶
type Properties interface {
SetProperties(title string, pt *PropertiesType)
}
type PropertiesType ¶
type PropertiesType struct {
Type string `json:"type"`
}
Click to show internal directories.
Click to hide internal directories.