Returns an Aggregations Terms map for the search Terms Aggregation Elasticsearch API.
Returns an Aggregations Terms map for the search Terms Aggregation Elasticsearch API.
String aggregation field.
Map of options to aggregate on.
Map of aggregation fields and any options.
Returns a map for using Elasticsearch's aggs mechanism.
Returns a map for using Elasticsearch's aggs mechanism.
for being included in the ES query.
a single Map with a top level "aggs" key.
Returns a map for making Bool queries using the Bool Elasticsearch API.
Returns a map for making Bool queries using the Bool Elasticsearch API.
Map or Seq of fields and values that must be matched.
Map or Seq of fields and values that should be matched. Threshold set by minimum_should_match parameter.
Map or Seq of fields and values.
Additional fields to include in Bool query, like minimum_should_match.
Map for using the Query Bool API.
Returns a map for making Boosting queries using the Boosting Elasticsearch API.
Returns a map for making Boosting queries using the Boosting Elasticsearch API.
Map containing the field and value to positively boost.
Map containing the field and value to negatively boost.
Value for negative boosting, set to 0.2.
Map for using the Query Boosting API.
Returns a map for making Dis Max Elasticsearch queries.
Returns a map for making Dis Max Elasticsearch queries. Dis Max returns the union of of documents retrieved from the subqueries.
Map representing subqueries.
Double tiebreaker parameter for favoring documents with preferred term usage.
Double boost parameter.
Combined map for making Dis Max queries.
Returns a map for using Elasticsearch's filter mechanism.
Returns a map for using Elasticsearch's filter mechanism.
for being included in the ES query.
a single Map with a top level "filter" key.
Returns a map for making filtered Elasticsearch queries.
Returns a map for making filtered Elasticsearch queries. Combines and matches on optional query ops and filter ops.
Map representing the query operation.
Map representing the filter operation.
Combined map for making filtered queries.
Returns a map for making Function Score Elastichsearch queries.
Returns a map for making Function Score Elastichsearch queries. This API requires the user to provide functions to score each document returned by the query.
Map representing the query operation.
Map representing the function score fields.
String representing how the new scores will be combined.
Combined map for making Function Score queries.
Returns a map of Geo Distance parameters for the Geo Distance Elasticsearch API.
Returns a map of Geo Distance parameters for the Geo Distance Elasticsearch API.
String field to serve as the center location.
String latitude value.
String longitude value.
String distance value.
Map of Geo Distance parameters.
Returns a map of Range buckets with String keys for the Range Aggregation Elasticsearch API.
Returns a map of Range buckets with String keys for the Range Aggregation Elasticsearch API. If neither a "to" nor "from" range are provided, returns None.
String key for the range bucket.
Double "from" range.
Double "to" range.
Map of keyed range buckets.
Returns a keyed Aggregation Range map for the Range Aggregation Elasticsearch API.
Returns a keyed Aggregation Range map for the Range Aggregation Elasticsearch API. Keyed parameter associates a unique string with each range bucket.
String field to aggregate on.
Sequences of map ranges to bucket.
Map of keyed range fields.
Returns a map for making Match All queries using the Match All Elasticsearch API.
Returns a map for making Match All queries using the Match All Elasticsearch API.
Map for using the Query Match All API.
Returns a map for making Match queries with the phrase_prefix option.
Returns a map for making Match queries with the phrase_prefix option.
String field to match.
String value for field.
Tuples of additional parameters to include in the query.
Map for using the Query Match API with phrase_prefix matching.
Returns a map for making match queries using the Match Elasticsearch API.
Returns a map for making match queries using the Match Elasticsearch API.
String field to match.
String value for field.
Tuples of additional parameters to include in the query.
Map for using the Query Match API.
Returns a map for making mutli match queries using the Multi Match Elasticsearch API.
Returns a map for making mutli match queries using the Multi Match Elasticsearch API.
Sequence of String fields to match.
String value for field.
Tuples of additional parameters to include in the query.
Map for using the Query Multi Match API.
Returns a map of filters for making Or queries using the Or Filter Elasticsearch API.
Returns a map of filters for making Or queries using the Or Filter Elasticsearch API.
Sequence of fields and values to filter on.
Map of filter for using the Or Filter API.
Returns a map for including a group of parameters in an Elasticsearch request.
Returns a map for including a group of parameters in an Elasticsearch request.
for being included in the ES query.
a single Map with a top level "params" key.
Returns a map for using Elasticsearch's post_filter mechanism.
Returns a map for using Elasticsearch's post_filter mechanism.
for being included in the ES query.
a single Map with a top level "post_filter" key.
Returns a map for making Prefix queries using the Prefix Elasticsearch API.
Returns a map for making Prefix queries using the Prefix Elasticsearch API.
String field to match.
String value for field.
Map for using the Query Prefix API.
Returns a map for making a general Elasticsearch query.
Returns a map for making a general Elasticsearch query.
for being included in the ES query.
a single Map with a top level "query" key.
Returns a map with a query string for use in the Query Elasticsearch API.
Returns a map with a query string for use in the Query Elasticsearch API.
String query for ES.
Tuples of additional parameters to include in ES query.
Query string map for ES.
Returns a map for making Range Elasticsearch queries.
Returns a map for making Range Elasticsearch queries.
String field name to query on.
Double value for lower bound of range.
Comparison op for lower bound.
Double value for upper bound of range.
Comparison op for upper bound.
Combined map for making Range queries.
Returns a Range map of comparator keys and values for the search Range Elasticsearch API.
Returns a Range map of comparator keys and values for the search Range Elasticsearch API. Acceptable comparator key values for "terms": gte, gt, lte, lt.
String field to compare range on.
Map of comparator Strings and associated Long values.
Map of comparator keys and values.
Returns a flattened sequence or None.
Returns a flattened sequence or None.
generic type.
Option of type T or None.
Option sequence of type T or None.
Generates sort section of query
Generates sort section of query
a sequence of tuples (fieldName: String, descending: Boolean).
Map for making Sort queries.
Returns a template map for making Template Elastichsearch queries.
Returns a template map for making Template Elastichsearch queries. ES Template queries use params maps to substitute into the templated query.
Map representing the templated query operation.
Map representing the params to substitute into the query.
Combined map for making Template queries.
Returns a Term map of a field key and values for the search Term Elasticsearch API.
Returns a Term map of a field key and values for the search Term Elasticsearch API.
String field name for the term.
Any type value to associate with field.
additional map of term options.
Map of term field key and any options.
Returns a Terms map of a field key and a sequence of values for the search Terms Elasticsearch API.
Returns a Terms map of a field key and a sequence of values for the search Terms Elasticsearch API.
String field name for the term.
Sequence of values to associate with field.
additional map of term options.
Map of terms field key and any options.
Returns a map to run a terms lookup query using the Elasticsearch Terms lookup API.
Returns a map to run a terms lookup query using the Elasticsearch Terms lookup API. Supports all but the routing field for the Terms lookup mechanism. https://www.elastic.co/guide/en/elasticsearch/reference/1.7/query-dsl-terms-filter.html Also see org.elasticsearch.index.query.TermsFilterParser to see ES's underlying code handling this.
the document field we are filtering on.
the index to lookup term values from.
the type of the lookup documents.
the field path in the lookup index to fetch term values from.
whether or not to cache the lookup of the terms from the index (caching the looked-up values).
whether or not to cache the total filter (the docs matching the filter).
the cache key to use for the total filter, useful if you want to manually wipe the cache.
name to give this query. (see https://www.elastic.co/guide/en/elasticsearch/reference/5.1/search-request-named-queries-and-filters.html)
Map for a Terms query with ES lookup fields.
Helper object for Elasticsearch queries.