MCPcopy Create free account

hub / github.com/olivere/elastic / functions

Functions5,566 in github.com/olivere/elastic

MethodWaitForCompletionTimeout
WaitForCompletionTimeout is suitable for DoAsync only. It specifies the timeout for the Search to wait for completion before returning an ID to return
xpack_async_search_submit.go:518
MethodWaitForGreenStatus
WaitForGreenStatus will wait for the "green" state.
cluster_health.go:147
MethodWaitForNoRelocatingShards
WaitForNoRelocatingShards can be used to wait until all shard relocations are finished.
cluster_health.go:134
MethodWaitForNodes
WaitForNodes can be used to wait until the specified number of nodes are available. Example: "12" to wait for exact values, ">12" and "<12" for ranges
cluster_health.go:128
MethodWaitForYellowStatus
WaitForYellowStatus will wait for the "yellow" state.
cluster_health.go:152
MethodWaitForYellowStatus
WaitForYellowStatus waits for the cluster to have the "yellow" status. See WaitForStatus for more details.
client.go:2346
MethodWaitIfOngoing
WaitIfOngoing, if set to true, indicates that the flush operation will block until the flush can be executed if another flush operation is already exe
indices_flush.go:107
MethodWatchId
WatchId is the ID of the watch to activate.
xpack_watcher_activate_watch.go:81
MethodWatchId
WatchId is the ID of the watch to deactivate.
xpack_watcher_deactivate_watch.go:81
MethodWeight
Weight adjusts the score of the score function. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/query-dsl-function-score-query.html#_u
search_queries_fsq_score_funcs.go:80
MethodWeight
Weight adjusts the score of the score function. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/query-dsl-function-score-query.html#_u
search_queries_fsq_score_funcs.go:182
MethodWeight
Weight adjusts the score of the score function. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/query-dsl-function-score-query.html#_u
search_queries_fsq_score_funcs.go:285
MethodWeight
Weight adjusts the score of the score function. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/query-dsl-function-score-query.html#_u
search_queries_fsq_score_funcs.go:368
MethodWeight
Weight adjusts the score of the score function. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/query-dsl-function-score-query.html#_u
search_queries_fsq_score_funcs.go:440
MethodWeight
Weight adjusts the score of the score function. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/query-dsl-function-score-query.html#_u
search_queries_fsq_score_funcs.go:500
MethodWeight
Weight adjusts the score of the score function. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/query-dsl-function-score-query.html#_u
search_queries_fsq_score_funcs.go:560
MethodWeight
(weight *MultiValuesSourceFieldConfig)
search_aggs_metrics_weighted_avg.go:50
MethodWeightedAvg
WeightedAvg computes the weighted average of numeric values that are extracted from the aggregated documents. See: https://www.elastic.co/guide/en/ela
search_aggs.go:88
MethodWindow
Window sets the window size for the moving average. This window will "slide" across the series, and the values inside that window will be used to calc
search_aggs_pipeline_mov_avg.go:70
FunctionWithRoundTripper
WithRoundTripper specifies the http.RoundTripper to call next after this transport. If it is nil (default), the transport will use http.DefaultTranspo
trace/opencensus/transport.go:29
FunctionWithRoundTripper
WithRoundTripper specifies the http.RoundTripper to call next after this transport. If it is nil (default), the transport will use http.DefaultTranspo
trace/opentracing/transport.go:25
FunctionWithRoundTripper
WithRoundTripper specifies the http.RoundTripper to call next after this transport. If it is nil (default), the transport will use http.DefaultTranspo
trace/opentelemetry/transport.go:26
MethodWriteIndexOnly
WriteIndexOnly, when true, applies mappings only to the write index of an alias or data stream.
indices_put_mapping.go:145
MethodXSource
XSource is true or false to return the _source field or not, or a list of fields to return.
update_by_query.go:155
MethodXSource
XSource is true or false to return the _source field or not, or a list of fields to return.
explain.go:210
MethodXSource
XSource is true or false to return the _source field or not, or a list of fields to return.
delete_by_query.go:143
MethodXSourceExclude
XSourceExclude represents a list of fields to exclude from the returned _source field.
update_by_query.go:161
MethodXSourceExclude
XSourceExclude is a list of fields to exclude from the returned _source field.
explain.go:130
MethodXSourceExclude
XSourceExclude represents a list of fields to exclude from the returned _source field.
delete_by_query.go:149
MethodXSourceInclude
XSourceInclude represents a list of fields to extract and return from the _source field.
update_by_query.go:167
MethodXSourceInclude
XSourceInclude is a list of fields to extract and return from the _source field.
explain.go:186
MethodXSourceInclude
XSourceInclude represents a list of fields to extract and return from the _source field.
delete_by_query.go:155
MethodZeroTermsQuery
ZeroTermsQuery can be "all" or "none".
search_queries_combined_fields.go:69
MethodZeroTermsQuery
ZeroTermsQuery can be "all" or "none".
search_queries_match_phrase.go:41
MethodZeroTermsQuery
ZeroTermsQuery can be "all" or "none".
search_queries_multi_match.go:173
Functionatouint16
(s string)
trace/opentelemetry/util.go:11
Methoddup
()
bulk_processor.go:243
Functioninit
()
trace/opencensus/transport_test.go:20
FunctionisContextErr
isContextErr returns true if the error is from a context that was canceled or deadline exceeded
trace/opencensus/transport.go:142
MethodisIntervalQueryRule
isIntervalQueryRule implements the marker interface.
search_queries_interval_filter.go:173
MethodisIntervalQueryRule
isIntervalQueryRule implements the marker interface.
search_queries_interval_rules_all_of.go:80
MethodisIntervalQueryRule
isIntervalQueryRule implements the marker interface.
search_queries_interval_rules_prefix.go:55
MethodisIntervalQueryRule
isIntervalQueryRule implements the marker interface.
search_queries_interval_rules_match.go:92
MethodisIntervalQueryRule
isIntervalQueryRule implements the marker interface.
search_queries_interval_rules_fuzzy.go:89
MethodisIntervalQueryRule
isIntervalQueryRule implements the marker interface.
search_queries_interval_rules_wildcard.go:55
MethodisIntervalQueryRule
isIntervalQueryRule is never actually called, and is used just for Rule to differ from standard Query.
search_queries_interval.go:19
MethodisIntervalQueryRule
isIntervalQueryRule implements the marker interface.
search_queries_interval_rules_any_of.go:58
Functionmain
()
recipes/mapping/mapping.go:65
Functionmain
()
recipes/middleware/main.go:38
Functionmain
()
recipes/bulk_processor/main.go:32
Functionmain
()
recipes/connect_with_config/connect_with_config.go:24
Functionmain
()
recipes/aws-mapping-v4/main.go:71
Functionmain
()
recipes/sliced_scroll/sliced_scroll.go:43
Functionmain
()
recipes/text_vs_keyword/main.go:59
Functionmain
()
recipes/search_with_point_in_time/search.go:29
Functionmain
()
recipes/aws-connect/main.go:25
Functionmain
()
recipes/bulk_insert/bulk_insert.go:42
Functionmain
()
recipes/suggesters/completion/main.go:77
Functionmain
()
recipes/connect/connect.go:22
Functionmain
()
recipes/aws-connect-v4/main.go:25
Functionmain
()
recipes/scroll/scroll.go:30
Functionmain
()
recipes/tracing/tracing.go:39
Functionmain
()
recipes/tracing/otel/tracing.go:42
Functionmain
()
cluster-test/cluster-test.go:49
FunctionpctEncode
(src []byte)
uritemplates/uritemplates.go:37
FunctionsetupTestClientAndCreateIndexAndLog
(t logger, options ...ClientOptionFunc)
setup_test.go:409
← previous5,501–5,566 of 5,566, ranked by callers