elasticsearch

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Query

func Query(opts *ESQueryOptions) ([]byte, error)

Types

type Document

type Document struct {
	ID     string           `json:"_id"`
	Type   string           `json:"_type"`
	Source *json.RawMessage `json:"_source"`
}

type ESQueryOptions

type ESQueryOptions struct {
	Host  string
	Index string
	Types []string
	Sort  string
	Size  int
}

Jump to

Keyboard shortcuts

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