Documentation ¶
Index ¶
- Variables
- func InjectTagsEs(s *TagsEs)
- func InjectTagsEsResult(s *TagsEsResult)
- func LoadTagsEs() baseiface.ISingleton
- func LoadTagsEsResult() baseiface.ISingleton
- func TagsWordAgg() *pagemodel.PageResult[*TagsEs]
- type TagsEs
- type TagsEsBatchUpdate
- type TagsEsBatchUpdateItem
- type TagsEsList
- type TagsEsMultiUpdate
- type TagsEsResult
Constants ¶
This section is empty.
Variables ¶
View Source
var TagsEsMapping = `` /* 1378-byte string literal not displayed */
Functions ¶
func InjectTagsEs ¶
func InjectTagsEs(s *TagsEs)
func InjectTagsEsResult ¶
func InjectTagsEsResult(s *TagsEsResult)
func LoadTagsEs ¶
func LoadTagsEs() baseiface.ISingleton
func LoadTagsEsResult ¶
func LoadTagsEsResult() baseiface.ISingleton
func TagsWordAgg ¶
func TagsWordAgg() *pagemodel.PageResult[*TagsEs]
Types ¶
type TagsEs ¶
type TagsEs struct { basedto.BaseEntityIndex Id int64 `json:"id"` Slug string `json:"slug"` TagType string `json:"tag_type"` ShopId int64 `json:"shop_id"` Name string `json:"name"` ObjectCount int64 `json:"object_count"` Approved bool `json:"approved"` CreatedBy int64 `json:"created_by"` CreatedAt int64 `json:"created_at"` UpdatedBy int64 `json:"updated_by"` UpdatedAt int64 `json:"updated_at"` DeletedBy int64 `json:"deleted_by"` DeletedAt int64 `json:"deleted_at"` }
标签
type TagsEsBatchUpdate ¶
type TagsEsBatchUpdate []*TagsEsBatchUpdateItem
type TagsEsBatchUpdateItem ¶
type TagsEsList ¶
type TagsEsList []*TagsEs
func (*TagsEsList) Unmarshal ¶
func (l *TagsEsList) Unmarshal(data []byte) error
type TagsEsMultiUpdate ¶
type TagsEsMultiUpdate struct { TagsEs Ids []string `json:"Ids"` NewScript string NewScriptVals map[string]interface{} }
func (*TagsEsMultiUpdate) Docs ¶
func (r *TagsEsMultiUpdate) Docs() map[string]interface{}
func (*TagsEsMultiUpdate) IDs ¶
func (r *TagsEsMultiUpdate) IDs() []string
func (*TagsEsMultiUpdate) NewScriptInline ¶
func (r *TagsEsMultiUpdate) NewScriptInline() string
func (*TagsEsMultiUpdate) Unmarshal ¶
func (r *TagsEsMultiUpdate) Unmarshal(data []byte) error
type TagsEsResult ¶
type TagsEsResult struct { basedto.BaseEntity Domain struct { SumOtherDocCount int `json:"sum_other_doc_count"` Buckets []struct { Key string `json:"key"` DocCount int `json:"doc_count"` ObjectCount struct { Value float64 `json:"value"` } `json:"object_count"` } `json:"buckets"` DocCountErrorUpperBound int `json:"doc_count_error_upper_bound"` } `json:"domain"` }
func NewTagsEsResult ¶
func NewTagsEsResult() *TagsEsResult
func (*TagsEsResult) FromDataAgg ¶
func (self *TagsEsResult) FromDataAgg(dataAgg any) *TagsEsResult
Click to show internal directories.
Click to hide internal directories.