Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
Connection is a
func Connect ¶
func Connect(url string) (*Connection, error)
Connect returns a Connection to an Elasticsearch endpoint
func (*Connection) Ping ¶
func (con *Connection) Ping() bool
Ping queries the ES cluster as a simple health check
func (*Connection) TermQuery ¶
func (con *Connection) TermQuery(option TermQueryOptions) interface{}
Click to show internal directories.
Click to hide internal directories.