Converts an internal search query represented as models.Facets to an elasticsearch query.
Converts an internal search query represented as models.Facets to an elasticsearch query.
the internal search query.
the number of documents to return for the given request. Pass 0, if only interested in aggregation.
the data source index or database name to query.
the elasticsearch client.
an elasticsearch query builder.
Elasticsearch field storing the document content.
Elasticsearch field storing the document creation date.
Elasticsearch field storing the time expression occurring in the document.
Elasticsearch field for running aggregation queries using entity ids.
Elasticsearch fields for running aggregation queries using entity ids from separate entity types.
Executes the given search request.
Elasticsearch field for running aggregation queries using document keywords.
Common helper to create and parse elasticsearch queries. Further provides elasticsearch field mappings.