elasticsearch

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBadConfig = errors.New("elasticsearch : Config file is misconfigured, check elasticsearch key format")

Functions

This section is empty.

Types

type ElasticSearchClient added in v0.6.0

type ElasticSearchClient struct {
	// contains filtered or unexported fields
}

func NewElasticSearchClient added in v0.6.0

func NewElasticSearchClient(addr string, port string, maxConns int, retrySeconds int, bulkMaxDocs int) (*ElasticSearchClient, error)

func NewElasticSearchClientFromConfig added in v0.8.0

func NewElasticSearchClientFromConfig() (*ElasticSearchClient, error)

func (*ElasticSearchClient) Delete added in v0.6.0

func (*ElasticSearchClient) Get added in v0.6.0

func (*ElasticSearchClient) Index added in v0.6.0

func (c *ElasticSearchClient) Index(obj string, id string, data interface{}) error

func (*ElasticSearchClient) IndexChild added in v0.6.0

func (c *ElasticSearchClient) IndexChild(obj string, parent string, id string, data interface{}) error

func (*ElasticSearchClient) Search added in v0.6.0

func (c *ElasticSearchClient) Search(obj string, query string) (elastigo.SearchResult, error)

func (*ElasticSearchClient) Start added in v0.6.0

func (c *ElasticSearchClient) Start(mappings []map[string][]byte)

func (*ElasticSearchClient) Started added in v0.6.0

func (c *ElasticSearchClient) Started() bool

func (*ElasticSearchClient) Stop added in v0.6.0

func (c *ElasticSearchClient) Stop()

func (*ElasticSearchClient) Update added in v0.8.0

func (c *ElasticSearchClient) Update(obj string, id string, data interface{}) error

func (*ElasticSearchClient) UpdateWithPartialDoc added in v0.8.0

func (c *ElasticSearchClient) UpdateWithPartialDoc(obj string, id string, data interface{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL