Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRepository ¶
func NewRepository(esClient *elastic.Client) *repository
Types ¶
type ElasticQuery ¶
type ElasticQuery struct { Index string Query *elastic.BoolQuery SortInfo elastic.SortInfo From int Size int }
ElasticQuery struct
func CreateSearchQuery ¶
func CreateSearchQuery(q map[string]string) *ElasticQuery
type Repository ¶
Click to show internal directories.
Click to hide internal directories.