MCPcopy Create free account

hub / github.com/olivere/elastic / functions

Functions5,566 in github.com/olivere/elastic

MethodRestTotalHitsAsInt
RestTotalHitsAsInt indicates whether hits.total should be rendered as an integer or an object in the rest search response.
scroll.go:255
MethodRetrier
Retrier allows to set specific retry logic for this BulkService. If not specified, it will use the client's default retrier.
bulk.go:110
MethodRetrier
Retrier allows to set specific retry logic for this ScrollService. If not specified, it will use the client's default retrier.
scroll.go:106
MethodRetry
(ctx context.Context, retry int, req *http.Request, resp *http.Response, err error)
retrier_test.go:22
MethodRetry
Retry calls f.
retrier.go:19
MethodRetry
Retry calls into the backoff strategy and its wait interval.
retrier.go:65
MethodRetryItemStatusCodes
RetryItemStatusCodes sets an array of status codes that indicate that a bulk response line item should be retried.
bulk_processor.go:146
MethodRetryOnConflict
RetryOnConflict specifies how often to retry in case of a version conflict.
bulk_update_request.go:147
MethodRetryOnConflict
RetryOnConflict specifies how often to retry in case of a version conflict.
bulk_create_request.go:142
MethodRetryOnConflict
RetryOnConflict specifies how often to retry in case of a version conflict.
bulk_index_request.go:152
MethodRewrite
(rewrite string)
search_queries_query_string.go:189
MethodRewrite
(rewrite string)
search_queries_regexp.go:45
MethodRewrite
(rewrite string)
search_queries_fuzzy.go:63
MethodRewrite
Provide a more detailed explanation showing the actual Lucene query that will be executed.
validate.go:129
MethodRewrite
(rewrite string)
search_queries_wildcard.go:40
MethodRewrite
(rewrite string)
search_queries_prefix.go:32
MethodRewrite
(rewrite string)
search_queries_multi_match.go:135
MethodRoundTrip
RoundTrip implements a "sleepy" transport.
client_test.go:1591
MethodRoundTrip
RoundTrip implements a transport that will count requests.
recipes/middleware/main.go:30
MethodRoundTrip
RoundTrip uses the underlying RoundTripper transport, but signs request first with AWS V4 Signing
aws/sign_v4.go:35
MethodRoundTrip
RoundTrip uses the underlying RoundTripper transport, but signs request first with AWS V4 Signing
aws/v4/aws_v4.go:46
MethodRoundTrip
RoundTrip captures the request and starts an OpenTracing span for Elastic PerformRequest operation.
trace/opencensus/transport.go:55
MethodRoundTrip
RoundTrip captures the request and starts an OpenTracing span for Elastic PerformRequest operation.
trace/opentracing/transport.go:43
MethodRoundTrip
RoundTrip captures the request and starts an OpenTracing span for Elastic PerformRequest operation.
trace/opentelemetry/transport.go:44
MethodRouting
Routing sets the routing associated with the item.
search_queries_more_like_this.go:349
MethodRouting
Routing is a specific routing value.
index.go:175
MethodRouting
Routing specifies a routing value for the request.
bulk_update_request.go:113
MethodRouting
Routing specific routing value. Applies to all returned documents unless otherwise specified in body "params" or "docs".
mtermvectors.go:173
MethodRouting
Routing is a specific routing value.
mtermvectors.go:463
MethodRouting
Routing associates a routing value to the alias. This basically sets index and search routing to the same value.
indices_put_alias.go:64
MethodRouting
Routing specifies the routing value.
count.go:215
MethodRouting
Routing is a specific routing value.
exists.go:129
MethodRouting
Routing is the specific routing value.
mget.go:110
MethodRouting
Routing is the specific routing value.
mget.go:240
MethodRouting
Routing specifies a routing value for the request.
bulk_delete_request.go:101
MethodRouting
Routing specifies a routing value for the request.
bulk_create_request.go:101
MethodRouting
Routing specifies a routing value for the reindexing request. It can be "keep", "discard", or start with "=". The latter specifies the routing on the
reindex.go:665
MethodRouting
Routing specifies a specific routing value.
update.go:122
MethodRouting
Routing is a specific routing value.
delete.go:114
MethodRouting
Routing specifies the routing parameter. It is a comma-separated list.
search_request.go:79
MethodRouting
Routing is a list of specific routing values to control the shards the search will be executed on.
search.go:192
MethodRouting
Routing is a list of specific routing values.
update_by_query.go:334
MethodRouting
Routing sets a specific routing value.
explain.go:149
MethodRouting
Routing is a list of specific routing values to control the shards the search will be executed on.
xpack_async_search_submit.go:187
MethodRouting
Routing specifies a routing value for the request.
bulk_index_request.go:111
MethodRouting
Routing value.
search_terms_lookup.go:52
MethodRouting
Routing is a list of specific routing values.
delete_by_query.go:325
MethodRouting
Routing specifies the routing value.
bulk.go:151
MethodRouting
Routing sets a specific routing value.
search_shards.go:99
MethodRouting
Routing is a specific routing value.
termvectors.go:203
MethodRouting
Routing is a specific routing value.
pit_open.go:101
MethodRouting
Routing is a list of specific routing values to control the shards the search will be executed on.
scroll.go:262
MethodRoutings
Routings to be used in the request.
search_request.go:85
MethodRuntimeMappings
RuntimeMappings specifies optional runtime mappings.
search_source.go:381
MethodScale
Scale defines the scale to be used with Decay.
search_queries_fsq_score_funcs.go:58
MethodScale
Scale defines the scale to be used with Decay.
search_queries_fsq_score_funcs.go:263
MethodScoreMode
ScoreMode defines how results of individual score functions will be aggregated. Can be first, avg, max, sum, min, or multiply.
search_queries_fsq.go:63
MethodScoreMode
ScoreMode specifies the score mode.
search_queries_nested.go:30
MethodScoreMode
ScoreMode defines how the scores from the matching child documents are mapped into the parent document. Allowed values are: min, max, avg, or none.
search_queries_has_child.go:41
MethodScript
(script *Script)
search_aggs_metrics_cardinality.go:34
MethodScript
(script *Script)
search_aggs_metrics_sum.go:32
MethodScript
Script specifies an update script. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/docs-bulk.html#bulk-update and https://www.elastic.
bulk_update_request.go:130
MethodScript
(script *Script)
search_aggs_metrics_geo_centroid.go:28
MethodScript
(script *Script)
search_aggs_metrics_value_count.go:34
MethodScript
Script allows a script to be used to return matching documents. The script must return a boolean value, true or false.
search_queries_interval_filter.go:88
MethodScript
(script *Script)
search_aggs_bucket_date_histogram.go:44
MethodScript
(script *Script)
search_aggs_metrics_max.go:33
MethodScript
(script *Script)
search_aggs_metrics_extended_stats.go:33
MethodScript
Script allows for modification of the documents as they are reindexed from source to destination.
reindex.go:208
MethodScript
Script is the script definition.
update.go:134
MethodScript
Script to use for this source.
search_aggs_bucket_composite.go:169
MethodScript
Script to use for this source.
search_aggs_bucket_composite.go:296
MethodScript
Script to use for this source.
search_aggs_bucket_composite.go:435
MethodScript
Script to calculate the score.
search_queries_script_score.go:39
MethodScript
(script *Script)
search_aggs_metrics_min.go:33
MethodScript
Script is the script to run.
search_aggs_pipeline_bucket_script.go:56
MethodScript
(script *Script)
search_aggs_metrics_stats.go:32
MethodScript
Script is the script to run.
search_aggs_pipeline_bucket_selector.go:58
MethodScript
Script sets an update script.
update_by_query.go:141
MethodScript
Script specifies the script to be executed.
search_queries_fsq_score_funcs.go:360
MethodScript
(script *Script)
search_aggs_metrics_geo_bounds.go:29
MethodScript
(script *Script)
search_aggs_metrics_avg.go:34
MethodScript
(script *Script)
search_aggs_bucket_date_range.go:49
MethodScript
(script *Script)
search_aggs_bucket_diversified_sampler.go:47
MethodScript
(script *Script)
search_aggs_metrics_median_absolute_deviation.go:40
MethodScript
Script specifies the script to use to get custom scores. The following parameters are available in the script: `_subset_freq`, `_superset_freq`, `_sub
search_aggs_bucket_significant_terms.go:434
MethodScript
Script is the script to run.
search_aggs_pipeline_mov_fn.go:46
MethodScript
Script on which th
search_aggs_bucket_auto_date_histogram.go:38
MethodScript
(script *Script)
search_aggs_bucket_terms.go:44
MethodScript
(script *Script)
search_aggs_metrics_percentile_ranks.go:33
MethodScript
(script *Script)
search_aggs_bucket_range.go:47
MethodScript
(script *Script)
search_aggs_metrics_percentiles.go:41
MethodScript
(script *Script)
search_aggs_bucket_histogram.go:39
MethodScriptField
ScriptField adds a single script field with the provided script.
search_source.go:331
MethodScriptField
(scriptField *ScriptField)
search_aggs_metrics_top_hits.go:100
MethodScriptField
ScriptField adds a script based field to load and return. The field does not have to be stored, but it's recommended to use non analyzed or numeric fi
search_request.go:308
MethodScriptField
(scriptField *ScriptField)
inner_hit.go:124
MethodScriptFields
ScriptFields adds one or more script fields with the provided scripts.
search_source.go:337
MethodScriptFields
(scriptFields ...*ScriptField)
search_aggs_metrics_top_hits.go:95
MethodScriptFields
ScriptFields adds one or more script based field to load and return. The fields do not have to be stored, but it's recommended to use non analyzed or
search_request.go:316
← previousnext →3,901–4,000 of 5,566, ranked by callers