es

package
v0.220.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToElasticQuery

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

ToElasticQuery converts a contactql query to an Elastic query

func ToElasticSort added in v0.214.1

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

ToElasticSort returns the elastic sort for the passed in sort by string

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