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
Confidence
(confidence float64)
suggester_phrase.go:107
↓ 1 callers
Method
ConnectTimeout
ConnectTimeout sets the connection timeout to connect with the remote cluster. Use ES compatible values like e.g. "30s" or "1m".
reindex.go:602
↓ 1 callers
Method
ContextQueries
(queries ...SuggesterContextQuery)
suggester_context.go:59
↓ 1 callers
Method
CutoffFrequency
CutoffFrequency can be a value in [0..1] (or an absolute number >=1). It represents the maximum treshold of a terms document frequency to be considere
search_queries_match.go:78
↓ 1 callers
Method
DefaultField
DefaultField specifies the field to run against when no prefix field is specified. Only relevant when not explicitly adding fields the query string wi
search_queries_query_string.go:58
↓ 1 callers
Function
DialWithConfig
DialWithConfig will use the configuration settings parsed from config package to connect to Elasticsearch. The context is honoured in terms of e.g. c
client.go:427
↓ 1 callers
Method
DistanceType
DistanceType describes how to compute the distance, e.g. "arc" or "plane". See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-requ
sort.go:399
↓ 1 callers
Method
DistanceType
(distanceType string)
search_queries_geo_distance.go:59
↓ 1 callers
Method
DocvalueField
(docvalueField string)
inner_hit.go:109
↓ 1 callers
Method
DocvalueFieldWithFormat
(docvalueField DocvalueField)
inner_hit.go:114
↓ 1 callers
Method
ExecutionHint
(hint string)
search_aggs_bucket_terms.go:240
↓ 1 callers
Method
Expand
Expand expands a URI template with a set of values to produce a string.
uritemplates/uritemplates.go:188
↓ 1 callers
Method
Feature
Feature is a list of features.
indices_get.go:95
↓ 1 callers
Method
FetchSourceIncludeExclude
FetchSourceIncludeExclude specifies that _source should be returned with each hit, where "include" and "exclude" serve as a simple wildcard matcher th
reindex.go:509
↓ 1 callers
Method
Field
(field string)
suggester_completion.go:97
↓ 1 callers
Method
Field
(field string)
suggester_phrase.go:55
↓ 1 callers
Method
Field
(field string)
suggester_term.go:49
↓ 1 callers
Method
Field
(field string)
suggester_context.go:44
↓ 1 callers
Method
FieldCaps
FieldCaps returns statistical information about fields in indices.
client.go:1622
↓ 1 callers
Method
FieldWithBoost
FieldWithBoost adds a field to run the multi match against with a specific boost.
search_queries_multi_match.go:55
↓ 1 callers
Method
Filter
Filter associates a filter to the alias.
indices_put_alias.go:57
↓ 1 callers
Method
Flags
Flags sets the regexp flags.
search_queries_regexp.go:28
↓ 1 callers
Method
Flush
Flush manually asks all workers to commit their outstanding requests. It returns only when all workers acknowledge completion.
bulk_processor.go:409
↓ 1 callers
Method
FreezeIndex
FreezeIndex freezes an index. Deprecated: Frozen indices are deprecated because they provide no benefit given improvements in heap memory utilization
client.go:1700
↓ 1 callers
Method
FuzzyOptions
(options *FuzzyCompletionSuggesterOptions)
suggester_completion.go:63
↓ 1 callers
Method
FuzzyRewrite
FuzzyRewrite sets the fuzzy_rewrite parameter controlling how the fuzzy query will get rewritten.
search_queries_match.go:92
↓ 1 callers
Method
FuzzyTranspositions
FuzzyTranspositions sets whether transpositions are supported in fuzzy queries. The default metric used by fuzzy queries to determine a match is the
search_queries_match.go:105
↓ 1 callers
Method
Gamma
(gamma float64)
search_aggs_pipeline_mov_avg.go:281
↓ 1 callers
Method
GapInsertZeros
GapInsertZeros inserts zeros for gaps in the series.
search_aggs_pipeline_mov_fn.go:65
↓ 1 callers
Method
GeoHash
(geohash string)
search_queries_geo_distance.go:49
↓ 1 callers
Method
GetFieldMapping
GetFieldMapping gets mapping for fields.
client.go:1899
↓ 1 callers
Method
GetScript
-- Scripting APIs -- GetScript reads a stored script in Elasticsearch. Use PutScript for storing a script.
client.go:2087
↓ 1 callers
Method
GetWeight
()
search_queries_fsq_score_funcs.go:14
↓ 1 callers
Method
Headers
Headers specifies the headers of the request.
get.go:90
↓ 1 callers
Method
Host
Host sets the host information of the remote cluster. It must be of the form "http(s)://<hostname>:<port>"
reindex.go:576
↓ 1 callers
Method
IPRange
IPRange returns IP range aggregation results. See: https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-bucket-iprange-aggr
search_aggs.go:494
↓ 1 callers
Method
Id
Id represents the document id of the item.
search_queries_more_like_this.go:331
↓ 1 callers
Method
IgnoreLikeItems
IgnoreLikeItems sets the documents from which the terms should not be selected from.
search_queries_more_like_this.go:88
↓ 1 callers
Method
IgnoreUnmapped
IgnoreUnmapped indicates whether to ignore unmapped fields (and run a MatchNoDocsQuery in place of this).
search_queries_geo_bounding_box.go:124
↓ 1 callers
Method
InOrder
InOrder, when true, the spans from each clause must be in the same order as in Clauses and must be non-overlapping. Defaults to true.
search_queries_span_near.go:48
↓ 1 callers
Method
IncludeAliases
IncludeAliases flags whether indices should be restored with their respective aliases, defaults to false.
snapshot_restore.go:162
↓ 1 callers
Method
IncludeGlobalState
IncludeGlobalState allows the global cluster state to be restored, defaults to false.
snapshot_restore.go:125
↓ 1 callers
Method
Index
Index specifies the indices to use in the request.
search_request.go:59
↓ 1 callers
Method
Index
(indices ...string)
msearch.go:84
↓ 1 callers
Method
Index
Index in which the document resides.
termvectors.go:103
↓ 1 callers
Method
IndexBoosts
IndexBoosts sets the boosts for specific indices.
search_source.go:350
↓ 1 callers
Method
IndexGet
IndexGet retrieves information about one or more indices. IndexGet is only available for Elasticsearch 1.4 or later.
client.go:1714
↓ 1 callers
Method
IndexGetComponentTemplate
IndexGetComponentTemplate returns a component template (available since 7.8). This service implements the component templates as described on https:/
client.go:1876
↓ 1 callers
Method
IndexMetric
IndexMetric limits the information returned for `indices` metric to the specific index metrics. Isn't used if `indices` (or `all`) metric isn't specif
nodes_stats.go:98
↓ 1 callers
Method
IndexPutComponentTemplate
-- Component templates -- IndexPutComponentTemplate creates or updates a component template (available since 7.8). This service implements the compon
client.go:1868
↓ 1 callers
Method
IndexRouting
IndexRouting associates an index routing value to the alias.
indices_put_alias.go:70
↓ 1 callers
Method
IndexSettings
IndexSettings sets the settings to be overwritten during the restore process
snapshot_restore.go:155
↓ 1 callers
Method
IndexTemplateExists
IndexTemplateExists gets check if an index template exists (v1/legacy version before 7.8). This service implements the legacy version of index templa
client.go:1802
↓ 1 callers
Method
IndexedDocumentPreference
(preference string)
search_queries_percolator.go:74
↓ 1 callers
Method
IndexedDocumentRouting
(routing string)
search_queries_percolator.go:69
↓ 1 callers
Method
IndexedDocumentType
(typ string)
search_queries_percolator.go:59
↓ 1 callers
Method
Indices
Indices sets the name of the indices that should be restored from the snapshot.
snapshot_restore.go:119
↓ 1 callers
Method
IngestSimulatePipeline
IngestSimulatePipeline executes a specific pipeline against the set of documents provided in the body of the request.
client.go:1978
↓ 1 callers
Method
InitScript
(script *Script)
search_aggs_metrics_scripted_metric.go:24
↓ 1 callers
Method
InnerHit
InnerHit sets the inner hit definition in the scope of this nested query and reusing the defined path and query.
search_queries_nested.go:50
↓ 1 callers
Method
InnerHit
InnerHit sets the inner hit definition in the scope of this query and reusing the defined type and query.
search_queries_has_child.go:77
↓ 1 callers
Method
Input
(input ...string)
suggest_field.go:28
↓ 1 callers
Method
IsEmpty
()
rescore.go:22
↓ 1 callers
Method
KeepOnCompletion
KeepOnCompletion is suitable for DoAsync only. It indicates whether the asynchronous search ID and its results should be kept even after the search (a
xpack_async_search_submit.go:526
↓ 1 callers
Method
KeyedDateHistogram
KeyedDateHistogram returns date histogram aggregation results for keyed responses. See: https://www.elastic.co/guide/en/elasticsearch/reference/7.0/s
search_aggs.go:555
↓ 1 callers
Method
KeyedRange
KeyedRange returns keyed range aggregation results. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-bucket-range-a
search_aggs.go:464
↓ 1 callers
Method
Lat
(lat float64)
search_queries_geo_distance.go:39
↓ 1 callers
Method
LikeItems
LikeItems sets the documents to use in order to find documents that are "like" this.
search_queries_more_like_this.go:73
↓ 1 callers
Method
Lon
(lon float64)
search_queries_geo_distance.go:44
↓ 1 callers
Method
MarshalEasyJSON
MarshalEasyJSON supports easyjson.Marshaler interface
bulk_index_request_easyjson.go:288
↓ 1 callers
Method
MarshalEasyJSON
MarshalEasyJSON supports easyjson.Marshaler interface
bulk_delete_request_easyjson.go:248
↓ 1 callers
Method
MarshalEasyJSON
MarshalEasyJSON supports easyjson.Marshaler interface
bulk_create_request_easyjson.go:288
↓ 1 callers
Method
MarshalJSON
MarshalJSON supports json.Marshaler interface
bulk_index_request_easyjson.go:281
↓ 1 callers
Method
MarshalJSON
MarshalJSON supports json.Marshaler interface
bulk_update_request_easyjson.go:404
↓ 1 callers
Method
MarshalJSON
MarshalJSON supports json.Marshaler interface
bulk_delete_request_easyjson.go:241
↓ 1 callers
Method
MarshalJSON
MarshalJSON supports json.Marshaler interface
bulk_create_request_easyjson.go:281
↓ 1 callers
Method
MarshalJSON
MarshalJSON encodes the GeoPoint to JSON.
geo_point.go:29
↓ 1 callers
Method
MatrixStats
MatrixStats returns matrix stats aggregation results. https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-matrix-stats-agg
search_aggs.go:179
↓ 1 callers
Method
MaxDocCount
(maxDocCount int)
search_aggs_bucket_rare_terms.go:47
↓ 1 callers
Method
MaxNumSegments
MaxNumSegments specifies the number of segments the index should be merged into (default: dynamic).
indices_forcemerge.go:131
↓ 1 callers
Method
MedianAbsoluteDeviation
MedianAbsoluteDeviation returns median absolute deviation aggregation results. See https://www.elastic.co/guide/en/elasticsearch/reference/7.6/search-
search_aggs.go:104
↓ 1 callers
Method
Method
Method is the percentiles method, which can be "tdigest" (default) or "hdr".
search_aggs_metrics_percentiles.go:73
↓ 1 callers
Method
MinScore
MinScore indicates to include only documents with a specific `_score` value in the result.
count.go:189
↓ 1 callers
Method
MinTermFreq
MinTermFreq ignores words with less than this frequency in the source doc.
termvectors.go:421
↓ 1 callers
Method
Minimize
Minimize determines if the model should be fit to the data using a cost minimizing algorithm.
search_aggs_pipeline_mov_avg.go:86
↓ 1 callers
Method
MinimumShouldMatchScript
MinimumShouldMatchScript specifies the script to match.
search_queries_terms_set.go:44
↓ 1 callers
Method
MissingBucket
MissingBucket, if true, will create an explicit null bucket which represents documents with missing values.
search_aggs_bucket_composite.go:211
↓ 1 callers
Method
Mode
Mode specifies how to operate. Valid values are: sum, avg, median, min, or max.
search_aggs_matrix_stats.go:45
↓ 1 callers
Method
MultiGet
MultiGet retrieves multiple documents in one roundtrip.
client.go:1525
↓ 1 callers
Method
MultiValueMode
MultiValueMode specifies how the decay function should be calculated on a field that has multiple values. Valid modes are: min, max, avg, and sum.
search_queries_fsq_score_funcs.go:196
↓ 1 callers
Method
MustNot
(queries ...Query)
search_queries_bool.go:40
↓ 1 callers
Method
Name
()
search_queries_rank_feature.go:91
↓ 1 callers
Method
Name
()
cluster_reroute.go:267
↓ 1 callers
Method
Name
()
search_aggs_bucket_significant_terms.go:221
↓ 1 callers
Method
Name
()
search_aggs_pipeline_mov_avg.go:154
↓ 1 callers
Method
Negative
(negative Query)
search_queries_boosting.go:29
↓ 1 callers
Method
NegativeBoost
(negativeBoost float64)
search_queries_boosting.go:34
↓ 1 callers
Method
Neighbours
(neighbours ...string)
suggester_context_geo.go:106
↓ 1 callers
Method
Nested
Nested is available starting with 6.1 and will replace Filter and Path.
sort.go:261
↓ 1 callers
Method
NestedSort
NestedSort is available starting with 6.1 and will replace NestedFilter and NestedPath. Deprecated: Use Nested instead.
sort.go:255
← previous
next →
801–900 of 5,566, ranked by callers