package
0.0.71
Repository: https://github.com/clinia/x.git
Documentation: pkg.go.dev

# Functions

AllowNoIndices If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
AllowPartialSearchResults If true, returns partial results if there are shard request timeouts or shard failures.
Analyzer Analyzer to use for the query string.
AnalyzeWildcard If true, wildcard and prefix queries are analyzed.
BatchedReduceSize The number of shard results that should be reduced at once on the coordinating node.
CcsMinimizeRoundtrips If true, network round-trips between the coordinating node and the remote clusters are minimized when executing cross-cluster search (CCS) requests.
DefaultOperator The default operator for query string query: AND or OR.
Df Field to use as default where no field prefix is given in the query string.
ErrorTrace When set to `true` Elasticsearch will include the full stack trace of errors when they occur.
ExpandWildcards Type of index that wildcard patterns can match.
FilterPath Comma-separated list of filters in dot notation which reduce the response returned by Elasticsearch.
ForceSyntheticSource 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.
Human When set to `true` will return statistics in a format suitable for humans.
IgnoreThrottled If `true`, concrete, expanded or aliased indices will be ignored when frozen.
IgnoreUnavailable If `false`, the request returns an error if it targets a missing or closed index.
Lenient If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.
MaxConcurrentShardRequests Defines the number of concurrent shard requests per node this search executes concurrently.
MinCompatibleShardNode The minimum version of the node that can handle the request Any handling node with a lower version will fail the request.
Preference Nodes and shards used for the search.
PreFilterShardSize Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold.
Pretty If set to `true` the returned JSON will be "pretty-formatted".
Q Query in the Lucene query string syntax using query parameter search.
RequestCache If `true`, the caching of search results is enabled for requests where `size` is `0`.
RestTotalHitsAsInt Indicates whether `hits.total` should be rendered as an integer or an object in the rest search response.
Routing Custom value used to route operations to a specific shard.
Scroll Period to retain the search context for scrolling.
SearchType How distributed term frequencies are calculated for relevance scoring.
SourceExcludes_ A comma-separated list of source fields to exclude from the response.
SourceIncludes_ A comma-separated list of source fields to include in the response.
SuggestField Specifies which field to use for suggestions.
SuggestMode Specifies the suggest mode.
SuggestSize Number of suggestions to return.
SuggestText The source text for which the suggestions should be returned.
TypedKeys If `true`, aggregation and suggester names are be prefixed by their respective types in the response.

# Type aliases

No description provided by the author