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
Do
(ctx context.Context)
msearch.go:99
Method
Do
Do executes the request.
indices_refresh.go:119
Method
Do
Do creates a new BulkProcessor and starts it. Consider the BulkProcessor as a running instance that accepts bulk requests and commits them to Elastics
bulk_processor.go:166
Method
Do
Do executes the operation.
nodes_info.go:155
Method
Do
Do executes the service. Deprecated: Frozen indices are deprecated because they provide no benefit given improvements in heap memory utilization.
indices_freeze.go:201
Method
Do
Do executes the operation.
xpack_rollup_stop.go:125
Method
Do
Do executes the operation.
xpack_security_change_password.go:155
Method
Do
Do executes the operation.
xpack_rollup_delete.go:125
Method
Do
Do executes the operation.
xpack_security_put_role.go:135
Method
Do
Do executes the operation.
cluster_state.go:205
Method
Do
Do executes the operation.
ingest_get_pipeline.go:136
Method
Do
Do executes the operation.
xpack_security_get_user.go:131
Method
Do
Do sends the batched requests to Elasticsearch. Note that, when successful, you can reuse the BulkService for the next batch as the list of bulk reque
bulk.go:233
Method
Do
Do executes the operation.
xpack_security_delete_user.go:136
Method
Do
Do executes the operation.
snapshot_delete_repository.go:147
Method
Do
Do executes the operation.
xpack_security_enable_user.go:136
Method
Do
Do executes the operation.
indices_get_settings.go:204
Method
Do
Do executes the operation.
cluster_stats.go:138
Method
Do
Do executes the operation.
snapshot_verify_repository.go:146
Method
Do
Do executes the operation.
get.go:267
Method
Do
Do executes the operation.
xpack_rollup_start.go:125
Method
Do
Do executes the operation. Deprecated: Legacy index templates are deprecated in favor of composable templates.
indices_exists_template.go:150
Method
Do
Do executes the operation.
search_shards.go:190
Method
Do
Do executes the operation. It returns mapping definitions for an index or index/type.
indices_get_field_mapping.go:208
Method
Do
Do executes the operation.
termvectors.go:335
Method
Do
Do executes the operation.
snapshot_create.go:169
Method
Do
Do executes the operation.
xpack_rollup_put.go:135
Method
Do
Do executes the operation.
pit_open.go:204
Method
Do
Do executes the operation.
indices_clear_cache.go:206
Method
Do
Do executes the operation.
indices_get.go:200
Method
Do
Do executes the operation.
xpack_watcher_stats.go:124
Method
Do
Do executes the operation.
indices_delete_component_template.go:146
Method
Do
Do executes the operation.
indices_exists.go:172
Method
Do
Do executes the operation.
nodes_stats.go:243
Method
Do
Do executes the operation.
snapshot_delete.go:121
Method
Do
Do executes the operation.
xpack_security_disable_user.go:136
Method
Do
Do executes the operation.
xpack_watcher_deactivate_watch.go:135
Method
Do
Do executes the service. Deprecated: Frozen indices are deprecated because they provide no benefit given improvements in heap memory utilization.
indices_unfreeze.go:201
Method
Do
Do executes the operation. Deprecated: Legacy index templates are deprecated in favor of composable templates.
indices_put_template.go:234
Method
Do
Do executes the operation.
xpack_security_delete_role.go:125
Method
Do
Do executes the operation.
snapshot_get.go:173
Method
Do
Do executes the operation.
xpack_async_search_delete.go:120
Method
Do
Do returns the next search result. It will return io.EOF as error if there are no more search results.
scroll.go:345
Method
DoAsync
DoAsync executes the update-by-query operation asynchronously by starting a new task. Callers need to use the Task Management API to watch the outcome
update_by_query.go:739
Method
DoAsync
DoAsync executes the delete-by-query operation asynchronously by starting a new task. Callers need to use the Task Management API to watch the outcome
delete_by_query.go:704
Method
Doc
Doc represents a raw document template for the item.
search_queries_more_like_this.go:337
Method
Doc
Doc specifies the updated document.
bulk_update_request.go:184
Method
Doc
Doc is the document to analyze.
mtermvectors.go:396
Method
Doc
Doc specifies the document to create.
bulk_create_request.go:135
Method
Doc
Doc specifies the document to index.
bulk_index_request.go:145
Method
Doc
Doc is the document to analyze.
termvectors.go:130
Method
DocAsUpsert
DocAsUpsert indicates whether the contents of Doc should be used as the Upsert value. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0
bulk_update_request.go:195
Method
DocValueField
DocValueField adds a docvalue based field to load and return. The field does not have to be stored, but it's recommended to use non analyzed or numeri
search_request.go:255
Method
DocValueFieldWithFormat
DocValueFieldWithFormat adds a docvalue based field to load and return. The field does not have to be stored, but it's recommended to use non analyzed
search_request.go:263
Method
DocValueFields
DocValueFields adds one or more docvalue based field to load and return. The fields do not have to be stored, but it's recommended to use non analyzed
search_request.go:271
Method
DocValueFieldsWithFormat
DocValueFieldsWithFormat adds one or more docvalue based field to load and return. The fields do not have to be stored, but it's recommended to use no
search_request.go:279
Method
DocumentType
Deprecated: DocumentType is deprecated as of 6.0.
search_queries_percolator.go:44
Method
DocvalueField
DocvalueField adds a single field to load from the field data cache and return as part of the search request.
search_source.go:302
Method
DocvalueField
(docvalueField string)
search_aggs_metrics_top_hits.go:85
Method
DocvalueField
DocvalueField adds a single field to load from the field data cache and return as part of the search.
search.go:318
Method
DocvalueField
DocvalueField adds a single field to load from the field data cache and return as part of the search.
xpack_async_search_submit.go:313
Method
DocvalueField
DocvalueField adds a single field to load from the field data cache and return as part of the search.
scroll.go:644
Method
DocvalueFieldWithFormat
DocvalueField adds a single docvalue field to load from the field data cache and return as part of the search request.
search_source.go:309
Method
DocvalueFieldWithFormat
(docvalueField DocvalueField)
search_aggs_metrics_top_hits.go:90
Method
DocvalueFieldWithFormat
DocvalueFieldWithFormat adds a single field to load from the field data cache and return as part of the search.
search.go:325
Method
DocvalueFieldWithFormat
DocvalueFieldWithFormat adds a single field to load from the field data cache and return as part of the search.
xpack_async_search_submit.go:320
Method
DocvalueFieldWithFormat
DocvalueFieldWithFormat adds a single field to load from the field data cache and return as part of the search.
scroll.go:651
Method
DocvalueFields
DocvalueFields adds one or more fields to load from the field data cache and return as part of the search request.
search_source.go:316
Method
DocvalueFields
(docvalueFields ...string)
search_aggs_metrics_top_hits.go:75
Method
DocvalueFields
DocvalueFields adds one or more fields to load from the field data cache and return as part of the search.
search.go:332
Method
DocvalueFields
DocvalueFields specifies the list of fields to return as the docvalue representation of a field for each hit.
update_by_query.go:227
Method
DocvalueFields
DocvalueFields adds one or more fields to load from the field data cache and return as part of the search.
xpack_async_search_submit.go:327
Method
DocvalueFields
DocvalueFields specifies the list of fields to return as the docvalue representation of a field for each hit.
delete_by_query.go:222
Method
DocvalueFields
DocvalueFields adds one or more fields to load from the field data cache and return as part of the search.
scroll.go:658
Method
DocvalueFieldsWithFormat
DocvalueFields adds one or more docvalue fields to load from the field data cache and return as part of the search request.
search_source.go:325
Method
DocvalueFieldsWithFormat
(docvalueFields ...DocvalueField)
search_aggs_metrics_top_hits.go:80
Method
DocvalueFieldsWithFormat
DocvalueFieldsWithFormat adds one or more fields to load from the field data cache and return as part of the search.
search.go:339
Method
DocvalueFieldsWithFormat
DocvalueFieldsWithFormat adds one or more fields to load from the field data cache and return as part of the search.
xpack_async_search_submit.go:334
Method
DocvalueFieldsWithFormat
DocvalueFieldsWithFormat adds one or more fields to load from the field data cache and return as part of the search.
scroll.go:665
Method
DryRun
DryRun, when set, specifies that only conditions are checked without performing the actual rollover.
indices_rollover.go:128
Method
Each
Each is a utility function to iterate over all hits. It saves you from checking for nil values. Notice that Each will ignore errors in serializing JSO
xpack_async_search_submit.go:709
Method
EmitStacktraces
EmitStacktraces, if enabled, emits stack traces of currently running watches.
xpack_watcher_stats.go:85
Method
EnablePositionIncrements
EnablePositionIncrements indicates whether to enable position increments in result query. Defaults to true. When set, result phrase and multi-phrase
search_queries_query_string.go:148
Method
Encoder
(encoder string)
highlight.go:74
Method
Error
Error returns a string representation of the error.
errors.go:105
Method
Error
Error returns a string representation of the error.
trace/opencensus/transport.go:134
Method
ErrorTrace
ErrorTrace specifies whether to include the stack trace of returned errors.
xpack_watcher_start.go:49
Method
ErrorTrace
ErrorTrace specifies whether to include the stack trace of returned errors.
index.go:73
Method
ErrorTrace
ErrorTrace specifies whether to include the stack trace of returned errors.
indices_put_component_template.go:60
Method
ErrorTrace
ErrorTrace specifies whether to include the stack trace of returned errors.
xpack_watcher_delete_watch.go:54
Method
ErrorTrace
ErrorTrace specifies whether to include the stack trace of returned errors.
snapshot_status.go:58
Method
ErrorTrace
ErrorTrace specifies whether to include the stack trace of returned errors.
xpack_security_get_role.go:53
Method
ErrorTrace
ErrorTrace specifies whether to include the stack trace of returned errors.
indices_delete.go:60
Method
ErrorTrace
ErrorTrace specifies whether to include the stack trace of returned errors.
mtermvectors.go:74
Method
ErrorTrace
ErrorTrace specifies whether to include the stack trace of returned errors.
cat_indices.go:62
Method
ErrorTrace
ErrorTrace specifies whether to include the stack trace of returned errors.
xpack_security_put_role_mapping.go:54
Method
ErrorTrace
ErrorTrace specifies whether to include the stack trace of returned errors.
indices_put_alias.go:278
Method
ErrorTrace
ErrorTrace specifies whether to include the stack trace of returned errors.
cat_master.go:56
Method
ErrorTrace
ErrorTrace specifies whether to include the stack trace of returned errors.
count.go:72
Method
ErrorTrace
ErrorTrace specifies whether to include the stack trace of returned errors.
xpack_info.go:51
← previous
next →
1,901–2,000 of 5,566, ranked by callers