document

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ESActionDocument

type ESActionDocument struct {
	Routing   *string
	Type      EsAction
	IndexName string
	Source    []byte
	ID        []byte
}

func NewDeleteAction

func NewDeleteAction(key []byte, routing *string) ESActionDocument

func NewDeleteActionWithIndexName added in v1.1.61

func NewDeleteActionWithIndexName(indexName string, key []byte, routing *string) ESActionDocument

func NewDocUpdateAction added in v1.2.1

func NewDocUpdateAction(key []byte, source []byte, routing *string, partialIndexObjectName string) ESActionDocument

func NewDocUpdateActionWithIndexName added in v1.2.1

func NewDocUpdateActionWithIndexName(
	key []byte,
	source []byte,
	routing *string,
	indexName string,
	partialIndexObjectName string,
) ESActionDocument

func NewIndexAction

func NewIndexAction(key []byte, source []byte, routing *string) ESActionDocument

func NewIndexActionWithIndexName added in v1.1.61

func NewIndexActionWithIndexName(indexName string, key []byte, source []byte, routing *string) ESActionDocument

func NewScriptUpdateAction added in v1.2.1

func NewScriptUpdateAction(id []byte, script []byte, routing *string) ESActionDocument

func NewScriptUpdateActionWithIndexName added in v1.2.1

func NewScriptUpdateActionWithIndexName(id []byte, script []byte, routing *string, indexName string) ESActionDocument

type EsAction

type EsAction string
const (
	Index        EsAction = "Index"
	Delete       EsAction = "Delete"
	DocUpdate    EsAction = "DocUpdate"
	ScriptUpdate EsAction = "ScriptUpdate"
)

Jump to

Keyboard shortcuts

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