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
ScriptedUpsert
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
Method
Scroll
(scroll string)
reindex.go:470
Method
Scroll
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
Method
Scroll
Scroll specifies how long a consistent view of the index should be maintained for scrolled search.
update_by_query.go:341
Method
Scroll
Scroll specifies how long a consistent view of the index should be maintained for scrolled search.
delete_by_query.go:332
Method
Scroll
Scroll is an alias for KeepAlive, the time to keep the cursor alive (e.g. "5m" for 5 minutes).
scroll.go:134
Method
ScrollId
ScrollId is a list of scroll IDs to clear. Use _all to clear all search contexts.
clear_scroll.go:81
Method
ScrollSize
ScrollSize is the size on the scroll request powering the update_by_query.
update_by_query.go:347
Method
ScrollSize
ScrollSize is the size on the scroll request powering the update_by_query.
delete_by_query.go:338
Method
SearchAfter
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
Method
SearchAfter
SearchAfter sets the sort values that indicates which docs this request should "search after".
search_request.go:341
Method
SearchAfter
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
Method
SearchSource
(searchSource *SearchSource)
search_aggs_metrics_top_hits.go:27
Method
SearchSource
SearchSource allows passing your own SearchSource, overriding all values set on the request (except Source).
search_request.go:142
Method
SearchSource
SearchSource sets the search source builder to use with this service.
xpack_async_search_submit.go:113
Method
SearchSource
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
Method
SearchTimeout
SearchTimeout defines an explicit timeout for each search request. Defaults to no timeout.
update_by_query.go:354
Method
SearchTimeout
SearchTimeout defines an explicit timeout for each search request. Defaults to no timeout.
delete_by_query.go:345
Method
SearchType
SearchType is the search operation type. Possible values are "query_then_fetch" and "dfs_query_then_fetch".
update_by_query.go:361
Method
SearchType
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
Method
SearchType
SearchType is the search operation type. Possible values are "query_then_fetch" and "dfs_query_then_fetch".
delete_by_query.go:352
Method
SearchTypeDfsQueryThenFetch
()
reindex.go:440
Method
SearchTypeDfsQueryThenFetch
SearchTypeDfsQueryThenFetch sets search type to "dfs_query_then_fetch".
search_request.go:49
Method
SearchTypeQueryThenFetch
()
reindex.go:445
Method
SearchTypeQueryThenFetch
SearchTypeQueryThenFetch sets search type to "query_then_fetch".
search_request.go:54
Method
SeasonalityType
(typ string)
search_aggs_pipeline_mov_avg.go:291
Method
Separator
(separator string)
suggester_phrase.go:97
Method
SeqNoAndPrimaryTerm
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
Method
SeqNoPrimaryTerm
SeqNoPrimaryTerm is an alias for SeqNoAndPrimaryTerm. Deprecated: Use SeqNoAndPrimaryTerm.
search.go:464
Method
SeqNoPrimaryTerm
SeqNoPrimaryTerm is an alias for SeqNoAndPrimaryTerm. Deprecated: Use SeqNoAndPrimaryTerm instead.
xpack_async_search_submit.go:459
Function
SetGzip
SetGzip enables or disables gzip compression (disabled by default).
client.go:656
Function
SetHealthcheckInterval
SetHealthcheckInterval sets the interval between two health checks. The default interval is 60 seconds.
client.go:624
Function
SetHealthcheckTimeout
SetHealthcheckTimeout sets the timeout for periodic health checks. The default timeout is 1 second (see DefaultHealthcheckTimeout). Notice that a diff
client.go:615
Method
SetIndex
(name string)
cluster-test/cluster-test.go:113
Function
SetScheme
SetScheme sets the HTTP scheme to look for when sniffing (http or https). This is http by default.
client.go:524
Function
SetSendGetBodyAs
SetSendGetBodyAs specifies the HTTP method to use when sending a GET request with a body. It is GET by default.
client.go:717
Function
SetSnifferInterval
SetSnifferInterval sets the interval between two sniffing processes. The default interval is 15 minutes.
client.go:563
Function
SetSnifferTimeout
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
Method
Settings
Settings sets all settings of the snapshot repository.
snapshot_create_repository.go:118
Method
Settings
Settings adds the index settings.
indices_rollover.go:158
Method
Settings
Settings of the model.
search_aggs_pipeline_mov_avg.go:188
Method
Settings
Settings of the model.
search_aggs_pipeline_mov_avg.go:234
Method
Settings
Settings of the model.
search_aggs_pipeline_mov_avg.go:307
Method
Settings
Settings of the model.
search_aggs_pipeline_mov_avg.go:352
Method
Settings
Settings of the model.
search_aggs_pipeline_mov_avg.go:376
Method
ShardMinDocCount
(shardMinDocCount int)
search_aggs_bucket_multi_terms.go:83
Method
ShardMinDocCount
(shardMinDocCount int64)
search_aggs_bucket_significant_text.go:63
Method
ShardMinDocCount
(shardMinDocCount int)
search_aggs_bucket_significant_terms.go:52
Method
ShardMinDocCount
(shardMinDocCount int)
search_aggs_bucket_terms.go:86
Method
ShardSize
ShardSize sets the maximum number of docs returned from each shard.
search_aggs_bucket_sampler.go:39
Method
ShardSize
(shardSize int)
suggester_completion.go:112
Method
ShardSize
(shardSize int)
search_aggs_bucket_multi_terms.go:73
Method
ShardSize
(shardSize int)
suggester_phrase.go:70
Method
ShardSize
(shardSize int)
search_aggs_bucket_significant_text.go:79
Method
ShardSize
(shardSize int)
search_aggs_bucket_geohash_grid.go:38
Method
ShardSize
ShardSize sets the maximum number of docs returned from each shard.
search_aggs_bucket_diversified_sampler.go:53
Method
ShardSize
(shardSize int)
search_aggs_bucket_significant_terms.go:62
Method
ShardSize
(shardSize int)
search_aggs_bucket_terms.go:76
Method
ShardSize
ShardSize The maximum number of buckets to return from each shard. Optional.
search_aggs_bucket_geotile_grid.go:45
Method
ShortCircuitCutoff
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
Method
ShowTermDocCountError
(showTermDocCountError bool)
search_aggs_bucket_multi_terms.go:193
Method
ShowTermDocCountError
(showTermDocCountError bool)
search_aggs_bucket_terms.go:251
Method
Sigma
Sigma sets number of standard deviations above/below the mean to display
search_aggs_pipeline_extended_stats_bucket.go:69
Method
SignificanceHeuristic
(heuristic SignificanceHeuristic)
search_aggs_bucket_significant_terms.go:77
Method
Size
Size is the number of search hits to return. Defaults to 10.
search_source.go:98
Method
Size
(size int)
suggester_completion.go:107
Method
Size
(size int)
search_aggs_bucket_multi_terms.go:68
Method
Size
(size int)
suggester_phrase.go:65
Method
Size
(size int)
suggester_phrase.go:460
Method
Size
Size sets the number of top documents returned by the aggregation. The default size is 1.
search_aggs_metrics_top_metrics.go:49
Method
Size
Size adds the "size" parameter to the aggregation.
search_aggs_pipeline_bucket_sort.go:50
Method
Size
Size sets an upper limit for the number of processed documents.
reindex.go:201
Method
Size
(size int)
search_aggs_bucket_significant_text.go:71
Method
Size
Size represents the number of composite buckets to return. Defaults to 10 as of Elasticsearch 6.1.
search_aggs_bucket_composite.go:30
Method
Size
(size int)
search_aggs_metrics_top_hits.go:40
Method
Size
Size is the number of search hits to return (default is 10).
search_request.go:199
Method
Size
Size is the number of search hits to return. Defaults to 10.
search.go:279
Method
Size
Size represents the number of hits to return (default: 10).
update_by_query.go:367
Method
Size
Size is the number of search hits to return. Defaults to 10.
xpack_async_search_submit.go:274
Method
Size
(size int)
search_aggs_bucket_geohash_grid.go:33
Method
Size
Size represents the number of hits to return (default: 10).
delete_by_query.go:358
Method
Size
(size int)
suggester_term.go:59
Method
Size
(size int)
search_aggs_bucket_terms.go:66
Method
Size
Size The maximum number of buckets to return in the result structure. Optional.
search_aggs_bucket_geotile_grid.go:39
Method
Size
(size int)
suggester_context.go:49
Method
Size
Size specifies the number of documents Elasticsearch should return from each shard, per page.
scroll.go:148
Method
SkipDuplicates
(skipDuplicates bool)
suggester_completion.go:92
Method
Slice
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
Method
Slice
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
Method
Slices
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
Method
Slices
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
Method
Slop
Slop sets the phrase slop if evaluated to a phrase query type.
search_queries_match_phrase_prefix.go:35
Method
Slop
Slop sets the phrase slop if evaluated to a phrase query type.
search_queries_match_phrase.go:35
Method
Slop
Slop sets the phrase slop if evaluated to a phrase query type.
search_queries_multi_match.go:102
Method
SmoothingModel
(smoothingModel SmoothingModel)
suggester_phrase.go:141
Method
Snapshot
Snapshot is the list of snapshot names. If not set, defaults to all snapshots.
snapshot_status.go:91
Method
Snapshot
Snapshot name.
snapshot_restore.go:100
Method
Snapshot
Snapshot is the snapshot name.
snapshot_create.go:90
Method
Snapshot
Snapshot is the snapshot name.
snapshot_delete.go:87
Method
Sort
Sort is a list of fields to sort by.
cat_indices.go:142
← previous
next →
4,001–4,100 of 5,566, ranked by callers