esopensearch

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkBody

type BulkBody struct {
	*bytes.Buffer
}

func (*BulkBody) CreateOp

func (b *BulkBody) CreateOp(doc []byte, params BulkOp) error

func (*BulkBody) IndexOp

func (b *BulkBody) IndexOp(doc []byte, params BulkOp) error

type BulkOp

type BulkOp struct {
	Index   string `json:"_index"`
	Id      string `json:"_id"`
	Routing string `json:"routing,omitempty"`
}

type CreateOp

type CreateOp struct {
	Create BulkOp `json:"create"`
}

type IndexOp

type IndexOp struct {
	Index BulkOp `json:"index"`
}

Jump to

Keyboard shortcuts

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