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
↓ 3 callers
Method
IsWriteIndex
IsWriteIndex associates an is_write_index flag to the alias.
indices_put_alias.go:82
↓ 3 callers
Method
LikeText
LikeText sets the text to use in order to find documents that are "like" this.
search_queries_more_like_this.go:64
↓ 3 callers
Method
Logf
(format string, args ...interface{})
setup_test.go:280
↓ 3 callers
Method
LtWithKey
(key string, to interface{})
search_aggs_bucket_range.go:114
↓ 3 callers
Method
Lte
Lte indicates a less-than-or-equal value for the to part. Use nil to indicate an unbounded to part.
search_queries_range.go:69
↓ 3 callers
Method
MapScript
(script *Script)
search_aggs_metrics_scripted_metric.go:29
↓ 3 callers
Method
MaxConcurrentGroupRequests
MaxConcurrentGroupRequests is the maximum number of group requests that are allowed to be ran concurrently in the inner_hits phase.
search_collapse_builder.go:35
↓ 3 callers
Method
MaxExpansions
(maxExpansions int)
search_queries_fuzzy.go:53
↓ 3 callers
Method
MaxResponseSize
MaxResponseSize sets an upper limit on the response body size that we accept, to guard against OOM situations.
search.go:442
↓ 3 callers
Method
MergeInto
MergeInto merges the values of the include/exclude options into source.
search_aggs_bucket_terms.go:392
↓ 3 callers
Method
Min
Min returns min aggregation results. See: https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-metrics-min-aggregation.html
search_aggs.go:28
↓ 3 callers
Method
MinWordLength
(minWordLength int)
suggester_term.go:119
↓ 3 callers
Method
Modifier
Modifier to apply to the field value. It can be one of: none, log, log1p, log2p, ln, ln1p, ln2p, square, sqrt, or reciprocal. Defaults to: none.
search_queries_fsq_score_funcs.go:432
↓ 3 callers
Method
MultiSearch
MultiSearch is the entry point for multi searches.
client.go:1594
↓ 3 callers
Method
Neighbors
(neighbors bool)
suggester_context_geo.go:36
↓ 3 callers
Function
NewAvgBucketAggregation
NewAvgBucketAggregation creates and initializes a new AvgBucketAggregation.
search_aggs_pipeline_avg_bucket.go:23
↓ 3 callers
Function
NewBackoffRetrier
NewBackoffRetrier returns a retrier that uses the given backoff strategy.
retrier.go:60
↓ 3 callers
Function
NewContextSuggester
Creates a new context suggester.
suggester_context.go:28
↓ 3 callers
Function
NewDeleteService
NewDeleteService creates a new DeleteService.
delete.go:46
↓ 3 callers
Function
NewDirectCandidateGenerator
(field string)
suggester_phrase.go:425
↓ 3 callers
Function
NewDistanceFeatureQuery
NewDistanceFeatureQuery creates and initializes a new script_score query.
search_queries_distance_feature_query.go:27
↓ 3 callers
Function
NewExistsService
NewExistsService creates a new ExistsService.
exists.go:41
↓ 3 callers
Function
NewExponentialBackoff
NewExponentialBackoff returns a ExponentialBackoff backoff policy. Use initialTimeout to set the first/minimal interval and maxTimeout to set the maxi
backoff.go:78
↓ 3 callers
Function
NewExtendedStatsAggregation
()
search_aggs_metrics_extended_stats.go:22
↓ 3 callers
Function
NewExtendedStatsBucketAggregation
NewExtendedStatsBucketAggregation creates and initializes a new ExtendedStatsBucketAggregation.
search_aggs_pipeline_extended_stats_bucket.go:25
↓ 3 callers
Function
NewFieldValueFactorFunction
NewFieldValueFactorFunction initializes and returns a new FieldValueFactorFunction.
search_queries_fsq_score_funcs.go:407
↓ 3 callers
Function
NewFuzzyCompletionSuggesterOptions
NewFuzzyCompletionSuggesterOptions initializes a new FuzzyCompletionSuggesterOptions instance.
suggester_completion.go:240
↓ 3 callers
Function
NewGaussDecayFunction
NewGaussDecayFunction returns a new GaussDecayFunction.
search_queries_fsq_score_funcs.go:136
↓ 3 callers
Function
NewGeoCentroidAggregation
()
search_aggs_metrics_geo_centroid.go:17
↓ 3 callers
Function
NewGlobalAggregation
()
search_aggs_bucket_global.go:17
↓ 3 callers
Function
NewHasChildQuery
NewHasChildQuery creates and initializes a new has_child query.
search_queries_has_child.go:25
↓ 3 callers
Function
NewIndicesFlushService
NewIndicesFlushService creates a new IndicesFlushService.
indices_flush.go:41
↓ 3 callers
Function
NewIndicesGetService
NewIndicesGetService creates a new IndicesGetService.
indices_get.go:40
↓ 3 callers
Function
NewIndicesSyncedFlushService
NewIndicesSyncedFlushService creates a new IndicesSyncedFlushService.
indices_flush_synced.go:39
↓ 3 callers
Function
NewMaxBucketAggregation
NewMaxBucketAggregation creates and initializes a new MaxBucketAggregation.
search_aggs_pipeline_max_bucket.go:24
↓ 3 callers
Function
NewMinBucketAggregation
NewMinBucketAggregation creates and initializes a new MinBucketAggregation.
search_aggs_pipeline_min_bucket.go:24
↓ 3 callers
Function
NewMissingAggregation
()
search_aggs_bucket_missing.go:21
↓ 3 callers
Function
NewMoreLikeThisQuery
NewMoreLikeThisQuery creates and initializes a new MoreLikeThisQuery.
search_queries_more_like_this.go:38
↓ 3 callers
Function
NewNestedAggregation
()
search_aggs_bucket_nested.go:16
↓ 3 callers
Function
NewQueryStringQuery
NewQueryStringQuery creates and initializes a new QueryStringQuery.
search_queries_query_string.go:47
↓ 3 callers
Function
NewScriptQuery
NewScriptQuery creates and initializes a new ScriptQuery.
search_queries_script.go:19
↓ 3 callers
Function
NewScriptSort
NewScriptSort creates and initializes a new ScriptSort. You must provide a script and a type, e.g. "string" or "number".
sort.go:505
↓ 3 callers
Function
NewScriptStored
NewScriptStored creates and initializes a new stored script.
script.go:42
↓ 3 callers
Function
NewScriptedMetricAggregation
()
search_aggs_metrics_scripted_metric.go:19
↓ 3 callers
Function
NewSuggesterGeoMapping
NewSuggesterGeoMapping creates a new SuggesterGeoMapping.
suggester_context_geo.go:20
↓ 3 callers
Function
NewSumBucketAggregation
NewSumBucketAggregation creates and initializes a new SumBucketAggregation.
search_aggs_pipeline_sum_bucket.go:23
↓ 3 callers
Function
NewTermSuggester
NewTermSuggester creates a new TermSuggester.
suggester_term.go:34
↓ 3 callers
Function
NewTermsSetQuery
NewTermsSetQuery creates and initializes a new TermsSetQuery.
search_queries_terms_set.go:26
↓ 3 callers
Function
NewTransport
NewTransport specifies a transport that will trace Elastic and report back via OpenTracing.
trace/opentracing/transport.go:33
↓ 3 callers
Method
NumPartitions
(n int)
search_aggs_bucket_terms.go:131
↓ 3 callers
Method
OpenPointInTime
OpenPointInTime opens a new Point in Time.
client.go:1643
↓ 3 callers
Method
Operator
Operator sets the operator to use when using a boolean query. Can be "AND" or "OR" (default).
search_queries_match.go:41
↓ 3 callers
Method
Order
Order defines whether sorting ascending (default) or descending.
sort.go:122
↓ 3 callers
Method
OrderByKeyDesc
()
search_aggs_bucket_terms.go:196
↓ 3 callers
Method
Origin
Origin defines the "central point" by which the decay function calculates "distance".
search_queries_fsq_score_funcs.go:154
↓ 3 callers
Method
Partition
(p int)
search_aggs_bucket_terms.go:123
↓ 3 callers
Method
Pipeline
Pipeline specifies the pipeline id to preprocess incoming documents with.
bulk.go:157
↓ 3 callers
Method
PointInTime
PointInTime specifies an optional PointInTime to be used in the context of this search.
search.go:157
↓ 3 callers
Method
PrefixLength
(prefixLength int)
suggester_term.go:114
↓ 3 callers
Method
PutMapping
PutMapping registers a mapping.
client.go:1894
↓ 3 callers
Method
RealWordErrorLikelihood
(realWordErrorLikelihood float64)
suggester_phrase.go:102
↓ 3 callers
Method
ReduceScript
(script *Script)
search_aggs_metrics_scripted_metric.go:39
↓ 3 callers
Method
RestTotalHitsAsInt
RestTotalHitsAsInt indicates whether hits.total should be rendered as an integer or an object in the rest search response.
search.go:506
↓ 3 callers
Method
Scale
Scale defines the scale to be used with Decay.
search_queries_fsq_score_funcs.go:160
↓ 3 callers
Method
SearchSource
SearchSource sets the search source builder to use with this service.
search.go:105
↓ 3 callers
Method
SetFetchSource
SetFetchSource specifies whether to return the _source.
fetch_source_context.go:40
↓ 3 callers
Method
SetHealthcheckInterval
(d time.Duration)
cluster-test/cluster-test.go:145
↓ 3 callers
Method
SetMaxRetries
(n int)
cluster-test/cluster-test.go:129
↓ 3 callers
Function
SetRetrier
SetRetrier specifies the retry strategy that handles errors during HTTP request/response with Elasticsearch.
client.go:726
↓ 3 callers
Method
Settings
()
search_aggs_pipeline_mov_avg.go:155
↓ 3 callers
Method
Shutdown
(context.Context)
client_test.go:514
↓ 3 callers
Method
SignificantTerms
SignificantTerms returns significant terms aggregation results. See: https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-b
search_aggs.go:389
↓ 3 callers
Method
Slices
Slices specifies the number of slices this task should be divided into. Defaults to 1. It used to be a number, but can be set to "auto" as of 6.7. S
reindex.go:109
↓ 3 callers
Method
SnapshotCreateRepository
SnapshotCreateRepository creates or updates a snapshot repository.
client.go:2049
↓ 3 callers
Method
SortBy
(sorter ...Sorter)
inner_hit.go:139
↓ 3 callers
Method
SortWithInfo
(info SortInfo)
inner_hit.go:134
↓ 3 callers
Method
Source
Source returns JSON for the query.
search_queries_term.go:44
↓ 3 callers
Method
Source
Creates the query source for the term query.
search_queries_terms.go:65
↓ 3 callers
Method
Source
Source returns JSON for the function score query.
search_queries_geo_distance.go:70
↓ 3 callers
Method
StoredFields
StoredFields is a list of fields to return in the response.
get.go:134
↓ 3 callers
Method
SuggestMode
(suggestMode string)
suggester_term.go:79
↓ 3 callers
Method
TaskIdFromNodeAndId
TaskIdFromNodeAndId specifies the task to cancel. Set id to -1 for all tasks.
tasks_cancel.go:93
↓ 3 callers
Method
TermStatistics
TermStatistics specifies if total term frequency and document frequency should be returned.
termvectors.go:210
↓ 3 callers
Method
To
To indicates the to part of the RangeQuery. Use nil to indicate an unbounded to part.
search_queries_range.go:54
↓ 3 callers
Method
UnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
bulk_update_request_easyjson.go:480
↓ 3 callers
Method
Value
Value of the term.
search_queries_span_term.go:37
↓ 3 callers
Method
Values
(values ...string)
suggester_context_category.go:91
↓ 3 callers
Method
Version
Version is an explicit version number for concurrency control.
get.go:175
↓ 3 callers
Method
WatchId
WatchId is the unique ID of the watch.
xpack_watcher_ack_watch.go:82
↓ 3 callers
Method
XPackRollupDelete
XPackRollupDelete deletes a rollup job.
client.go:2221
↓ 3 callers
Method
XPackSecurityDeleteRole
XPackSecurityDeleteRole deletes a role.
client.go:2171
↓ 3 callers
Method
XPackSecurityDeleteRoleMapping
XPackSecurityDeleteRoleMapping deletes a role mapping.
client.go:2156
↓ 3 callers
Method
XPackSecurityDeleteUser
XPackSecurityDeleteUser deletes a user.
client.go:2204
↓ 3 callers
Method
XPackWatchStats
XPackWatchStats returns the current Watcher metrics.
client.go:2273
↓ 3 callers
Method
buildBody
()
snapshot_restore.go:257
↓ 3 callers
Function
canonicalize
canonicalize takes a list of URLs and returns its canonicalized form, i.e. remove anything but scheme, userinfo, host, path, and port. It also removes
canonicalize.go:21
↓ 3 callers
Method
commit
commit commits the bulk requests in the given service, invoking callbacks as specified.
bulk_processor.go:526
↓ 3 callers
Method
mustActiveConn
mustActiveConn returns nil if there is an active connection, otherwise ErrNoClient is returned.
client.go:1274
↓ 3 callers
Function
newConn
newConn creates a new connection to the given URL.
connection.go:24
↓ 3 callers
Method
newResponse
newResponse creates a new response from the HTTP response.
response.go:37
← previous
next →
401–500 of 5,566, ranked by callers