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
↓ 4 callers
Function
NewAdjacencyMatrixAggregation
NewAdjacencyMatrixAggregation initializes a new AdjacencyMatrixAggregation.
search_aggs_bucket_adjacency_matrix.go:21
↓ 4 callers
Function
NewAutoDateHistogramAggregation
NewAutoDateHistogramAggregation creates a new AutoDateHistogramAggregation.
search_aggs_bucket_auto_date_histogram.go:25
↓ 4 callers
Function
NewCompositeAggregation
NewCompositeAggregation creates a new CompositeAggregation.
search_aggs_bucket_composite.go:21
↓ 4 callers
Function
NewGeoBoundsAggregation
()
search_aggs_metrics_geo_bounds.go:18
↓ 4 callers
Function
NewGeoDistanceAggregation
()
search_aggs_bucket_geo_distance.go:31
↓ 4 callers
Function
NewGeoDistanceQuery
NewGeoDistanceQuery creates and initializes a new GeoDistanceQuery.
search_queries_geo_distance.go:23
↓ 4 callers
Function
NewHistogramAggregation
()
search_aggs_bucket_histogram.go:28
↓ 4 callers
Function
NewIPRangeAggregation
()
search_aggs_bucket_ip_range.go:26
↓ 4 callers
Function
NewMaxAggregation
()
search_aggs_metrics_max.go:22
↓ 4 callers
Function
NewParentIdQuery
NewParentIdQuery creates and initializes a new parent_id query.
search_queries_parent_id.go:22
↓ 4 callers
Function
NewPinnedQuery
NewPinnedQuery creates and initializes a new pinned query.
search_queries_pinned.go:17
↓ 4 callers
Function
NewPrefixQuery
NewPrefixQuery creates and initializes a new PrefixQuery.
search_queries_prefix.go:22
↓ 4 callers
Function
NewReverseNestedAggregation
NewReverseNestedAggregation initializes a new ReverseNestedAggregation bucket aggregation.
search_aggs_bucket_reverse_nested.go:23
↓ 4 callers
Function
NewScoreSort
NewScoreSort creates a new ScoreSort.
sort.go:117
↓ 4 callers
Function
NewSignificantTextAggregation
()
search_aggs_bucket_significant_text.go:23
↓ 4 callers
Function
NewSimpleBackoff
NewSimpleBackoff creates a SimpleBackoff algorithm with the specified list of fixed intervals in milliseconds.
backoff.go:111
↓ 4 callers
Function
NewStatsAggregation
()
search_aggs_metrics_stats.go:21
↓ 4 callers
Function
NewStopRetrier
NewStopRetrier returns a retrier that does no retries.
retrier.go:43
↓ 4 callers
Function
NewSuggestField
(input ...string)
suggest_field.go:21
↓ 4 callers
Function
NewSuggesterCategoryMapping
NewSuggesterCategoryMapping creates a new SuggesterCategoryMapping.
suggester_context_category.go:18
↓ 4 callers
Function
NewValueCountAggregation
()
search_aggs_metrics_value_count.go:23
↓ 4 callers
Method
OrderByAggregation
OrderByAggregation creates a bucket ordering strategy which sorts buckets based on a single-valued calc get.
search_aggs_bucket_terms.go:202
↓ 4 callers
Method
Params
Params sets the map of parameters this script will be executed with.
script.go:80
↓ 4 callers
Method
Percentiles
Percentiles returns percentiles results. See: https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-metrics-percentile-aggre
search_aggs.go:194
↓ 4 callers
Method
Policy
Policy is the name of the index lifecycle policy.
xpack_ilm_put_lifecycle.go:84
↓ 4 callers
Method
ProceedOnVersionConflict
ProceedOnVersionConflict aborts the request on version conflicts. It is an alias to setting Conflicts("proceed").
reindex.go:195
↓ 4 callers
Method
PutScript
PutScript allows saving a stored script in Elasticsearch.
client.go:2092
↓ 4 callers
Method
Remove
Remove removes an alias.
indices_put_alias.go:319
↓ 4 callers
Method
Retry
Retry is called when a request has failed. It decides whether to retry the call, how long to wait for the next call, or whether to return an error (wh
retrier.go:33
↓ 4 callers
Method
ScrollId
ScrollId specifies the identifier of a scroll in action.
scroll.go:336
↓ 4 callers
Function
SetBasicAuth
SetBasicAuth can be used to specify the HTTP Basic Auth credentials to use when making HTTP requests to Elasticsearch.
client.go:493
↓ 4 callers
Function
SetInfoLog
SetInfoLog sets the logger for informational messages, e.g. requests and their response times. It is nil by default.
client.go:699
↓ 4 callers
Function
SetTraceLog
SetTraceLog specifies the log.Logger to use for output of HTTP requests and responses which is helpful during debugging. It is nil by default.
client.go:708
↓ 4 callers
Method
SortMode
SortMode specifies what values to pick in case a document contains multiple values for the targeted sort field. Possible values are: min, max, sum, an
sort.go:217
↓ 4 callers
Method
Source
()
search_aggs_bucket_composite.go:134
↓ 4 callers
Method
Source
()
search_aggs_bucket_significant_terms.go:222
↓ 4 callers
Method
Source
Source returns a map that will be used to serialize the context query as JSON.
suggester_context_category.go:99
↓ 4 callers
Method
Sources
Sources specifies the list of CompositeAggregationValuesSource instances to use in the aggregation.
search_aggs_bucket_composite.go:44
↓ 4 callers
Method
SumBucket
SumBucket returns sum bucket pipeline aggregation results. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-pipelin
search_aggs.go:660
↓ 4 callers
Method
TermVectors
TermVectors returns information and statistics on terms in the fields of a particular document.
client.go:1574
↓ 4 callers
Method
UnmarshalEasyJSON
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
bulk_update_request_easyjson.go:487
↓ 4 callers
Method
VersionType
VersionType is the specific version type.
get.go:169
↓ 4 callers
Method
WaitForStatus
WaitForStatus waits for the cluster to have the given status. This is a shortcut method for the ClusterHealth service. WaitForStatus waits for the sp
client.go:2327
↓ 4 callers
Method
XPackSecurityGetUser
XPackSecurityGetUser gets details about one or more users.
client.go:2184
↓ 4 callers
Method
XPackWatchGet
XPackWatchGet gets a watch.
client.go:2243
↓ 4 callers
Method
bodyAsString
()
bulk.go:211
↓ 4 callers
Method
expandName
(buf *bytes.Buffer, name string, empty bool)
uritemplates/uritemplates.go:253
↓ 4 callers
Method
header
header is used e.g. by MultiSearch to get information about the search header of one SearchRequest. See https://www.elastic.co/guide/en/elasticsearch/
search_request.go:466
↓ 4 callers
Method
infof
infof logs informational messages.
client.go:845
↓ 4 callers
Function
isStatusCode
isStatusCode returns true if the given error indicates that the Elasticsearch operation returned the specified HTTP status code. The err parameter can
trace/opencensus/transport.go:210
↓ 4 callers
Function
randomString
(n int)
setup_test.go:501
↓ 4 callers
Method
setBodyReader
setBodyReader writes the body from an io.Reader.
request.go:106
↓ 4 callers
Function
testBulkProcessor
-- Helper --
bulk_processor_test.go:340
↓ 3 callers
Method
Add
Add adds a single request to commit by the BulkProcessorService. The caller is responsible for setting the index and type on the request.
bulk_processor.go:403
↓ 3 callers
Method
AddUnboundedFrom
(to interface{})
search_aggs_bucket_range.go:99
↓ 3 callers
Method
AddUnboundedTo
(from interface{})
search_aggs_bucket_range.go:89
↓ 3 callers
Method
AggregateAfter
AggregateAfter sets the values that indicate which composite bucket this request should "aggregate after".
search_aggs_bucket_composite.go:37
↓ 3 callers
Method
Alpha
Alpha controls the smoothing of the data. Alpha = 1 retains no memory of past values (e.g. a random walk), while alpha = 0 retains infinite memory of
search_aggs_pipeline_mov_avg.go:177
↓ 3 callers
Method
Asc
Asc sets ascending sort order.
sort.go:128
↓ 3 callers
Method
Before
Before specifies a function to be executed before bulk requests get committed to Elasticsearch.
bulk_processor.go:82
↓ 3 callers
Method
BetweenWithKey
(key string, from, to interface{})
search_aggs_bucket_range.go:124
↓ 3 callers
Method
BottomRightFromGeoHash
BottomRightFromGeoHash from a Geo hash.
search_queries_geo_bounding_box.go:61
↓ 3 callers
Method
Buckets
Buckets buckets num by which the aggregation gets processed.
search_aggs_bucket_auto_date_histogram.go:62
↓ 3 callers
Method
Bytes
Bytes represents the unit in which to display byte values. Valid values are: "b", "k", "kb", "m", "mb", "g", "gb", "t", "tb", "p" or "pb".
cat_shards.go:95
↓ 3 callers
Method
CatIndices
CatIndices returns information about indices.
client.go:1944
↓ 3 callers
Method
Cause
Cause describes the cause for this index template creation. This is currently undocumented, but part of the Java source.
indices_put_template.go:104
↓ 3 callers
Method
Collapse
(collapse *CollapseBuilder)
inner_hit.go:44
↓ 3 callers
Method
Context
Context specifies the script context (optional).
script_put.go:92
↓ 3 callers
Method
Decay
Decay defines how documents are scored at the distance given a Scale. If no decay is defined, documents at the distance Scale will be scored 0.5.
search_queries_fsq_score_funcs.go:167
↓ 3 callers
Method
DefaultLocations
(locations ...*GeoPoint)
suggester_context_geo.go:26
↓ 3 callers
Method
DetectNoop
DetectNoop will instruct Elasticsearch to check if changes will occur when updating via Doc. It there aren't any changes, the request will turn into a
update.go:205
↓ 3 callers
Method
DocAsUpsert
DocAsUpsert can be used to insert the document if it doesn't already exist.
update.go:197
↓ 3 callers
Method
DocvalueFieldsWithFormat
(docvalueFields ...DocvalueField)
inner_hit.go:104
↓ 3 callers
Method
EditDistance
EditDistance specifies the maximum number of edits, e.g. a number like "1" or "2" or a string like "0..2" or ">5". See https://www.elastic.co/guide/e
suggester_completion.go:249
↓ 3 callers
Method
ExcludeValues
(values ...interface{})
search_aggs_bucket_terms.go:115
↓ 3 callers
Method
Factor
Factor is the (optional) factor to multiply the field with. If you do not specify a factor, the default is 1.
search_queries_fsq_score_funcs.go:425
↓ 3 callers
Method
FieldStatistics
FieldStatistics specifies if document count, sum of document frequencies and sum of total term frequencies should be returned.
termvectors.go:137
↓ 3 callers
Method
Filter
(filters ...Query)
search_queries_bool.go:45
↓ 3 callers
Method
FilterPath
FilterPath specifies a list of filters used to reduce the response.
get.go:75
↓ 3 callers
Method
FragmentSize
(fragmentSize int)
highlight.go:64
↓ 3 callers
Method
Fuzziness
Fuzziness can be an integer/long like 0, 1 or 2 as well as strings like "auto", "0..1", "1..4" or "0.0..1.0".
search_queries_fuzzy.go:43
↓ 3 callers
Method
GeoDistance
GeoDistance is an alias for DistanceType.
sort.go:392
↓ 3 callers
Method
GramSize
(gramSize int)
suggester_phrase.go:85
↓ 3 callers
Method
GtWithKey
(key string, from interface{})
search_aggs_bucket_range.go:134
↓ 3 callers
Method
Gte
Gte indicates a greater-than-or-equal value for the from part. Use nil to indicate an unbounded from part.
search_queries_range.go:46
↓ 3 callers
Method
HasPlugin
HasPlugin indicates whether the cluster has the named plugin.
plugins.go:10
↓ 3 callers
Method
HasRole
HasRole returns true if the node fulfills the given role.
nodes_info.go:252
↓ 3 callers
Method
ID
ID to close.
pit_close.go:81
↓ 3 callers
Method
IgnoreUnavailable
IgnoreUnavailable indicates whether specified concrete indices should be ignored when unavailable (missing or closed).
count.go:162
↓ 3 callers
Method
IncludeValues
(values ...interface{})
search_aggs_bucket_terms.go:99
↓ 3 callers
Method
Index
Index associates one or more indices to the alias.
indices_put_alias.go:41
↓ 3 callers
Method
Index
(indices ...string)
reindex.go:450
↓ 3 callers
Method
IndexBoost
IndexBoost sets the boost that a specific index will receive when the query is executed against it.
search_source.go:344
↓ 3 callers
Method
IndexDeleteIndexTemplate
IndexDeleteIndexTemplate deletes an index template (new version after 7.8). This service implements the new version of index templates as described o
client.go:1858
↓ 3 callers
Method
IndexGetIndexTemplate
IndexGetIndexTemplate returns an index template (new version after 7.8). This service implements the new version of index templates as described on h
client.go:1848
↓ 3 callers
Method
IndexGetTemplate
-- Legacy templates -- IndexGetTemplate gets an index template (v1/legacy version before 7.8). This service implements the legacy version of index te
client.go:1790
↓ 3 callers
Method
IndexStats
IndexStats provides statistics on different operations happining in one or more indices.
client.go:1682
↓ 3 callers
Method
IngestGetPipeline
IngestGetPipeline returns pipelines based on ID.
client.go:1967
↓ 3 callers
Function
IsConnErr
IsConnErr returns true if the error indicates that Elastic could not find an Elasticsearch host to connect to.
errors.go:144
↓ 3 callers
Function
IsUnauthorized
IsUnauthorized returns true if the given error indicates that Elasticsearch returned HTTP status 401. This happens e.g. when the cluster is configured
errors.go:176
← previous
next →
301–400 of 5,566, ranked by callers