es

package
v0.214.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToElasticFieldSort

func ToElasticFieldSort(sortBy string, resolver contactql.Resolver) (elastic.Sort, error)

ToElasticFieldSort returns the elastic FieldSort for the passed in sort by string

func ToElasticQuery

func ToElasticQuery(env envs.Environment, mapper AssetMapper, query *contactql.ContactQuery) elastic.Query

ToElasticQuery converts a contactql query to an Elastic query

Types

type AssetMapper added in v0.155.0

type AssetMapper interface {
	Flow(assets.Flow) int64
	Group(assets.Group) int64
}

AssetMapper is used to map engine assets to however ES identifies them

Jump to

Keyboard shortcuts

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