esconst

package
v1.0.1-rel-02 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AggSign_COUNT = "count"
	AggSign_MAX   = "max"
	AggSign_MIN   = "min"
	AggSign_AVG   = "avg"
	AggSign_SUM   = "sum"
	AggSign_STATS = "stats"

	MAX_ES_RECORD_NUMBER = 10000
)
View Source
const (
	//BoolType命令
	Must    CMDTYPE = base.EsTypeMust
	MustNot CMDTYPE = base.EsTypeMustNot
	Should  CMDTYPE = base.EsTypeShould
	Filter  CMDTYPE = base.EsTypeFilter

	CMD_TYPE_NONE CMDTYPE = iota

	ES_CMD_CATEGORY_QUERY = iota
	ES_CMD_CATEGORY_AGGREGATE
	ES_CMD_CATEGORY_CMD
	ES_CMD_CATEGORY_KEYWORD
	ES_CMD_CATEGORY_METADATA

	ES_CMD_TYPE_QUERY
	ES_CMD_TYPE_UPSERT
	ES_CMD_TYPE_DOCASUPSERT
	ES_CMD_TYPE_UPDATE
	ES_CMD_TYPE_UPDATEBYQUERY
	ES_CMD_TYPE_BULKUPDATE
	ES_CMD_TYPE_DELETE
	ES_CMD_TYPE_DELETEBYQUERY
	ES_CMD_TYPE_BULKDELETE
	ES_CMD_TYPE_BULKDOCASUPSERT

	ES_METADATA_CREATEINDEX
	ES_METADATA_CREATEALIAS
	ES_METADATA_DROPINDEX
	ES_METADATA_INDEXEXISTS
	ES_METADATA_GETMAPPING
	ES_METADATA_MAPPINGS
	ES_METADATA_SETTINGS
	ES_METADATA_ALIASES
	ES_METADATA_MAPPINGS_SETTINGS
	ES_METADATA_MAPPINGS_ALIASES

	ES_CMD_TYPE_KEYWORD

	ES_QUERY_TYPE_QUERY
	ES_QUERY_TYPE_GET
	ES_QUERY_TYPE_SEARCH
	ES_QUERY_TYPE_SCROLL
	ES_CMD_TYPE_KEYWORD_IK
	ES_CMS_TYPE_KEYWORD_JIEBA

	ES_HTTPCLI_CATEGORY
	ES_HTTPCLI_QUERY
	ES_HTTPCLI_QUERY_SOURCE
	ES_QUERY_TYPE_EXISTS_ID
	ES_CMD_TYPE_INSERT_IF_NOTEXISTS
	ES_CMD_TYPE_BULKINDEX

	ES_CMD_TYPE_BULKCREATE
	ES_CMD_TYPE_BULKSCRIPTUPSERT
)
View Source
const (
	IK_SMART    = "ik_smart"
	IK_MAX_WORD = "ik_max_word"
	IK_ICHUB    = "ichub"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BoolType

type BoolType int

嵌套4层结构体,分别表示命令类型、命令分类、命令子类型、查询类型。

type CMDTYPE

type CMDTYPE int

func (CMDTYPE) String

func (c CMDTYPE) String() string

定义 ChipType 类型的方法 String(), 返回字符串。

Jump to

Keyboard shortcuts

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