base

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: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EsTypeMust = iota
	EsTypeMustNot
	EsTypeShould
	EsTypeFilter
)

@Title 文件名称: page_consts.go @Description 描述: PageConsts

@Author 作者: leijianming@163.com 时间(2024-02-21 22:38:21) @Update 作者: leijianming@163.com 时间(2024-02-21 22:38:21)

View Source
const (
	Eq = iota
	Ne
	Ge
	Gt
	Le
	Lt
	In
	Like
	Between
	NotIn
	NotLike
	NotBetween
	//	es
	EsFuzzy
	EsTerm
	EsTerms

	EsId
	EsIds
	EsMatch
	EsMatchAll
	EsMatchPhrase
	EsMatchPhrasePrefix
	EsPrefix
	EsWildcard
	EsRange
	EsRegexp
	EsExistQuery

	IsNull
	IsNotNull
	EsMoreLike
	EsRangeGe
	EsRangeGt
	EsRangeLe
	EsRangeLt
)

Variables

View Source
var OpSign = map[int]FieldSign{
	Eq: "=",
	Ne: "!=",
	Ge: ">=",
	Gt: ">",
	Le: "<=",
	Lt: "<",

	In:         "in",
	Like:       "like",
	Between:    "between",
	NotIn:      "not in",
	NotLike:    "not like",
	NotBetween: "not between",

	EsFuzzy:             "fuzzy",
	EsTerm:              "term",
	EsTerms:             "terms",
	EsId:                "id",
	EsIds:               "ids",
	EsMatch:             "match",
	EsMatchAll:          "match-all",
	EsMatchPhrase:       "match-phrase",
	EsMatchPhrasePrefix: "match-phrase-prefix",
	EsPrefix:            "prefix",
	EsWildcard:          "wildcard",
	EsRange:             "range",
	EsRegexp:            "regexp",
	EsExistQuery:        "existquery",
	IsNull:              "IsNull",
	IsNotNull:           "IsNotNUll",
	EsMoreLike:          "EsMoreLike",
	EsRangeGe:           "EsRangeGe",
	EsRangeGt:           "EsRangeGt",
	EsRangeLe:           "EsRangeLe",
	EsRangeLt:           "EsRangeLt",
}

Functions

This section is empty.

Types

type FieldSign

type FieldSign string

Jump to

Keyboard shortcuts

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