MCPcopy Create free account

hub / github.com/olivere/elastic / functions

Functions5,566 in github.com/olivere/elastic

MethodScriptedUpsert
ScripedUpsert specifies if your script will run regardless of whether the document exists or not. See https://www.elastic.co/guide/en/elasticsearch/r
bulk_update_request.go:140
MethodScroll
(scroll string)
reindex.go:470
MethodScroll
Scroll, if set, will enable scrolling of the search request. Pass a timeout value, e.g. "2m" or "30s" as a value.
search_request.go:135
MethodScroll
Scroll specifies how long a consistent view of the index should be maintained for scrolled search.
update_by_query.go:341
MethodScroll
Scroll specifies how long a consistent view of the index should be maintained for scrolled search.
delete_by_query.go:332
MethodScroll
Scroll is an alias for KeepAlive, the time to keep the cursor alive (e.g. "5m" for 5 minutes).
scroll.go:134
MethodScrollId
ScrollId is a list of scroll IDs to clear. Use _all to clear all search contexts.
clear_scroll.go:81
MethodScrollSize
ScrollSize is the size on the scroll request powering the update_by_query.
update_by_query.go:347
MethodScrollSize
ScrollSize is the size on the scroll request powering the update_by_query.
delete_by_query.go:338
MethodSearchAfter
SearchAfter allows a different form of pagination by using a live cursor, using the results of the previous page to help the retrieval of the next. S
search_source.go:193
MethodSearchAfter
SearchAfter sets the sort values that indicates which docs this request should "search after".
search_request.go:341
MethodSearchAfter
SearchAfter allows a different form of pagination by using a live cursor, using the results of the previous page to help the retrieval of the next. S
xpack_async_search_submit.go:381
MethodSearchSource
(searchSource *SearchSource)
search_aggs_metrics_top_hits.go:27
MethodSearchSource
SearchSource allows passing your own SearchSource, overriding all values set on the request (except Source).
search_request.go:142
MethodSearchSource
SearchSource sets the search source builder to use with this service.
xpack_async_search_submit.go:113
MethodSearchSource
SearchSource sets the search source builder to use with this iterator. Notice that only a certain number of properties can be used when scrolling, e.g
scroll.go:171
MethodSearchTimeout
SearchTimeout defines an explicit timeout for each search request. Defaults to no timeout.
update_by_query.go:354
MethodSearchTimeout
SearchTimeout defines an explicit timeout for each search request. Defaults to no timeout.
delete_by_query.go:345
MethodSearchType
SearchType is the search operation type. Possible values are "query_then_fetch" and "dfs_query_then_fetch".
update_by_query.go:361
MethodSearchType
SearchType sets the search operation type. Valid values are: "dfs_query_then_fetch" and "query_then_fetch". See https://www.elastic.co/guide/en/elasti
xpack_async_search_submit.go:180
MethodSearchType
SearchType is the search operation type. Possible values are "query_then_fetch" and "dfs_query_then_fetch".
delete_by_query.go:352
MethodSearchTypeDfsQueryThenFetch
()
reindex.go:440
MethodSearchTypeDfsQueryThenFetch
SearchTypeDfsQueryThenFetch sets search type to "dfs_query_then_fetch".
search_request.go:49
MethodSearchTypeQueryThenFetch
()
reindex.go:445
MethodSearchTypeQueryThenFetch
SearchTypeQueryThenFetch sets search type to "query_then_fetch".
search_request.go:54
MethodSeasonalityType
(typ string)
search_aggs_pipeline_mov_avg.go:291
MethodSeparator
(separator string)
suggester_phrase.go:97
MethodSeqNoAndPrimaryTerm
SeqNoAndPrimaryTerm indicates whether SearchHits should be returned with the sequence number and primary term of the last modification of the document
search_source.go:125
MethodSeqNoPrimaryTerm
SeqNoPrimaryTerm is an alias for SeqNoAndPrimaryTerm. Deprecated: Use SeqNoAndPrimaryTerm.
search.go:464
MethodSeqNoPrimaryTerm
SeqNoPrimaryTerm is an alias for SeqNoAndPrimaryTerm. Deprecated: Use SeqNoAndPrimaryTerm instead.
xpack_async_search_submit.go:459
FunctionSetGzip
SetGzip enables or disables gzip compression (disabled by default).
client.go:656
FunctionSetHealthcheckInterval
SetHealthcheckInterval sets the interval between two health checks. The default interval is 60 seconds.
client.go:624
FunctionSetHealthcheckTimeout
SetHealthcheckTimeout sets the timeout for periodic health checks. The default timeout is 1 second (see DefaultHealthcheckTimeout). Notice that a diff
client.go:615
MethodSetIndex
(name string)
cluster-test/cluster-test.go:113
FunctionSetScheme
SetScheme sets the HTTP scheme to look for when sniffing (http or https). This is http by default.
client.go:524
FunctionSetSendGetBodyAs
SetSendGetBodyAs specifies the HTTP method to use when sending a GET request with a body. It is GET by default.
client.go:717
FunctionSetSnifferInterval
SetSnifferInterval sets the interval between two sniffing processes. The default interval is 15 minutes.
client.go:563
FunctionSetSnifferTimeout
SetSnifferTimeout sets the timeout for the sniffer that finds the nodes in a cluster. The default is 2 seconds. Notice that the timeout used when crea
client.go:554
MethodSettings
Settings sets all settings of the snapshot repository.
snapshot_create_repository.go:118
MethodSettings
Settings adds the index settings.
indices_rollover.go:158
MethodSettings
Settings of the model.
search_aggs_pipeline_mov_avg.go:188
MethodSettings
Settings of the model.
search_aggs_pipeline_mov_avg.go:234
MethodSettings
Settings of the model.
search_aggs_pipeline_mov_avg.go:307
MethodSettings
Settings of the model.
search_aggs_pipeline_mov_avg.go:352
MethodSettings
Settings of the model.
search_aggs_pipeline_mov_avg.go:376
MethodShardMinDocCount
(shardMinDocCount int)
search_aggs_bucket_multi_terms.go:83
MethodShardMinDocCount
(shardMinDocCount int64)
search_aggs_bucket_significant_text.go:63
MethodShardMinDocCount
(shardMinDocCount int)
search_aggs_bucket_significant_terms.go:52
MethodShardMinDocCount
(shardMinDocCount int)
search_aggs_bucket_terms.go:86
MethodShardSize
ShardSize sets the maximum number of docs returned from each shard.
search_aggs_bucket_sampler.go:39
MethodShardSize
(shardSize int)
suggester_completion.go:112
MethodShardSize
(shardSize int)
search_aggs_bucket_multi_terms.go:73
MethodShardSize
(shardSize int)
suggester_phrase.go:70
MethodShardSize
(shardSize int)
search_aggs_bucket_significant_text.go:79
MethodShardSize
(shardSize int)
search_aggs_bucket_geohash_grid.go:38
MethodShardSize
ShardSize sets the maximum number of docs returned from each shard.
search_aggs_bucket_diversified_sampler.go:53
MethodShardSize
(shardSize int)
search_aggs_bucket_significant_terms.go:62
MethodShardSize
(shardSize int)
search_aggs_bucket_terms.go:76
MethodShardSize
ShardSize The maximum number of buckets to return from each shard. Optional.
search_aggs_bucket_geotile_grid.go:45
MethodShortCircuitCutoff
ShortCircuitCutoff configures what cut off point only to evaluate parent documents that contain the matching parent id terms instead of evaluating all
search_queries_has_child.go:63
MethodShowTermDocCountError
(showTermDocCountError bool)
search_aggs_bucket_multi_terms.go:193
MethodShowTermDocCountError
(showTermDocCountError bool)
search_aggs_bucket_terms.go:251
MethodSigma
Sigma sets number of standard deviations above/below the mean to display
search_aggs_pipeline_extended_stats_bucket.go:69
MethodSignificanceHeuristic
(heuristic SignificanceHeuristic)
search_aggs_bucket_significant_terms.go:77
MethodSize
Size is the number of search hits to return. Defaults to 10.
search_source.go:98
MethodSize
(size int)
suggester_completion.go:107
MethodSize
(size int)
search_aggs_bucket_multi_terms.go:68
MethodSize
(size int)
suggester_phrase.go:65
MethodSize
(size int)
suggester_phrase.go:460
MethodSize
Size sets the number of top documents returned by the aggregation. The default size is 1.
search_aggs_metrics_top_metrics.go:49
MethodSize
Size adds the "size" parameter to the aggregation.
search_aggs_pipeline_bucket_sort.go:50
MethodSize
Size sets an upper limit for the number of processed documents.
reindex.go:201
MethodSize
(size int)
search_aggs_bucket_significant_text.go:71
MethodSize
Size represents the number of composite buckets to return. Defaults to 10 as of Elasticsearch 6.1.
search_aggs_bucket_composite.go:30
MethodSize
(size int)
search_aggs_metrics_top_hits.go:40
MethodSize
Size is the number of search hits to return (default is 10).
search_request.go:199
MethodSize
Size is the number of search hits to return. Defaults to 10.
search.go:279
MethodSize
Size represents the number of hits to return (default: 10).
update_by_query.go:367
MethodSize
Size is the number of search hits to return. Defaults to 10.
xpack_async_search_submit.go:274
MethodSize
(size int)
search_aggs_bucket_geohash_grid.go:33
MethodSize
Size represents the number of hits to return (default: 10).
delete_by_query.go:358
MethodSize
(size int)
suggester_term.go:59
MethodSize
(size int)
search_aggs_bucket_terms.go:66
MethodSize
Size The maximum number of buckets to return in the result structure. Optional.
search_aggs_bucket_geotile_grid.go:39
MethodSize
(size int)
suggester_context.go:49
MethodSize
Size specifies the number of documents Elasticsearch should return from each shard, per page.
scroll.go:148
MethodSkipDuplicates
(skipDuplicates bool)
suggester_completion.go:92
MethodSlice
Slice allows partitioning the documents in multiple slices. It is e.g. used to slice a scroll operation, supported in Elasticsearch 5.0 or later. See
search_source.go:86
MethodSlice
Slice allows partitioning the documents in multiple slices. It is e.g. used to slice a scroll operation, supported in Elasticsearch 5.0 or later. See
search_request.go:351
MethodSlices
Slices represents the number of slices (default: 1). It used to be a number, but can be set to "auto" as of 6.7. See https://www.elastic.co/guide/en
update_by_query.go:377
MethodSlices
Slices represents the number of slices (default: 1). It used to be a number, but can be set to "auto" as of 6.7. See https://www.elastic.co/guide/en
delete_by_query.go:368
MethodSlop
Slop sets the phrase slop if evaluated to a phrase query type.
search_queries_match_phrase_prefix.go:35
MethodSlop
Slop sets the phrase slop if evaluated to a phrase query type.
search_queries_match_phrase.go:35
MethodSlop
Slop sets the phrase slop if evaluated to a phrase query type.
search_queries_multi_match.go:102
MethodSmoothingModel
(smoothingModel SmoothingModel)
suggester_phrase.go:141
MethodSnapshot
Snapshot is the list of snapshot names. If not set, defaults to all snapshots.
snapshot_status.go:91
MethodSnapshot
Snapshot name.
snapshot_restore.go:100
MethodSnapshot
Snapshot is the snapshot name.
snapshot_create.go:90
MethodSnapshot
Snapshot is the snapshot name.
snapshot_delete.go:87
MethodSort
Sort is a list of fields to sort by.
cat_indices.go:142
← previousnext →4,001–4,100 of 5,566, ranked by callers