MCPcopy Create free account

hub / github.com/olivere/elastic / functions

Functions5,566 in github.com/olivere/elastic

↓ 6 callersMethodHeader
Header adds a header to the request.
get.go:81
↓ 6 callersMethodHuman
Human specifies whether human readable values should be returned in the JSON response, e.g. "7.5mb".
get.go:63
↓ 6 callersMethodIfPrimaryTerm
IfPrimaryTerm indicates to only perform the index operation if the last operation that has changed the document has the specified primary term.
index.go:207
↓ 6 callersMethodIfSeqNo
IfSeqNo indicates to only perform the index operation if the last operation that has changed the document has the specified sequence number.
index.go:200
↓ 6 callersMethodIgnoreUnmapped
IgnoreUnmapped indicates whether the unmapped field should be treated as a missing value. Setting it to true is equivalent to specifying an unmapped_t
sort.go:386
↓ 6 callersMethodLang
Lang sets the language of the script. The default scripting language is Painless ("painless"). See https://www.elastic.co/guide/en/elasticsearch/refer
script.go:65
↓ 6 callersMethodMetric
Metric is a list of metrics you wish returned. Leave empty to return all. Valid metrics are: settings, os, process, jvm, thread_pool, network, transpo
nodes_info.go:93
↓ 6 callersFunctionNewAliasRemoveAction
NewAliasRemoveAction returns an action to remove an alias.
indices_put_alias.go:150
↓ 6 callersFunctionNewCompletionSuggester
Creates a new completion suggester.
suggester_completion.go:31
↓ 6 callersFunctionNewCompositeAggregationDateHistogramValuesSource
NewCompositeAggregationDateHistogramValuesSource creates and initializes a new CompositeAggregationDateHistogramValuesSource.
search_aggs_bucket_composite.go:422
↓ 6 callersFunctionNewFilterAggregation
()
search_aggs_bucket_filter.go:18
↓ 6 callersFunctionNewGeoBoundingBoxQuery
NewGeoBoundingBoxQuery creates and initializes a new GeoBoundingBoxQuery.
search_queries_geo_bounding_box.go:26
↓ 6 callersFunctionNewGeoHashGridAggregation
()
search_aggs_bucket_geohash_grid.go:12
↓ 6 callersFunctionNewMoreLikeThisQueryItem
NewMoreLikeThisQueryItem creates and initializes a MoreLikeThisQueryItem.
search_queries_more_like_this.go:304
↓ 6 callersFunctionNewPercolatorQuery
NewPercolatorQuery creates and initializes a new Percolator query.
search_queries_percolator.go:27
↓ 6 callersFunctionNewScriptInline
NewScriptInline creates and initializes a new inline script, i.e. code.
script.go:37
↓ 6 callersFunctionNewSimpleClient
NewSimpleClient creates a new short-lived Client that can be used in use cases where you need e.g. one client per request. While NewClient by default
client.go:234
↓ 6 callersFunctionNewTopMetricsAggregation
()
search_aggs_metrics_top_metrics.go:20
↓ 6 callersFunctionNewWeightFactorFunction
NewWeightFactorFunction initializes and returns a new WeightFactorFunction.
search_queries_fsq_score_funcs.go:487
↓ 6 callersMethodPoint
Point specifies a point to create the range distance aggregations from.
sort.go:357
↓ 6 callersMethodRetryOnConflict
RetryOnConflict specifies how many times the operation should be retried when a conflict occurs (default: 0).
update.go:141
↓ 6 callersMethodReturnSource
ReturnSource specifies whether Elasticsearch should return the source after the update. In the request, this responds to the `_source` field. It is fa
bulk_update_request.go:221
↓ 6 callersMethodScriptedMetric
ScriptedMetric returns scripted metric aggregation results. See https://www.elastic.co/guide/en/elasticsearch/reference/7.2/search-aggregations-metric
search_aggs.go:845
↓ 6 callersMethodSeed
Seed sets the seed based on which the random number will be generated. Using the same seed is guaranteed to generate the same random number for a spec
search_queries_fsq_score_funcs.go:552
↓ 6 callersFunctionSetSnifferTimeoutStartup
SetSnifferTimeoutStartup sets the timeout for the sniffer that is used when creating a new client. The default is 5 seconds. Notice that the timeout b
client.go:543
↓ 6 callersMethodShardSize
(shardSize int)
suggester_term.go:64
↓ 6 callersMethodSignificanceHeuristic
(heuristic SignificanceHeuristic)
search_aggs_bucket_significant_text.go:92
↓ 6 callersMethodSource
Source returns JSON for the function score query.
search_queries_geo_bounding_box.go:136
↓ 6 callersMethodTopHits
TopHits returns top-hits aggregation results. See: https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-metrics-top-hits-ag
search_aggs.go:224
↓ 6 callersFunctionescape
(s string, allowReserved bool)
uritemplates/uritemplates.go:48
↓ 6 callersMethodsniff
sniff uses the Node Info API to return the list of nodes in the cluster. It uses the list of URLs passed on startup plus the list of URLs found by the
client.go:905
↓ 5 callersMethodAction
Action accepts one or more AliasAction instances which can be of type AliasAddAction or AliasRemoveAction.
indices_put_alias.go:327
↓ 5 callersMethodBoostMode
BoostMode defines how the combined result of score functions will influence the final score together with the sub query score.
search_queries_fsq.go:70
↓ 5 callersMethodDocvalueFields
(docvalueFields ...string)
inner_hit.go:99
↓ 5 callersFunctionErrorReason
ErrorReason returns the reason of an error that Elasticsearch reported, if err is of kind Error and has ErrorDetails with a Reason. Any other value of
errors.go:115
↓ 5 callersMethodFetchSourceContext
(fetchSourceContext *FetchSourceContext)
get.go:148
↓ 5 callersMethodHasIndices
HasIndices returns true if there are indices used, false otherwise.
search_request.go:65
↓ 5 callersMethodIndexAnalyze
IndexAnalyze performs the analysis process on a text and returns the token breakdown of the text.
client.go:1735
↓ 5 callersMethodInterval
Interval for this builder, must be greater than 0.
search_aggs_bucket_histogram.go:62
↓ 5 callersFunctionIsContextErr
IsContextErr returns true if the error is from a context that was canceled or deadline exceeded
errors.go:127
↓ 5 callersMethodJobId
JobId is id of the rollup to retrieve.
xpack_rollup_get.go:80
↓ 5 callersMethodMarkAsHealthy
MarkAsHealthy marks this connection as healthy, i.e. a request has been successfully performed with it.
connection.go:84
↓ 5 callersMethodMasterTimeout
MasterTimeout is the explicit operation timeout for connection to master node.
cat_count.go:100
↓ 5 callersMethodMax
Max returns max aggregation results. See: https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-metrics-max-aggregation.html
search_aggs.go:43
↓ 5 callersMethodMaxBoost
MaxBoost is the maximum boost that will be applied by function score.
search_queries_fsq.go:76
↓ 5 callersMethodMaxGaps
MaxGaps specifies the maximum number of positions between the matching terms. Terms further apart than this are considered matches. Defaults to -1.
search_queries_interval_rules_match.go:28
↓ 5 callersMethodModel
Model is used to define what type of moving average you want to use in the series.
search_aggs_pipeline_mov_avg.go:62
↓ 5 callersFunctionNewCardinalityAggregation
()
search_aggs_metrics_cardinality.go:23
↓ 5 callersFunctionNewCollapseBuilder
NewCollapseBuilder creates a new CollapseBuilder.
search_collapse_builder.go:17
↓ 5 callersFunctionNewCompositeAggregationHistogramValuesSource
NewCompositeAggregationHistogramValuesSource creates and initializes a new CompositeAggregationHistogramValuesSource.
search_aggs_bucket_composite.go:282
↓ 5 callersFunctionNewCompositeAggregationTermsValuesSource
NewCompositeAggregationTermsValuesSource creates and initializes a new CompositeAggregationTermsValuesSource.
search_aggs_bucket_composite.go:156
↓ 5 callersFunctionNewFieldSort
NewFieldSort creates a new FieldSort.
sort.go:168
↓ 5 callersFunctionNewIndicesRolloverService
NewIndicesRolloverService creates a new IndicesRolloverService.
indices_rollover.go:46
↓ 5 callersFunctionNewIntervalQuery
NewIntervalQuery creates and initializes a new IntervalQuery.
search_queries_interval.go:32
↓ 5 callersFunctionNewIntervalQueryFilter
NewIntervalQueryFilter initializes and creates a new IntervalQueryFilter.
search_queries_interval_filter.go:26
↓ 5 callersFunctionNewIntervalQueryRuleAllOf
NewIntervalQueryRuleAllOf initializes and returns a new instance of IntervalQueryRuleAllOf.
search_queries_interval_rules_all_of.go:20
↓ 5 callersFunctionNewIntervalQueryRuleAnyOf
NewIntervalQueryRuleAnyOf initializes and returns a new instance of IntervalQueryRuleAnyOf.
search_queries_interval_rules_any_of.go:18
↓ 5 callersFunctionNewMedianAbsoluteDeviationAggregation
()
search_aggs_metrics_median_absolute_deviation.go:24
↓ 5 callersFunctionNewMinAggregation
()
search_aggs_metrics_min.go:22
↓ 5 callersFunctionNewPercentileRanksAggregation
()
search_aggs_metrics_percentile_ranks.go:21
↓ 5 callersFunctionNewPhraseSuggester
NewPhraseSuggester creates a new PhraseSuggester.
suggester_phrase.go:39
↓ 5 callersFunctionNewTermsQuery
NewTermsQuery creates and initializes a new TermsQuery.
search_queries_terms.go:21
↓ 5 callersMethodNodeID
NodeID returns the ID of the node of this connection.
connection.go:40
↓ 5 callersMethodNotContaining
NotContaining specifies the query to be used to return intervals that do NOT contain an interval from the filter rule.
search_queries_interval_filter.go:74
↓ 5 callersMethodPassword
Password sets the password to authenticate with the remote cluster.
reindex.go:588
↓ 5 callersMethodPrefix
(prefix string)
suggester_context.go:39
↓ 5 callersMethodReset
Reset cleans up the request queue
bulk.go:102
↓ 5 callersMethodScoreFunction
ScoreFunction specifies the score function for the RankFeatureQuery.
search_queries_rank_feature.go:36
↓ 5 callersMethodSnapshot
Snapshot is the list of snapshot names. If not set, defaults to all snapshots.
snapshot_get.go:92
↓ 5 callersMethodSource
()
suggester_phrase.go:315
↓ 5 callersMethodStart
Start starts the background processes like sniffing the cluster and periodic health checks. You don't need to run Start when creating a client with Ne
client.go:785
↓ 5 callersMethodSuggester
Suggester adds a suggester to the search.
search.go:255
↓ 5 callersMethodTasksCancel
TasksCancel cancels tasks running on the specified nodes.
client.go:2016
↓ 5 callersMethodTimeZone
TimeZone is used for date fields. In that case, we can adjust the from/to fields using a timezone.
search_queries_range.go:104
↓ 5 callersMethodUpsert
Upsert can be used to index the document when it doesn't exist yet. Use this e.g. to initialize a document with a default value.
update.go:191
↓ 5 callersMethodWaitForCompletion
WaitForCompletion indicates whether Elasticsearch should block until the reindex is complete.
reindex.go:133
↓ 5 callersMethodWindow
Window sets the window size for this aggregation.
search_aggs_pipeline_mov_fn.go:77
↓ 5 callersMethodXPackRollupGet
XPackRollupGet gets a rollup job.
client.go:2216
↓ 5 callersFunctioncheckResponse
checkResponse will return an error if the request/response indicates an error returned from Elasticsearch. HTTP status codes between in the range [20
errors.go:28
↓ 5 callersMethodhealthcheck
healthcheck does a health check on all nodes in the cluster. Depending on the node state, it marks connections as dead, sets them alive etc. If health
client.go:1097
↓ 4 callersMethodAddGeoPoint
AddGeoPoint adds a GeoPoint.
search_queries_geo_polygon.go:32
↓ 4 callersMethodByAction
ByAction returns all bulk request results of a certain action, e.g. "index" or "delete".
bulk.go:408
↓ 4 callersMethodClusterState
ClusterState retrieves the state of the cluster.
client.go:1996
↓ 4 callersMethodComposite
Composite returns composite bucket aggregation results. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-bucket-co
search_aggs.go:829
↓ 4 callersMethodDefaultValues
(values ...string)
suggester_context_category.go:25
↓ 4 callersMethodDeleteByQuery
DeleteByQuery deletes documents as found by a query.
client.go:1540
↓ 4 callersMethodDistance
(distance string)
search_queries_geo_distance.go:54
↓ 4 callersMethodDocument
(docs ...interface{})
search_queries_percolator.go:49
↓ 4 callersMethodExplain
Explain computes a score explanation for a query and a specific document.
client.go:1604
↓ 4 callersMethodFlushInterval
FlushInterval specifies when to flush at the end of the given interval. This is disabled by default. If you want the bulk processor to operate complet
bulk_processor.go:126
↓ 4 callersMethodFormat
(format string)
search_aggs_bucket_date_range.go:80
↓ 4 callersMethodHighlight
(highlight *Highlight)
inner_hit.go:144
↓ 4 callersMethodIds
Ids adds ids to the filter.
search_queries_ids.go:31
↓ 4 callersMethodIndexGetSettings
IndexGetSettings retrieves settings of all, one or more indices.
client.go:1719
↓ 4 callersMethodIndexNames
IndexNames returns the names of all indices in the cluster.
client.go:2300
↓ 4 callersMethodIndexPutSettings
IndexPutSettings sets settings for all, one or more indices.
client.go:1724
↓ 4 callersMethodKeepAlive
KeepAlive sets the maximum time after which the cursor will expire. It is "5m" by default.
scroll.go:141
↓ 4 callersMethodMarshalEasyJSON
MarshalEasyJSON supports easyjson.Marshaler interface
bulk_update_request_easyjson.go:475
↓ 4 callersMethodMarshalJSON
MarshalJSON supports json.Marshaler interface
bulk_update_request_easyjson.go:468
↓ 4 callersMethodMultiTerms
MultiTerms returns multi terms aggregation results. See: https://www.elastic.co/guide/en/elasticsearch/reference/7.13/search-aggregations-bucket-multi
search_aggs.go:374
← previousnext →201–300 of 5,566, ranked by callers