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
↓ 1 callers
Method
SearchShards
SearchShards returns statistical information about nodes and shards.
client.go:1617
↓ 1 callers
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
search.go:185
↓ 1 callers
Method
SeqNoAndPrimaryTerm
SeqNoAndPrimaryTerm specifies whether to return sequence number and primary term of the last modification of each hit.
xpack_async_search_submit.go:465
↓ 1 callers
Function
SetErrorLog
SetErrorLog sets the logger for critical messages like nodes joining or leaving the cluster or failing requests. It is nil by default.
client.go:690
↓ 1 callers
Method
SetErrorLogFile
(name string)
cluster-test/cluster-test.go:117
↓ 1 callers
Method
SetInfoLogFile
(name string)
cluster-test/cluster-test.go:121
↓ 1 callers
Function
SetRequiredPlugins
SetRequiredPlugins can be used to indicate that some plugins are required before a Client will be created.
client.go:678
↓ 1 callers
Function
SetRetryStatusCodes
SetRetryStatusCodes specifies the HTTP status codes where the client will retry automatically. Notice that retries call the specified retrier, so call
client.go:740
↓ 1 callers
Function
SetSnifferCallback
SetSnifferCallback allows the caller to modify sniffer decisions. When setting the callback, the given SnifferCallback is called for each (healthy) no
client.go:582
↓ 1 callers
Method
SetTraceLogFile
(name string)
cluster-test/cluster-test.go:125
↓ 1 callers
Method
Should
(queries ...Query)
search_queries_bool.go:50
↓ 1 callers
Method
ShrinkIndex
ShrinkIndex returns a service to shrink one index into another.
client.go:1670
↓ 1 callers
Method
SnapshotGet
SnapshotGet lists snapshot for a repository.
client.go:2069
↓ 1 callers
Method
SnapshotGetRepository
SnapshotGetRepository gets a snapshot repository.
client.go:2064
↓ 1 callers
Method
SnapshotStatus
TODO Pending cluster tasks TODO Cluster Reroute TODO Cluster Update Settings TODO Nodes Stats TODO Nodes hot_threads -- Snapshot and Restore -- Snapsh
client.go:2039
↓ 1 callers
Method
SnapshotVerifyRepository
SnapshotVerifyRepository verifies a snapshot repository.
client.go:2074
↓ 1 callers
Method
SocketTimeout
SocketTimeout sets the socket timeout to connect with the remote cluster. Use ES compatible values like e.g. "30s" or "1m".
reindex.go:595
↓ 1 callers
Method
SortBy
SortBy specifies a sort order. Notice that sorting can have a negative impact on scroll performance.
scroll.go:239
↓ 1 callers
Method
Source
Source creates the source for the MLT query. It may return an error if the caller forgot to specify any documents to be "liked" in the MoreLikeThisQue
search_queries_more_like_this.go:200
↓ 1 callers
Method
Source
Source returns JSON for the query.
search_queries_type.go:20
↓ 1 callers
Method
Source
Source returns the JSON body.
search_queries_span_first.go:53
↓ 1 callers
Method
Source
Creates the query source for the bool query.
search_queries_bool.go:81
↓ 1 callers
Method
Source
Source returns the on-wire representation of the update request, split into an action-and-meta-data line and an (optional) source line. See https://ww
bulk_update_request.go:241
↓ 1 callers
Method
Source
()
mtermvectors.go:208
↓ 1 callers
Method
Source
()
search_aggs_bucket_reverse_nested.go:48
↓ 1 callers
Method
Source
Source returns the JSON-serializable query data.
search_queries_regexp.go:63
↓ 1 callers
Method
Source
Source returns the request body, which will be serialized into JSON.
mget.go:128
↓ 1 callers
Method
Source
()
highlight.go:415
↓ 1 callers
Method
Source
Source returns the serializable JSON for the source builder.
search_source.go:387
↓ 1 callers
Method
Source
Source returns the JSON-serializable data.
sort.go:140
↓ 1 callers
Method
Source
Source returns the JSON-serializable data.
sort.go:267
↓ 1 callers
Method
Source
()
suggester_phrase.go:335
↓ 1 callers
Method
Source
()
suggester_phrase.go:360
↓ 1 callers
Method
Source
()
suggester_phrase.go:390
↓ 1 callers
Method
Source
Source returns JSON for the query.
search_queries_simple_query_string.go:166
↓ 1 callers
Method
Source
Source returns the on-wire representation of the delete request, split into an action-and-meta-data line and an (optional) source line. See https://ww
bulk_delete_request.go:151
↓ 1 callers
Method
Source
Source serializes the DocvalueFields into JSON.
docvalue_field.go:29
↓ 1 callers
Method
Source
Source returns the on-wire representation of the create request, split into an action-and-meta-data line and an (optional) source line. See https://ww
bulk_create_request.go:183
↓ 1 callers
Method
Source
()
search_queries_rank_feature.go:92
↓ 1 callers
Method
Source
Source returns the JSON encoded body
search_queries_raw_string.go:22
↓ 1 callers
Method
Source
Source returns the JSON serializable content for this query.
search_queries_exists.go:32
↓ 1 callers
Method
Source
()
inner_hit.go:158
↓ 1 callers
Method
Source
()
cluster_reroute.go:268
↓ 1 callers
Method
Source
returns the weight which must be serialized at the level of FunctionScoreQuery
search_queries_fsq_score_funcs.go:15
↓ 1 callers
Method
Source
Source returns JSON for the query.
search_queries_nested.go:63
↓ 1 callers
Method
Source
Source returns the JSON serializable data for this Script.
script.go:86
↓ 1 callers
Method
Source
Source returns the on-wire representation of the index request, split into an action-and-meta-data line and an (optional) source line. See https://www
bulk_index_request.go:193
↓ 1 callers
Method
Source
()
search_aggs_bucket_global.go:34
↓ 1 callers
Method
Source
Source returns JSON for the function score query.
search_queries_has_child.go:83
↓ 1 callers
Method
Source
Source returns the JSON serializable content for this query.
search_queries_dis_max.go:62
↓ 1 callers
Method
Source
Source returns the JSON serializable body of this query.
search_queries_wildcard.go:58
↓ 1 callers
Method
Source
Source returns JSON for the query.
search_queries_wrapper.go:21
↓ 1 callers
Method
Source
Source returns JSON for the query.
search_queries_prefix.go:50
↓ 1 callers
Method
Source
Source returns JSON for the match none query.
search_queries_match_none.go:28
↓ 1 callers
Method
Source
Source returns the a JSON-serializable interface.
search_aggs_pipeline_mov_fn.go:95
↓ 1 callers
Method
Source
()
rescorer.go:9
↓ 1 callers
Method
Source
Source returns JSON for the function score query.
search_queries_interval.go:37
↓ 1 callers
Method
Source
Source returns a JSON serializable struct.
search_aggs_bucket_terms.go:366
↓ 1 callers
Method
Source
Creates the query source for the boosting query.
search_queries_boosting.go:45
↓ 1 callers
Method
Source
Source deserializes the runtime mappings.
runtime_mappings.go:14
↓ 1 callers
Method
Source
Source returns JSON for the percolate query.
search_queries_percolator.go:85
↓ 1 callers
Method
Start
Start starts the bulk processor. If the processor is already started, nil is returned.
bulk_processor.go:313
↓ 1 callers
Method
StatsBucket
StatsBucket returns stats bucket pipeline aggregation results. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-pip
search_aggs.go:675
↓ 1 callers
Method
String
()
setup_test.go:238
↓ 1 callers
Method
Strings
Strings returns a slice of strings for the given field, if there is any such field in the hit. The method ignores elements that are not of type string
search.go:799
↓ 1 callers
Method
SyncedFlush
SyncedFlush performs a synced flush. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/indices-synced-flush.html for more details on sy
client.go:1761
↓ 1 callers
Method
Target
Target is the name of the target index to shrink into.
indices_shrink.go:95
↓ 1 callers
Method
TermsLookup
TermsLookup adds terms lookup details to the query.
search_queries_terms.go:46
↓ 1 callers
Method
Text
(text string)
suggester_completion.go:41
↓ 1 callers
Method
Text
(text string)
suggester_phrase.go:50
↓ 1 callers
Method
TimeZone
TimeZone can be used to automatically adjust to/from fields using a timezone. Only used with date fields, of course.
search_queries_query_string.go:237
↓ 1 callers
Method
TopMetrics
TopMetrics returns top metrics aggregation results. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-metrics-top-me
search_aggs.go:861
↓ 1 callers
Method
TopRight
TopRight position from longitude (right) and latitude (top).
search_queries_geo_bounding_box.go:84
↓ 1 callers
Method
TrackTotalHits
TrackTotalHits controls if the total hit count for the query should be tracked. See https://www.elastic.co/guide/en/elasticsearch/reference/7.1/searc
search.go:377
↓ 1 callers
Method
Type
Type sets the type of executing the geo bounding box. It can be either memory or indexed. It defaults to memory.
search_queries_geo_bounding_box.go:109
↓ 1 callers
Method
UnfreezeIndex
UnfreezeIndex unfreezes an index. Deprecated: Frozen indices are deprecated because they provide no benefit given improvements in heap memory utiliza
client.go:1708
↓ 1 callers
Method
UnmappedType
UnmappedType sets the type to use when the current field is not mapped in an index.
sort.go:209
↓ 1 callers
Method
UnmarshalEasyJSON
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
bulk_index_request_easyjson.go:300
↓ 1 callers
Method
UnmarshalEasyJSON
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
bulk_delete_request_easyjson.go:260
↓ 1 callers
Method
UnmarshalEasyJSON
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
bulk_create_request_easyjson.go:300
↓ 1 callers
Method
UseExplicitFieldOrder
(useExplicitFieldOrder bool)
highlight.go:154
↓ 1 callers
Method
Usernames
Usernames are the names of one or more users to retrieve.
xpack_security_get_user.go:80
↓ 1 callers
Method
Validate
Validate checks if the operation is valid.
xpack_watcher_start.go:98
↓ 1 callers
Method
Validate
Validate checks if the operation is valid.
index.go:307
↓ 1 callers
Method
Validate
Validate checks if the operation is valid.
indices_put_component_template.go:161
↓ 1 callers
Method
Validate
Validate checks if the operation is valid.
xpack_watcher_delete_watch.go:123
↓ 1 callers
Method
Validate
Validate checks if the operation is valid. Validation only fails if snapshot names were provided but no repository was provided.
snapshot_status.go:152
↓ 1 callers
Method
Validate
Validate checks if the operation is valid.
xpack_security_get_role.go:113
↓ 1 callers
Method
Validate
Validate checks if the operation is valid.
indices_delete.go:168
↓ 1 callers
Method
Validate
Validate checks if the operation is valid.
mtermvectors.go:296
↓ 1 callers
Method
Validate
Validate checks if the operation is valid.
xpack_security_put_role_mapping.go:120
↓ 1 callers
Method
Validate
Validate checks if the operation is valid.
indices_put_alias.go:88
↓ 1 callers
Method
Validate
Validate checks if the operation is valid.
indices_put_alias.go:173
↓ 1 callers
Method
Validate
Validate checks if the operation is valid.
indices_put_alias.go:220
↓ 1 callers
Method
Validate
Validate checks if the operation is valid.
count.go:330
↓ 1 callers
Method
Validate
Validate checks if the operation is valid.
xpack_info.go:103
↓ 1 callers
Method
Validate
Validate checks if the operation is valid.
xpack_async_search_get.go:135
↓ 1 callers
Method
Validate
Validate checks if the operation is valid.
script_delete.go:139
↓ 1 callers
Method
Validate
Validate checks if the operation is valid.
exists.go:185
↓ 1 callers
Method
Validate
Validate checks if the operation is valid.
xpack_ilm_put_lifecycle.go:156
← previous
next →
1,101–1,200 of 5,566, ranked by callers