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
↓ 2 callers
Method
Type
()
suggester_phrase.go:331
↓ 2 callers
Method
Type
()
suggester_phrase.go:356
↓ 2 callers
Method
Type
()
suggester_phrase.go:386
↓ 2 callers
Method
Unit
Unit specifies the distance unit to use. It defaults to km. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/common-options.html#distan
sort.go:377
↓ 2 callers
Method
Updated
Updated returns all bulk request results of "update" actions.
bulk.go:397
↓ 2 callers
Method
Validate
Validate checks if the operation is valid.
reindex.go:261
↓ 2 callers
Method
Validate
Validate checks if the operation is valid.
update_by_query.go:662
↓ 2 callers
Method
Validate
Validate checks if the operation is valid.
delete_by_query.go:643
↓ 2 callers
Method
ValueCount
ValueCount returns value-count aggregation results. See: https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-metrics-value
search_aggs.go:119
↓ 2 callers
Method
WaitForGreenStatus
WaitForGreenStatus waits for the cluster to have the "green" status. See WaitForStatus for more details.
client.go:2340
↓ 2 callers
Method
WaitForStatus
WaitForStatus can be used to wait until the cluster is in a specific state. Valid values are: green, yellow, or red.
cluster_health.go:141
↓ 2 callers
Method
XPackIlmGetLifecycle
XPackIlmGettLifecycle gets an ilm policy.
client.go:2134
↓ 2 callers
Method
XPackRollupPut
-- X-Pack Rollup -- XPackRollupPut creates or updates a rollup job.
client.go:2211
↓ 2 callers
Method
XPackRollupStart
XPackRollupStart starts a rollup job.
client.go:2226
↓ 2 callers
Method
XPackRollupStop
XPackRollupStop stops a rollup job.
client.go:2231
↓ 2 callers
Method
XPackSecurityDisableUser
XPackSecurityDisableUser disables a user.
client.go:2199
↓ 2 callers
Method
XPackSecurityEnableUser
XPackSecurityEnableUser enables a user.
client.go:2194
↓ 2 callers
Method
XPackSecurityGetRole
XPackSecurityGetRole gets a role.
client.go:2161
↓ 2 callers
Method
XPackSecurityGetRoleMapping
-- X-Pack Security -- XPackSecurityGetRoleMapping gets a role mapping.
client.go:2146
↓ 2 callers
Method
XPackSecurityPutRole
XPackSecurityPutRole adds a role.
client.go:2166
↓ 2 callers
Method
XPackSecurityPutRoleMapping
XPackSecurityPutRoleMapping adds a role mapping.
client.go:2151
↓ 2 callers
Method
XPackSecurityPutUser
XPackSecurityPutUser adds or updates a user.
client.go:2189
↓ 2 callers
Method
XPackWatchAck
XPackWatchAck acknowledging a watch.
client.go:2258
↓ 2 callers
Method
XPackWatchActivate
XPackWatchActivate activates a watch.
client.go:2263
↓ 2 callers
Method
XPackWatchDeactivate
XPackWatchDeactivate deactivates a watch.
client.go:2268
↓ 2 callers
Method
XPackWatchDelete
XPackWatchDelete deletes a watch.
client.go:2248
↓ 2 callers
Method
XPackWatchExecute
XPackWatchExecute executes a watch.
client.go:2253
↓ 2 callers
Method
XPackWatchPut
-- X-Pack Watcher -- XPackWatchPut adds a watch.
client.go:2238
↓ 2 callers
Method
XPackWatchStart
XPackWatchStart starts a watch.
client.go:2278
↓ 2 callers
Method
XPackWatchStop
XPackWatchStop stops a watch.
client.go:2283
↓ 2 callers
Function
benchmarkBulkCreateRequestSerialization
(b *testing.B, r *BulkCreateRequest)
bulk_create_request_test.go:110
↓ 2 callers
Function
benchmarkBulkDeleteRequestSerialization
(b *testing.B, r *BulkDeleteRequest)
bulk_delete_request_test.go:71
↓ 2 callers
Function
benchmarkBulkIndexRequestSerialization
(b *testing.B, r *BulkIndexRequest)
bulk_index_request_test.go:119
↓ 2 callers
Function
benchmarkBulkUpdateRequestSerialization
(b *testing.B, r *BulkUpdateRequest)
bulk_update_request_test.go:184
↓ 2 callers
Method
bodyFirst
bodyFirst returns the request to fetch the first batch of results.
scroll.go:526
↓ 2 callers
Method
buildFirstURL
buildFirstURL builds the URL for retrieving the first page.
scroll.go:445
↓ 2 callers
Method
buildURL
buildURL builds the URL for the operation.
reindex.go:221
↓ 2 callers
Method
buildURL
buildURL builds the URL for the operation.
update_by_query.go:491
↓ 2 callers
Method
buildURL
buildURL builds the URL for the operation.
delete_by_query.go:481
↓ 2 callers
Function
configToOptions
(cfg *config.Config)
client.go:435
↓ 2 callers
Function
easyjson1ed00e60DecodeGithubComOlivereElasticV7
(in *jlexer.Lexer, out *bulkUpdateRequestCommandOp)
bulk_update_request_easyjson.go:20
↓ 2 callers
Function
easyjson1ed00e60DecodeGithubComOlivereElasticV71
(in *jlexer.Lexer, out *bulkUpdateRequestCommandData)
bulk_update_request_easyjson.go:219
↓ 2 callers
Function
easyjson1ed00e60DecodeGithubComOlivereElasticV72
(in *jlexer.Lexer, out *bulkUpdateRequestCommand)
bulk_update_request_easyjson.go:426
↓ 2 callers
Function
easyjson1ed00e60EncodeGithubComOlivereElasticV7
(out *jwriter.Writer, in bulkUpdateRequestCommandOp)
bulk_update_request_easyjson.go:93
↓ 2 callers
Function
easyjson1ed00e60EncodeGithubComOlivereElasticV71
(out *jwriter.Writer, in bulkUpdateRequestCommandData)
bulk_update_request_easyjson.go:312
↓ 2 callers
Function
easyjson1ed00e60EncodeGithubComOlivereElasticV72
(out *jwriter.Writer, in bulkUpdateRequestCommand)
bulk_update_request_easyjson.go:447
↓ 2 callers
Function
easyjson29a8ef77DecodeGithubComOlivereElasticV7
(in *jlexer.Lexer, out *bulkCreateRequestCommandOp)
bulk_create_request_easyjson.go:20
↓ 2 callers
Function
easyjson29a8ef77DecodeGithubComOlivereElasticV71
(in *jlexer.Lexer, out *bulkCreateRequestCommand)
bulk_create_request_easyjson.go:239
↓ 2 callers
Function
easyjson29a8ef77EncodeGithubComOlivereElasticV7
(out *jwriter.Writer, in bulkCreateRequestCommandOp)
bulk_create_request_easyjson.go:103
↓ 2 callers
Function
easyjson29a8ef77EncodeGithubComOlivereElasticV71
(out *jwriter.Writer, in bulkCreateRequestCommand)
bulk_create_request_easyjson.go:260
↓ 2 callers
Function
easyjson8092efb6DecodeGithubComOlivereElasticV7
(in *jlexer.Lexer, out *bulkDeleteRequestCommandOp)
bulk_delete_request_easyjson.go:20
↓ 2 callers
Function
easyjson8092efb6DecodeGithubComOlivereElasticV71
(in *jlexer.Lexer, out *bulkDeleteRequestCommand)
bulk_delete_request_easyjson.go:199
↓ 2 callers
Function
easyjson8092efb6EncodeGithubComOlivereElasticV7
(out *jwriter.Writer, in bulkDeleteRequestCommandOp)
bulk_delete_request_easyjson.go:83
↓ 2 callers
Function
easyjson8092efb6EncodeGithubComOlivereElasticV71
(out *jwriter.Writer, in bulkDeleteRequestCommand)
bulk_delete_request_easyjson.go:220
↓ 2 callers
Function
easyjson9de0fcbfDecodeGithubComOlivereElasticV7
(in *jlexer.Lexer, out *bulkIndexRequestCommandOp)
bulk_index_request_easyjson.go:20
↓ 2 callers
Function
easyjson9de0fcbfDecodeGithubComOlivereElasticV71
(in *jlexer.Lexer, out *bulkIndexRequestCommand)
bulk_index_request_easyjson.go:239
↓ 2 callers
Function
easyjson9de0fcbfEncodeGithubComOlivereElasticV7
(out *jwriter.Writer, in bulkIndexRequestCommandOp)
bulk_index_request_easyjson.go:103
↓ 2 callers
Function
easyjson9de0fcbfEncodeGithubComOlivereElasticV71
(out *jwriter.Writer, in bulkIndexRequestCommand)
bulk_index_request_easyjson.go:260
↓ 2 callers
Method
estimateSizeInBytes
estimateSizeInBytes returns the estimates size of the given bulkable request, i.e. BulkIndexRequest, BulkUpdateRequest, and BulkDeleteRequest.
bulk.go:195
↓ 2 callers
Method
expandMap
(buf *bytes.Buffer, t templateTerm, m map[string]interface{})
uritemplates/uritemplates.go:301
↓ 2 callers
Method
expandString
(buf *bytes.Buffer, t templateTerm, s string)
uritemplates/uritemplates.go:264
↓ 2 callers
Method
extractHostname
extractHostname returns the URL from the http.publish_address setting.
client.go:1019
↓ 2 callers
Method
getBody
getBody returns the body part of the document request.
update_by_query.go:674
↓ 2 callers
Method
healthchecker
healthchecker periodically runs healthcheck.
client.go:1072
↓ 2 callers
Method
setBodyGzip
setBodyGzip gzip's the body. It accepts both strings and structs as body. The latter will be encoded via json.Marshal.
request.go:71
↓ 2 callers
Method
sniffNode
sniffNode sniffs a single node. This method is run as a goroutine in sniff. If successful, it returns the list of node URLs extracted from the result
client.go:975
↓ 2 callers
Method
sniffer
sniffer periodically runs sniff.
client.go:879
↓ 2 callers
Function
struct2map
(v interface{})
uritemplates/uritemplates.go:336
↓ 2 callers
Function
testPerformRequestWithCompression
(t *testing.T, hc *http.Client)
client_test.go:1838
↓ 2 callers
Method
tracef
tracef logs to the trace log.
client.go:852
↓ 1 callers
Method
ActionId
ActionId is a slice of action ids to be acked.
xpack_watcher_ack_watch.go:88
↓ 1 callers
Method
Add
Add adds documents to MultiTermvectors service.
mtermvectors.go:101
↓ 1 callers
Method
Add
Add adds an alias to an index.
indices_put_alias.go:305
↓ 1 callers
Method
Add
Add adds one or more commands to be executed.
cluster_reroute.go:131
↓ 1 callers
Method
Add
(requests ...*SearchRequest)
msearch.go:79
↓ 1 callers
Method
AddMapping
AddMapping adds a mapping for the given type.
indices_rollover.go:176
↓ 1 callers
Method
AddSetting
AddSetting adds an index setting.
indices_rollover.go:164
↓ 1 callers
Method
AutoGenerateSynonymsPhraseQuery
AutoGenerateSynonymsPhraseQuery indicates whether phrase queries should be automatically generated for multi terms synonyms. Defaults to true.
search_queries_combined_fields.go:49
↓ 1 callers
Method
Backoff
Backoff sets the backoff strategy to use for errors.
bulk_processor.go:139
↓ 1 callers
Method
Boost
(boost float64)
search_queries_bool.go:55
↓ 1 callers
Method
Boost
Boost sets the boost for this query.
search_queries_term.go:26
↓ 1 callers
Method
Boost
Boost sets the boost for this query.
search_queries_terms.go:52
↓ 1 callers
Method
BottomLeft
BottomLeft position from longitude (left) and latitude (bottom).
search_queries_geo_bounding_box.go:67
↓ 1 callers
Method
BottomRightFromGeoPoint
BottomRightFromGeoPoint from a GeoPoint.
search_queries_geo_bounding_box.go:56
↓ 1 callers
Method
BoundaryChars
(boundaryChars string)
highlight.go:109
↓ 1 callers
Method
BoundaryScannerType
(boundaryScannerType string)
highlight.go:114
↓ 1 callers
Method
Bounds
Bounds The bounding box to filter the points in the bucket. Optional.
search_aggs_bucket_geotile_grid.go:51
↓ 1 callers
Method
ByName
ByName returns the template with the given name, if it exists. The bool indicates whether a template with that name has been found.
indices_get_index_template.go:202
↓ 1 callers
Method
CandidateGenerators
(generators ...CandidateGenerator)
suggester_phrase.go:124
↓ 1 callers
Method
CatAllocation
CatAllocation returns information about the allocation across nodes.
client.go:1929
↓ 1 callers
Method
CatFielddata
CatFielddata returns information about the amount of heap memory currently used by the field data cache.
client.go:1919
↓ 1 callers
Method
CatHealth
CatHealth returns information about cluster health.
client.go:1939
↓ 1 callers
Method
CatMaster
-- cat APIs -- TODO cat nodes TODO cat pending tasks TODO cat plugins TODO cat recovery TODO cat thread pool TODO cat shards TODO cat segments CatMast
client.go:1914
↓ 1 callers
Method
Children
Children returns children results. See: https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-bucket-children-aggregation.ht
search_aggs.go:344
↓ 1 callers
Method
ClearScroll
ClearScroll can be used to clear search contexts manually.
client.go:1638
↓ 1 callers
Method
CloseIndex
CloseIndex closes an index.
client.go:1692
↓ 1 callers
Method
ClosePointInTime
ClosePointInTime closes an existing Point in Time.
client.go:1648
↓ 1 callers
Method
CollatePreference
(collatePreference string)
suggester_phrase.go:162
↓ 1 callers
Method
CombineScript
(script *Script)
search_aggs_metrics_scripted_metric.go:34
↓ 1 callers
Method
Conditions
Conditions allows to specify all conditions as a dictionary.
indices_rollover.go:134
← previous
next →
701–800 of 5,566, ranked by callers