Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMapping ¶
func GetMapping(bin []byte) (mapping.TypeMapping, error)
Types ¶
type FetchDocResult ¶
type FetchDocResult struct { ResponseBase Found bool `json:"found"` Source_ json.RawMessage `json:"_source"` }
type Helper ¶
type Helper struct {
Client *elasticsearch.Client
}
func (*Helper) CreateRandomIndex ¶
func (h *Helper) CreateRandomIndex(settingsJson []byte) (*IndexHelper, error)
type IndexHelper ¶
func (*IndexHelper) Delete ¶
func (h *IndexHelper) Delete() error
Delete deletes the index pointed by h.
type IndexResult ¶
type IndexResult struct { ResponseBase Result string `json:"result"` Shards_ Shards `json:"_shards"` }
type ResponseBase ¶
Click to show internal directories.
Click to hide internal directories.