Documentation ¶
Index ¶
- func BoolRender(b *Bool) string
- func GetAgg(name string, m map[string]any) []any
- func GetAggAsStrings(name string, m map[string]any) []string
- func GetAggLogic(name string, m map[string]any) []any
- func Many(index, field, value string) []map[string]any
- func SingleId(index, id string) map[string]any
- func SingleUpsert(index, id string, m map[string]any)
- type Agg
- type Bool
- type BoolProvider
- type Item
- type ItemProvider
- type Operation
- type Query
- type Roll
- func (r *Roll) Exec() []map[string]any
- func (r *Roll) ExtractHits(m map[string]any) []map[string]any
- func (r *Roll) ExtractHitsNeed(m map[string]any, need int) []map[string]any
- func (r *Roll) ExtractHitsWithout(m map[string]any, dupMap map[string]bool) []map[string]any
- func (r *Roll) GetAgg(name string, m map[string]any) []any
- func (r *Roll) GetAggAsStrings(name string, m map[string]any) []string
- func (r *Roll) MakeNetworkPost(jsonString string) map[string]any
- func (r *Roll) MakeNetworkPut(id, jsonString string) map[string]any
- func (r *Roll) NewAgg(name, field string) *Agg
- func (r *Roll) NewBool() *Bool
- func (r *Roll) NewQuery(b *Bool) *Query
- type Sort
- type Upsert
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolRender ¶
func SingleUpsert ¶
Types ¶
type BoolProvider ¶
type ItemProvider ¶
type ItemProvider interface {
Render() string
}
type Operation ¶
func NewOperation ¶
type Query ¶
type Roll ¶
func (*Roll) ExtractHitsNeed ¶
func (*Roll) ExtractHitsWithout ¶
func (*Roll) GetAggAsStrings ¶
type Sort ¶
func DistanceSort ¶
Click to show internal directories.
Click to hide internal directories.