aggregations() {
return this.aggregations;
}
/**
* If false
, the request returns an error if any wildcard
* expression, index alias, or _all
value targets only missing or
* closed indices. This behavior applies even if the request targets other open
* indices. For example, a request targeting foo*,bar*
returns an
* error if an index starts with foo
but no index starts with
* bar
.
*
* API name: {@code allow_no_indices}
*/
@Nullable
public final Boolean allowNoIndices() {
return this.allowNoIndices;
}
/**
* If true, returns partial results if there are shard request timeouts or shard
* failures. If false, returns an error with no partial results.
*
* API name: {@code allow_partial_search_results}
*/
@Nullable
public final Boolean allowPartialSearchResults() {
return this.allowPartialSearchResults;
}
/**
* If true, wildcard and prefix queries are analyzed. This parameter can only be
* used when the q query string parameter is specified.
*
* API name: {@code analyze_wildcard}
*/
@Nullable
public final Boolean analyzeWildcard() {
return this.analyzeWildcard;
}
/**
* Analyzer to use for the query string. This parameter can only be used when
* the q query string parameter is specified.
*
* API name: {@code analyzer}
*/
@Nullable
public final String analyzer() {
return this.analyzer;
}
/**
* The number of shard results that should be reduced at once on the
* coordinating node. This value should be used as a protection mechanism to
* reduce the memory overhead per search request if the potential number of
* shards in the request can be large.
*
* API name: {@code batched_reduce_size}
*/
@Nullable
public final Long batchedReduceSize() {
return this.batchedReduceSize;
}
/**
* If true, network round-trips between the coordinating node and the remote
* clusters are minimized when executing cross-cluster search (CCS) requests.
*
* API name: {@code ccs_minimize_roundtrips}
*/
@Nullable
public final Boolean ccsMinimizeRoundtrips() {
return this.ccsMinimizeRoundtrips;
}
/**
* Collapses search results the values of the specified field.
*
* API name: {@code collapse}
*/
@Nullable
public final FieldCollapse collapse() {
return this.collapse;
}
/**
* The default operator for query string query: AND or OR. This parameter can
* only be used when the q
query string parameter is specified.
*
* API name: {@code default_operator}
*/
@Nullable
public final Operator defaultOperator() {
return this.defaultOperator;
}
/**
* Field to use as default where no field prefix is given in the query string.
* This parameter can only be used when the q query string parameter is
* specified.
*
* API name: {@code df}
*/
@Nullable
public final String df() {
return this.df;
}
/**
* Array of wildcard (*
) patterns. The request returns doc values
* for field names matching these patterns in the hits.fields
* property of the response.
*
* API name: {@code docvalue_fields}
*/
public final List docvalueFields() {
return this.docvalueFields;
}
/**
* Type of index that wildcard patterns can match. If the request can target
* data streams, this argument determines whether wildcard expressions match
* hidden data streams. Supports comma-separated values, such as
* open,hidden
.
*
* API name: {@code expand_wildcards}
*/
public final List expandWildcards() {
return this.expandWildcards;
}
/**
* If true, returns detailed information about score computation as part of a
* hit.
*
* API name: {@code explain}
*/
@Nullable
public final Boolean explain() {
return this.explain;
}
/**
* Configuration of search extensions defined by Elasticsearch plugins.
*
* API name: {@code ext}
*/
public final Map ext() {
return this.ext;
}
/**
* Array of wildcard (*
) patterns. The request returns values for
* field names matching these patterns in the hits.fields
property
* of the response.
*
* API name: {@code fields}
*/
public final List fields() {
return this.fields;
}
/**
* Should this request force synthetic _source? Use this to test if the mapping
* supports synthetic _source and to get a sense of the worst case performance.
* Fetches with this enabled will be slower the enabling synthetic source
* natively in the index.
*
* API name: {@code force_synthetic_source}
*/
@Nullable
public final Boolean forceSyntheticSource() {
return this.forceSyntheticSource;
}
/**
* Starting document offset. Needs to be non-negative. By default, you cannot
* page through more than 10,000 hits using the from
and
* size
parameters. To page through more hits, use the
* search_after
parameter.
*
* API name: {@code from}
*/
@Nullable
public final Integer from() {
return this.from;
}
/**
* Specifies the highlighter to use for retrieving highlighted snippets from one
* or more fields in your search results.
*
* API name: {@code highlight}
*/
@Nullable
public final Highlight highlight() {
return this.highlight;
}
/**
* If true
, concrete, expanded or aliased indices will be ignored
* when frozen.
*
* API name: {@code ignore_throttled}
*/
@Nullable
public final Boolean ignoreThrottled() {
return this.ignoreThrottled;
}
/**
* If false
, the request returns an error if it targets a missing
* or closed index.
*
* API name: {@code ignore_unavailable}
*/
@Nullable
public final Boolean ignoreUnavailable() {
return this.ignoreUnavailable;
}
/**
* Comma-separated list of data streams, indices, and aliases to search.
* Supports wildcards (*
). To search all data streams and indices,
* omit this parameter or use *
or _all
.
*
* API name: {@code index}
*/
public final List index() {
return this.index;
}
/**
* Boosts the _score of documents from specified indices.
*
* API name: {@code indices_boost}
*/
public final List