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
↓ 2 callers
Method
Add
Add adds bulkable requests, i.e. BulkIndexRequest, BulkUpdateRequest, and/or BulkDeleteRequest.
bulk.go:174
↓ 2 callers
Method
AddCondition
AddCondition adds a condition to the rollover decision.
indices_rollover.go:140
↓ 2 callers
Method
AddMaskRange
(mask string)
search_aggs_bucket_ip_range.go:54
↓ 2 callers
Method
AddMaxIndexAgeCondition
AddMaxIndexAgeCondition adds a condition to set the max index age.
indices_rollover.go:146
↓ 2 callers
Method
AddMaxIndexDocsCondition
AddMaxIndexDocsCondition adds a condition to set the max documents in the index.
indices_rollover.go:152
↓ 2 callers
Method
AddPoint
AddPoint adds a point from latitude and longitude.
search_queries_geo_polygon.go:26
↓ 2 callers
Method
AdjacencyMatrix
AdjacencyMatrix returning a form of adjacency matrix. See: https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-bucket-adja
search_aggs.go:284
↓ 2 callers
Method
AvgBucket
AvgBucket returns average bucket pipeline aggregation results. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-pip
search_aggs.go:645
↓ 2 callers
Method
BackgroundFilter
(filter Query)
search_aggs_bucket_significant_text.go:87
↓ 2 callers
Method
BackgroundIsSuperset
BackgroundIsSuperset indicates whether you defined a custom background filter that represents a difference set of documents that you want to compare t
search_aggs_bucket_significant_terms.go:299
↓ 2 callers
Method
Beta
Beta is equivalent to Alpha but controls the smoothing of the trend instead of the data.
search_aggs_pipeline_mov_avg.go:223
↓ 2 callers
Method
BottomRight
BottomRight position from longitude (right) and latitude (bottom).
search_queries_geo_bounding_box.go:50
↓ 2 callers
Method
ById
ById returns all bulk request results of a given document id, regardless of the action ("index", "delete" etc.).
bulk.go:423
↓ 2 callers
Method
CandidateGenerator
(generator CandidateGenerator)
suggester_phrase.go:112
↓ 2 callers
Method
Cardinality
Cardinality returns cardinality aggregation results. See: https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-metrics-card
search_aggs.go:134
↓ 2 callers
Method
CatAliases
CatAliases returns information about aliases.
client.go:1924
↓ 2 callers
Method
CatCount
CatCount returns document counts for indices.
client.go:1934
↓ 2 callers
Method
CatShards
CatShards returns information about shards.
client.go:1949
↓ 2 callers
Method
CatSnapshots
CatSnapshots returns information about snapshots.
client.go:1954
↓ 2 callers
Method
ClearCache
ClearCache clears caches for one or more indices.
client.go:1766
↓ 2 callers
Method
ClusterReroute
ClusterReroute allows for manual changes to the allocation of individual shards in the cluster.
client.go:1991
↓ 2 callers
Method
ClusterStats
ClusterStats retrieves cluster statistics.
client.go:2001
↓ 2 callers
Method
CollateParams
(collateParams map[string]interface{})
suggester_phrase.go:167
↓ 2 callers
Method
CollatePrune
(collatePrune bool)
suggester_phrase.go:172
↓ 2 callers
Method
CollateQuery
(collateQuery *Script)
suggester_phrase.go:157
↓ 2 callers
Method
Compression
(compression float64)
search_aggs_metrics_percentiles.go:78
↓ 2 callers
Method
Conflicts
Conflicts indicates what to do when the process detects version conflicts. Possible values are "proceed" and "abort".
reindex.go:181
↓ 2 callers
Method
ContextQueries
(queries ...SuggesterContextQuery)
suggester_term.go:74
↓ 2 callers
Method
ContextQuery
(queries ...SuggesterContextQuery)
suggest_field.go:41
↓ 2 callers
Method
Create
Create indicates whether the index template should only be added if new or can also replace an existing one.
indices_put_template.go:148
↓ 2 callers
Method
Created
Created returns all bulk request results of "create" actions.
bulk.go:392
↓ 2 callers
Method
DateRange
DateRange returns date range aggregation results. See: https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-bucket-daterang
search_aggs.go:479
↓ 2 callers
Method
DeleteScript
DeleteScript allows removing a stored script from Elasticsearch.
client.go:2097
↓ 2 callers
Method
Deleted
Deleted returns all bulk request results of "delete" actions.
bulk.go:402
↓ 2 callers
Method
DestinationIndex
DestinationIndex specifies the destination index of the reindexing process.
reindex.go:160
↓ 2 callers
Method
DiversifiedSampler
DiversifiedSampler returns diversified_sampler aggregation results. See: https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregatio
search_aggs.go:434
↓ 2 callers
Method
DryRun
DryRun indicates whether to simulate the operation only and return the resulting state.
cluster_reroute.go:99
↓ 2 callers
Method
End
End specifies the maximum end position of the match, which needs to be positive.
search_queries_span_first.go:34
↓ 2 callers
Method
ExtendedStats
ExtendedStats returns extended stats aggregation results. See: https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-metrics
search_aggs.go:164
↓ 2 callers
Method
Failed
Failed returns those items of a bulk response that have errors, i.e. those that don't have a status code between 200 and 299.
bulk.go:440
↓ 2 callers
Method
FixedInterval
FixedInterval by which the aggregation gets processed. Allowed values are: "year", "1y", "quarter", "1q", "month", "1M", "week", "1w", "day", "1d", "
search_aggs_bucket_date_histogram.go:88
↓ 2 callers
Method
Float64s
Float64s returns a slice of float64's for the given field, if there is any such field in the hit. The method ignores elements that are not of type flo
search.go:816
↓ 2 callers
Method
Forcemerge
Forcemerge optimizes one or more indices. It replaces the deprecated Optimize API.
client.go:1741
↓ 2 callers
Method
GeoBounds
GeoBounds returns geo-bounds aggregation results. See: https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-metrics-geoboun
search_aggs.go:570
↓ 2 callers
Method
GeoCentroid
GeoCentroid returns geo-centroid aggregation results. See: https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-metrics-geo
search_aggs.go:615
↓ 2 callers
Method
GeoHash
GeoHash returns geo-hash aggregation results. https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-bucket-geohashgrid-aggre
search_aggs.go:585
↓ 2 callers
Method
GeoPoint
(point *GeoPoint)
search_queries_geo_distance.go:27
↓ 2 callers
Function
GeoPointFromString
GeoPointFromString initializes a new GeoPoint by a string that is formatted as "{latitude},{longitude}", e.g. "40.10210,-70.12091".
geo_point.go:40
↓ 2 callers
Method
GeoTile
GeoTile returns geo-tile aggregation results. https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-bucket-geotilegrid-aggre
search_aggs.go:600
↓ 2 callers
Method
GetMapping
GetMapping gets a mapping.
client.go:1889
↓ 2 callers
Method
Global
Global returns global results. See: https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-bucket-global-aggregation.html
search_aggs.go:239
↓ 2 callers
Method
HasAlias
HasAlias returns true if the index has a specific alias.
indices_get_aliases.go:223
↓ 2 callers
Method
HttpHeadOnly
HeadOnly makes the service to only return the status code in Do; the PingResult will be nil.
ping.go:115
↓ 2 callers
Method
IncludeNegatives
IncludeNegatives indicates whether to filter out the terms that appear much less in the subset than in the background without the subset.
search_aggs_bucket_significant_terms.go:257
↓ 2 callers
Method
IndexDeleteComponentTemplate
IndexDeleteComponentTemplate deletes a component template (available since 7.8). This service implements the component templates as described on http
client.go:1884
↓ 2 callers
Method
IndexDeleteTemplate
IndexDeleteTemplate deletes an index template (v1/legacy version before 7.8). This service implements the legacy version of index templates as descri
client.go:1826
↓ 2 callers
Method
IndexPutIndexTemplate
-- Index templates -- IndexPutIndexTemplate creates or updates an index template (new version after 7.8). This service implements the new version of
client.go:1838
↓ 2 callers
Method
IndexPutTemplate
IndexPutTemplate creates or updates an index template (v1/legacy version before 7.8). This service implements the legacy version of index templates a
client.go:1814
↓ 2 callers
Method
IndexSegments
IndexSegments retrieves low level segment information for all, one or more indices.
client.go:1729
↓ 2 callers
Method
Indexed
Indexed returns all bulk request results of "index" actions.
bulk.go:387
↓ 2 callers
Method
IndexedDocumentId
(id string)
search_queries_percolator.go:64
↓ 2 callers
Method
IndexedDocumentIndex
(index string)
search_queries_percolator.go:54
↓ 2 callers
Method
IndexedDocumentVersion
(version int64)
search_queries_percolator.go:79
↓ 2 callers
Method
IngestDeletePipeline
IngestDeletePipeline deletes a pipeline by ID.
client.go:1972
↓ 2 callers
Method
IngestPutPipeline
-- Ingest APIs -- IngestPutPipeline adds pipelines and updates existing pipelines in the cluster.
client.go:1962
↓ 2 callers
Function
IsForbidden
IsForbidden returns true if the given error indicates that Elasticsearch returned HTTP status 403. This happens e.g. due to a missing license. The err
errors.go:184
↓ 2 callers
Method
Lag
Lag specifies the historical bucket to subtract from the current value. E.g. a lag of 7 will subtract the current value from the value 7 buckets ago.
search_aggs_pipeline_serial_diff.go:57
↓ 2 callers
Method
Level
Level specifies whether to return indices stats aggregated at node, index or shard level.
nodes_stats.go:137
↓ 2 callers
Method
Locations
(locations ...*GeoPoint)
suggester_context_geo.go:155
↓ 2 callers
Method
MarkAsAlive
MarkAsAlive marks this connection as eligible to be returned from the pool of connections by the selector.
connection.go:76
↓ 2 callers
Method
MaxBucket
MaxBucket returns maximum bucket pipeline aggregation results. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-pip
search_aggs.go:705
↓ 2 callers
Method
MaxErrors
(maxErrors float64)
suggester_phrase.go:92
↓ 2 callers
Method
MinBucket
MinBucket returns minimum bucket pipeline aggregation results. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-pip
search_aggs.go:720
↓ 2 callers
Method
MinDocCount
(minDocCount int)
search_aggs_bucket_terms.go:81
↓ 2 callers
Method
MinimumShouldMatch
(minimumShouldMatch string)
search_queries_bool.go:60
↓ 2 callers
Method
MinimumShouldMatchField
MinimumShouldMatchField specifies the field to match.
search_queries_terms_set.go:38
↓ 2 callers
Method
MovFn
MovFn returns moving function pipeline aggregation results. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggregations-pipeli
search_aggs.go:752
↓ 2 callers
Method
MultiTermVectors
MultiTermVectors returns information and statistics on terms in the fields of multiple documents.
client.go:1582
↓ 2 callers
Function
NewAliasRemoveIndexAction
NewAliasRemoveIndexAction returns an action to remove an index.
indices_put_alias.go:213
↓ 2 callers
Function
NewBucketScriptAggregation
NewBucketScriptAggregation creates and initializes a new BucketScriptAggregation.
search_aggs_pipeline_bucket_script.go:24
↓ 2 callers
Function
NewBucketSelectorAggregation
NewBucketSelectorAggregation creates and initializes a new BucketSelectorAggregation.
search_aggs_pipeline_bucket_selector.go:26
↓ 2 callers
Function
NewBulkService
NewBulkService initializes a new BulkService.
bulk.go:54
↓ 2 callers
Function
NewChildrenAggregation
()
search_aggs_bucket_children.go:17
↓ 2 callers
Function
NewClearScrollService
NewClearScrollService creates a new ClearScrollService.
clear_scroll.go:32
↓ 2 callers
Function
NewCommonTermsQuery
NewCommonTermsQuery creates and initializes a new common terms query. Deprecated: Common Terms Query was deprecated in >= 7.3.0. See https://www.elas
search_queries_common_terms.go:35
↓ 2 callers
Function
NewCumulativeSumAggregation
NewCumulativeSumAggregation creates and initializes a new CumulativeSumAggregation.
search_aggs_pipeline_cumulative_sum.go:22
↓ 2 callers
Function
NewDerivativeAggregation
NewDerivativeAggregation creates and initializes a new DerivativeAggregation.
search_aggs_pipeline_derivative.go:24
↓ 2 callers
Function
NewDiversifiedSamplerAggregation
()
search_aggs_bucket_diversified_sampler.go:22
↓ 2 callers
Function
NewGeoDistanceSort
NewGeoDistanceSort creates a new sorter for geo distances.
sort.go:325
↓ 2 callers
Function
NewGeoPolygonQuery
NewGeoPolygonQuery creates and initializes a new GeoPolygonQuery.
search_queries_geo_polygon.go:18
↓ 2 callers
Function
NewGeoTileGridAggregation
NewGeoTileGridAggregation Create new bucket aggregation of Geotile grid type https://www.elastic.co/guide/en/elasticsearch/reference/7.0/search-aggreg
search_aggs_bucket_geotile_grid.go:17
↓ 2 callers
Function
NewHasParentQuery
NewHasParentQuery creates and initializes a new has_parent query.
search_queries_has_parent.go:26
↓ 2 callers
Function
NewIdsQuery
NewIdsQuery creates and initializes a new ids query. Notice that types are in the process of being removed. You should filter on a field instead.
search_queries_ids.go:23
↓ 2 callers
Function
NewIndexService
NewIndexService creates a new IndexService.
index.go:52
↓ 2 callers
Function
NewIndicesCloseService
NewIndicesCloseService creates and initializes a new IndicesCloseService.
indices_close.go:39
↓ 2 callers
Function
NewIndicesCreateService
NewIndicesCreateService returns a new IndicesCreateService.
indices_create.go:40
↓ 2 callers
Function
NewIndicesDeleteService
NewIndicesDeleteService creates and initializes a new IndicesDeleteService.
indices_delete.go:39
↓ 2 callers
Function
NewIndicesExistsService
NewIndicesExistsService creates and initializes a new IndicesExistsService.
indices_exists.go:38
↓ 2 callers
Function
NewIndicesGetFieldMappingService
NewIndicesGetFieldMappingService creates a new IndicesGetFieldMappingService.
indices_get_field_mapping.go:47
↓ 2 callers
Function
NewIndicesGetMappingService
NewIndicesGetMappingService creates a new IndicesGetMappingService.
indices_get_mapping.go:46
← previous
next →
501–600 of 5,566, ranked by callers