package
0.0.0-20190422025920-beccf3fe4313
Repository: https://github.com/changwh/go-common.git
Documentation: pkg.go.dev

# Functions

NewElastic .

# Constants

EnhancedModeDistinct distinct mode.
EnhancedModeGroupBy group by mode.
EnhancedModeSum sum mode.
IndexTypeDay index by day.
IndexTypeMonth index by month.
IndexTypeWeek index by week.
IndexTypeYear index by year.
LikeLevelHigh wildcard keyword.
LikeLevelLow match split word.
LikeLevelMiddle ngram(1,2).
NotTypeEq not type eq.
NotTypeIn not type in.
NotTypeRange not type range.
OrderAsc order ascend.
OrderDesc order descend.
RangeScopeLcRc lect close & right close.
RangeScopeLcRo left close & right open.
RangeScopeLoRc left open & right close.
RangeScopeLoRo left open & right open.

# Structs

Combo mix eq & in & range.
Config Elastic config.
Elastic clastic instance.
Request request to elastic.
Update elastic upsert.