Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/olivere/elastic
/ functions
Functions
5,566 in github.com/olivere/elastic
⨍
Functions
5,566
◇
Types & classes
868
Method
RestTotalHitsAsInt
RestTotalHitsAsInt indicates whether hits.total should be rendered as an integer or an object in the rest search response.
scroll.go:255
Method
Retrier
Retrier allows to set specific retry logic for this BulkService. If not specified, it will use the client's default retrier.
bulk.go:110
Method
Retrier
Retrier allows to set specific retry logic for this ScrollService. If not specified, it will use the client's default retrier.
scroll.go:106
Method
Retry
(ctx context.Context, retry int, req *http.Request, resp *http.Response, err error)
retrier_test.go:22
Method
Retry
Retry calls f.
retrier.go:19
Method
Retry
Retry calls into the backoff strategy and its wait interval.
retrier.go:65
Method
RetryItemStatusCodes
RetryItemStatusCodes sets an array of status codes that indicate that a bulk response line item should be retried.
bulk_processor.go:146
Method
RetryOnConflict
RetryOnConflict specifies how often to retry in case of a version conflict.
bulk_update_request.go:147
Method
RetryOnConflict
RetryOnConflict specifies how often to retry in case of a version conflict.
bulk_create_request.go:142
Method
RetryOnConflict
RetryOnConflict specifies how often to retry in case of a version conflict.
bulk_index_request.go:152
Method
Rewrite
(rewrite string)
search_queries_query_string.go:189
Method
Rewrite
(rewrite string)
search_queries_regexp.go:45
Method
Rewrite
(rewrite string)
search_queries_fuzzy.go:63
Method
Rewrite
Provide a more detailed explanation showing the actual Lucene query that will be executed.
validate.go:129
Method
Rewrite
(rewrite string)
search_queries_wildcard.go:40
Method
Rewrite
(rewrite string)
search_queries_prefix.go:32
Method
Rewrite
(rewrite string)
search_queries_multi_match.go:135
Method
RoundTrip
RoundTrip implements a "sleepy" transport.
client_test.go:1591
Method
RoundTrip
RoundTrip implements a transport that will count requests.
recipes/middleware/main.go:30
Method
RoundTrip
RoundTrip uses the underlying RoundTripper transport, but signs request first with AWS V4 Signing
aws/sign_v4.go:35
Method
RoundTrip
RoundTrip uses the underlying RoundTripper transport, but signs request first with AWS V4 Signing
aws/v4/aws_v4.go:46
Method
RoundTrip
RoundTrip captures the request and starts an OpenTracing span for Elastic PerformRequest operation.
trace/opencensus/transport.go:55
Method
RoundTrip
RoundTrip captures the request and starts an OpenTracing span for Elastic PerformRequest operation.
trace/opentracing/transport.go:43
Method
RoundTrip
RoundTrip captures the request and starts an OpenTracing span for Elastic PerformRequest operation.
trace/opentelemetry/transport.go:44
Method
Routing
Routing sets the routing associated with the item.
search_queries_more_like_this.go:349
Method
Routing
Routing is a specific routing value.
index.go:175
Method
Routing
Routing specifies a routing value for the request.
bulk_update_request.go:113
Method
Routing
Routing specific routing value. Applies to all returned documents unless otherwise specified in body "params" or "docs".
mtermvectors.go:173
Method
Routing
Routing is a specific routing value.
mtermvectors.go:463
Method
Routing
Routing associates a routing value to the alias. This basically sets index and search routing to the same value.
indices_put_alias.go:64
Method
Routing
Routing specifies the routing value.
count.go:215
Method
Routing
Routing is a specific routing value.
exists.go:129
Method
Routing
Routing is the specific routing value.
mget.go:110
Method
Routing
Routing is the specific routing value.
mget.go:240
Method
Routing
Routing specifies a routing value for the request.
bulk_delete_request.go:101
Method
Routing
Routing specifies a routing value for the request.
bulk_create_request.go:101
Method
Routing
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
Method
Routing
Routing specifies a specific routing value.
update.go:122
Method
Routing
Routing is a specific routing value.
delete.go:114
Method
Routing
Routing specifies the routing parameter. It is a comma-separated list.
search_request.go:79
Method
Routing
Routing is a list of specific routing values to control the shards the search will be executed on.
search.go:192
Method
Routing
Routing is a list of specific routing values.
update_by_query.go:334
Method
Routing
Routing sets a specific routing value.
explain.go:149
Method
Routing
Routing is a list of specific routing values to control the shards the search will be executed on.
xpack_async_search_submit.go:187
Method
Routing
Routing specifies a routing value for the request.
bulk_index_request.go:111
Method
Routing
Routing value.
search_terms_lookup.go:52
Method
Routing
Routing is a list of specific routing values.
delete_by_query.go:325
Method
Routing
Routing specifies the routing value.
bulk.go:151
Method
Routing
Routing sets a specific routing value.
search_shards.go:99
Method
Routing
Routing is a specific routing value.
termvectors.go:203
Method
Routing
Routing is a specific routing value.
pit_open.go:101
Method
Routing
Routing is a list of specific routing values to control the shards the search will be executed on.
scroll.go:262
Method
Routings
Routings to be used in the request.
search_request.go:85
Method
RuntimeMappings
RuntimeMappings specifies optional runtime mappings.
search_source.go:381
Method
Scale
Scale defines the scale to be used with Decay.
search_queries_fsq_score_funcs.go:58
Method
Scale
Scale defines the scale to be used with Decay.
search_queries_fsq_score_funcs.go:263
Method
ScoreMode
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
Method
ScoreMode
ScoreMode specifies the score mode.
search_queries_nested.go:30
Method
ScoreMode
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
Method
Script
(script *Script)
search_aggs_metrics_cardinality.go:34
Method
Script
(script *Script)
search_aggs_metrics_sum.go:32
Method
Script
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
Method
Script
(script *Script)
search_aggs_metrics_geo_centroid.go:28
Method
Script
(script *Script)
search_aggs_metrics_value_count.go:34
Method
Script
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
Method
Script
(script *Script)
search_aggs_bucket_date_histogram.go:44
Method
Script
(script *Script)
search_aggs_metrics_max.go:33
Method
Script
(script *Script)
search_aggs_metrics_extended_stats.go:33
Method
Script
Script allows for modification of the documents as they are reindexed from source to destination.
reindex.go:208
Method
Script
Script is the script definition.
update.go:134
Method
Script
Script to use for this source.
search_aggs_bucket_composite.go:169
Method
Script
Script to use for this source.
search_aggs_bucket_composite.go:296
Method
Script
Script to use for this source.
search_aggs_bucket_composite.go:435
Method
Script
Script to calculate the score.
search_queries_script_score.go:39
Method
Script
(script *Script)
search_aggs_metrics_min.go:33
Method
Script
Script is the script to run.
search_aggs_pipeline_bucket_script.go:56
Method
Script
(script *Script)
search_aggs_metrics_stats.go:32
Method
Script
Script is the script to run.
search_aggs_pipeline_bucket_selector.go:58
Method
Script
Script sets an update script.
update_by_query.go:141
Method
Script
Script specifies the script to be executed.
search_queries_fsq_score_funcs.go:360
Method
Script
(script *Script)
search_aggs_metrics_geo_bounds.go:29
Method
Script
(script *Script)
search_aggs_metrics_avg.go:34
Method
Script
(script *Script)
search_aggs_bucket_date_range.go:49
Method
Script
(script *Script)
search_aggs_bucket_diversified_sampler.go:47
Method
Script
(script *Script)
search_aggs_metrics_median_absolute_deviation.go:40
Method
Script
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
Method
Script
Script is the script to run.
search_aggs_pipeline_mov_fn.go:46
Method
Script
Script on which th
search_aggs_bucket_auto_date_histogram.go:38
Method
Script
(script *Script)
search_aggs_bucket_terms.go:44
Method
Script
(script *Script)
search_aggs_metrics_percentile_ranks.go:33
Method
Script
(script *Script)
search_aggs_bucket_range.go:47
Method
Script
(script *Script)
search_aggs_metrics_percentiles.go:41
Method
Script
(script *Script)
search_aggs_bucket_histogram.go:39
Method
ScriptField
ScriptField adds a single script field with the provided script.
search_source.go:331
Method
ScriptField
(scriptField *ScriptField)
search_aggs_metrics_top_hits.go:100
Method
ScriptField
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
Method
ScriptField
(scriptField *ScriptField)
inner_hit.go:124
Method
ScriptFields
ScriptFields adds one or more script fields with the provided scripts.
search_source.go:337
Method
ScriptFields
(scriptFields ...*ScriptField)
search_aggs_metrics_top_hits.go:95
Method
ScriptFields
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
← previous
next →
3,901–4,000 of 5,566, ranked by callers