MCPcopy Create free account

hub / github.com/olivere/elastic / functions

Functions5,566 in github.com/olivere/elastic

↓ 4 callersFunctionNewAdjacencyMatrixAggregation
NewAdjacencyMatrixAggregation initializes a new AdjacencyMatrixAggregation.
search_aggs_bucket_adjacency_matrix.go:21
↓ 4 callersFunctionNewAutoDateHistogramAggregation
NewAutoDateHistogramAggregation creates a new AutoDateHistogramAggregation.
search_aggs_bucket_auto_date_histogram.go:25
↓ 4 callersFunctionNewCompositeAggregation
NewCompositeAggregation creates a new CompositeAggregation.
search_aggs_bucket_composite.go:21
↓ 4 callersFunctionNewGeoBoundsAggregation
()
search_aggs_metrics_geo_bounds.go:18
↓ 4 callersFunctionNewGeoDistanceAggregation
()
search_aggs_bucket_geo_distance.go:31
↓ 4 callersFunctionNewGeoDistanceQuery
NewGeoDistanceQuery creates and initializes a new GeoDistanceQuery.
search_queries_geo_distance.go:23
↓ 4 callersFunctionNewHistogramAggregation
()
search_aggs_bucket_histogram.go:28
↓ 4 callersFunctionNewIPRangeAggregation
()
search_aggs_bucket_ip_range.go:26
↓ 4 callersFunctionNewMaxAggregation
()
search_aggs_metrics_max.go:22
↓ 4 callersFunctionNewParentIdQuery
NewParentIdQuery creates and initializes a new parent_id query.
search_queries_parent_id.go:22
↓ 4 callersFunctionNewPinnedQuery
NewPinnedQuery creates and initializes a new pinned query.
search_queries_pinned.go:17
↓ 4 callersFunctionNewPrefixQuery
NewPrefixQuery creates and initializes a new PrefixQuery.
search_queries_prefix.go:22
↓ 4 callersFunctionNewReverseNestedAggregation
NewReverseNestedAggregation initializes a new ReverseNestedAggregation bucket aggregation.
search_aggs_bucket_reverse_nested.go:23
↓ 4 callersFunctionNewScoreSort
NewScoreSort creates a new ScoreSort.
sort.go:117
↓ 4 callersFunctionNewSignificantTextAggregation
()
search_aggs_bucket_significant_text.go:23
↓ 4 callersFunctionNewSimpleBackoff
NewSimpleBackoff creates a SimpleBackoff algorithm with the specified list of fixed intervals in milliseconds.
backoff.go:111
↓ 4 callersFunctionNewStatsAggregation
()
search_aggs_metrics_stats.go:21
↓ 4 callersFunctionNewStopRetrier
NewStopRetrier returns a retrier that does no retries.
retrier.go:43
↓ 4 callersFunctionNewSuggestField
(input ...string)
suggest_field.go:21
↓ 4 callersFunctionNewSuggesterCategoryMapping
NewSuggesterCategoryMapping creates a new SuggesterCategoryMapping.
suggester_context_category.go:18
↓ 4 callersFunctionNewValueCountAggregation
()
search_aggs_metrics_value_count.go:23
↓ 4 callersMethodOrderByAggregation
OrderByAggregation creates a bucket ordering strategy which sorts buckets based on a single-valued calc get.
search_aggs_bucket_terms.go:202
↓ 4 callersMethodParams
Params sets the map of parameters this script will be executed with.
script.go:80
↓ 4 callersMethodPercentiles
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 callersMethodPolicy
Policy is the name of the index lifecycle policy.
xpack_ilm_put_lifecycle.go:84
↓ 4 callersMethodProceedOnVersionConflict
ProceedOnVersionConflict aborts the request on version conflicts. It is an alias to setting Conflicts("proceed").
reindex.go:195
↓ 4 callersMethodPutScript
PutScript allows saving a stored script in Elasticsearch.
client.go:2092
↓ 4 callersMethodRemove
Remove removes an alias.
indices_put_alias.go:319
↓ 4 callersMethodRetry
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 callersMethodScrollId
ScrollId specifies the identifier of a scroll in action.
scroll.go:336
↓ 4 callersFunctionSetBasicAuth
SetBasicAuth can be used to specify the HTTP Basic Auth credentials to use when making HTTP requests to Elasticsearch.
client.go:493
↓ 4 callersFunctionSetInfoLog
SetInfoLog sets the logger for informational messages, e.g. requests and their response times. It is nil by default.
client.go:699
↓ 4 callersFunctionSetTraceLog
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 callersMethodSortMode
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 callersMethodSource
()
search_aggs_bucket_composite.go:134
↓ 4 callersMethodSource
()
search_aggs_bucket_significant_terms.go:222
↓ 4 callersMethodSource
Source returns a map that will be used to serialize the context query as JSON.
suggester_context_category.go:99
↓ 4 callersMethodSources
Sources specifies the list of CompositeAggregationValuesSource instances to use in the aggregation.
search_aggs_bucket_composite.go:44
↓ 4 callersMethodSumBucket
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 callersMethodTermVectors
TermVectors returns information and statistics on terms in the fields of a particular document.
client.go:1574
↓ 4 callersMethodUnmarshalEasyJSON
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
bulk_update_request_easyjson.go:487
↓ 4 callersMethodVersionType
VersionType is the specific version type.
get.go:169
↓ 4 callersMethodWaitForStatus
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 callersMethodXPackSecurityGetUser
XPackSecurityGetUser gets details about one or more users.
client.go:2184
↓ 4 callersMethodXPackWatchGet
XPackWatchGet gets a watch.
client.go:2243
↓ 4 callersMethodbodyAsString
()
bulk.go:211
↓ 4 callersMethodexpandName
(buf *bytes.Buffer, name string, empty bool)
uritemplates/uritemplates.go:253
↓ 4 callersMethodheader
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 callersMethodinfof
infof logs informational messages.
client.go:845
↓ 4 callersFunctionisStatusCode
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 callersFunctionrandomString
(n int)
setup_test.go:501
↓ 4 callersMethodsetBodyReader
setBodyReader writes the body from an io.Reader.
request.go:106
↓ 4 callersFunctiontestBulkProcessor
-- Helper --
bulk_processor_test.go:340
↓ 3 callersMethodAdd
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 callersMethodAddUnboundedFrom
(to interface{})
search_aggs_bucket_range.go:99
↓ 3 callersMethodAddUnboundedTo
(from interface{})
search_aggs_bucket_range.go:89
↓ 3 callersMethodAggregateAfter
AggregateAfter sets the values that indicate which composite bucket this request should "aggregate after".
search_aggs_bucket_composite.go:37
↓ 3 callersMethodAlpha
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 callersMethodAsc
Asc sets ascending sort order.
sort.go:128
↓ 3 callersMethodBefore
Before specifies a function to be executed before bulk requests get committed to Elasticsearch.
bulk_processor.go:82
↓ 3 callersMethodBetweenWithKey
(key string, from, to interface{})
search_aggs_bucket_range.go:124
↓ 3 callersMethodBottomRightFromGeoHash
BottomRightFromGeoHash from a Geo hash.
search_queries_geo_bounding_box.go:61
↓ 3 callersMethodBuckets
Buckets buckets num by which the aggregation gets processed.
search_aggs_bucket_auto_date_histogram.go:62
↓ 3 callersMethodBytes
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 callersMethodCatIndices
CatIndices returns information about indices.
client.go:1944
↓ 3 callersMethodCause
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 callersMethodCollapse
(collapse *CollapseBuilder)
inner_hit.go:44
↓ 3 callersMethodContext
Context specifies the script context (optional).
script_put.go:92
↓ 3 callersMethodDecay
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 callersMethodDefaultLocations
(locations ...*GeoPoint)
suggester_context_geo.go:26
↓ 3 callersMethodDetectNoop
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 callersMethodDocAsUpsert
DocAsUpsert can be used to insert the document if it doesn't already exist.
update.go:197
↓ 3 callersMethodDocvalueFieldsWithFormat
(docvalueFields ...DocvalueField)
inner_hit.go:104
↓ 3 callersMethodEditDistance
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 callersMethodExcludeValues
(values ...interface{})
search_aggs_bucket_terms.go:115
↓ 3 callersMethodFactor
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 callersMethodFieldStatistics
FieldStatistics specifies if document count, sum of document frequencies and sum of total term frequencies should be returned.
termvectors.go:137
↓ 3 callersMethodFilter
(filters ...Query)
search_queries_bool.go:45
↓ 3 callersMethodFilterPath
FilterPath specifies a list of filters used to reduce the response.
get.go:75
↓ 3 callersMethodFragmentSize
(fragmentSize int)
highlight.go:64
↓ 3 callersMethodFuzziness
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 callersMethodGeoDistance
GeoDistance is an alias for DistanceType.
sort.go:392
↓ 3 callersMethodGramSize
(gramSize int)
suggester_phrase.go:85
↓ 3 callersMethodGtWithKey
(key string, from interface{})
search_aggs_bucket_range.go:134
↓ 3 callersMethodGte
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 callersMethodHasPlugin
HasPlugin indicates whether the cluster has the named plugin.
plugins.go:10
↓ 3 callersMethodHasRole
HasRole returns true if the node fulfills the given role.
nodes_info.go:252
↓ 3 callersMethodID
ID to close.
pit_close.go:81
↓ 3 callersMethodIgnoreUnavailable
IgnoreUnavailable indicates whether specified concrete indices should be ignored when unavailable (missing or closed).
count.go:162
↓ 3 callersMethodIncludeValues
(values ...interface{})
search_aggs_bucket_terms.go:99
↓ 3 callersMethodIndex
Index associates one or more indices to the alias.
indices_put_alias.go:41
↓ 3 callersMethodIndex
(indices ...string)
reindex.go:450
↓ 3 callersMethodIndexBoost
IndexBoost sets the boost that a specific index will receive when the query is executed against it.
search_source.go:344
↓ 3 callersMethodIndexDeleteIndexTemplate
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 callersMethodIndexGetIndexTemplate
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 callersMethodIndexGetTemplate
-- 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 callersMethodIndexStats
IndexStats provides statistics on different operations happining in one or more indices.
client.go:1682
↓ 3 callersMethodIngestGetPipeline
IngestGetPipeline returns pipelines based on ID.
client.go:1967
↓ 3 callersFunctionIsConnErr
IsConnErr returns true if the error indicates that Elastic could not find an Elasticsearch host to connect to.
errors.go:144
↓ 3 callersFunctionIsUnauthorized
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
← previousnext →301–400 of 5,566, ranked by callers