Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/olivere/elastic
/ types & classes
Types & classes
868 in github.com/olivere/elastic
⨍
Functions
5,566
◇
Types & classes
868
↓ 9 callers
TypeAlias
RawStringQuery
RawStringQuery can be used to treat a string representation of an ES query as a Query. Example usage: q := RawStringQuery("{\"match_all\":{}}") db.Se
search_queries_raw_string.go:13
Struct
AcknowledgedResponse
AcknowledgedResponse is returned from various APIs. It simply indicates whether the operation is acknowledged or not.
acknowledged_response.go:9
Struct
AdjacencyMatrixAggregation
AdjacencyMatrixAggregation returning a form of adjacency matrix. The request provides a collection of named filter expressions, similar to the filters
search_aggs_bucket_adjacency_matrix.go:14
Interface
Aggregation
Aggregations can be seen as a unit-of-work that build analytic information over a set of documents. It is (in many senses) the follow-up of facets in
search_aggs.go:17
Struct
AggregationBucketAdjacencyMatrix
-- Bucket AdjacencyMatrix -- AggregationBucketAdjacencyMatrix is a multi-bucket aggregation that is returned with a AdjacencyMatrix aggregation.
search_aggs.go:1521
Struct
AggregationBucketCompositeItem
AggregationBucketCompositeItem is a single bucket of an AggregationBucketCompositeItems structure.
search_aggs.go:1852
Struct
AggregationBucketCompositeItems
-- Composite key items -- AggregationBucketCompositeItems implements the response structure for a bucket aggregation of type composite.
search_aggs.go:1824
Struct
AggregationBucketFilters
-- Bucket filters -- AggregationBucketFilters is a multi-bucket aggregation that is returned with a filters aggregation.
search_aggs.go:1492
Struct
AggregationBucketHistogramItem
AggregationBucketHistogramItem is a single bucket of an AggregationBucketHistogramItems structure.
search_aggs.go:1597
Struct
AggregationBucketHistogramItems
-- Bucket histogram items -- AggregationBucketHistogramItems is a bucket aggregation that is returned with a date histogram aggregation.
search_aggs.go:1548
Struct
AggregationBucketKeyItem
AggregationBucketKeyItem is a single bucket of an AggregationBucketKeyItems structure.
search_aggs.go:1329
Struct
AggregationBucketKeyItems
-- Bucket key items -- AggregationBucketKeyItems is a bucket aggregation that is e.g. returned with a terms aggregation.
search_aggs.go:1297
Struct
AggregationBucketKeyedHistogramItems
AggregationBucketKeyedHistogramItems is a bucket aggregation that is returned with a (keyed) date histogram aggregation.
search_aggs.go:1573
Struct
AggregationBucketKeyedRangeItems
AggregationBucketKeyedRangeItems is a bucket aggregation that is e.g. returned with a keyed range aggregation.
search_aggs.go:1222
Struct
AggregationBucketMultiKeyItem
AggregationBucketMultiKeyItem is a single bucket of an AggregationBucketMultiKeyItems structure.
search_aggs.go:1394
Struct
AggregationBucketMultiKeyItems
AggregationBucketMultiKeyItems is a bucket aggregation that is returned with a multi terms aggregation.
search_aggs.go:1362
Struct
AggregationBucketRangeItem
AggregationBucketRangeItem is a single bucket of an AggregationBucketRangeItems structure.
search_aggs.go:1254
Struct
AggregationBucketRangeItems
-- Bucket range items -- AggregationBucketRangeItems is a bucket aggregation that is e.g. returned with a range aggregation.
search_aggs.go:1189
Struct
AggregationBucketSignificantTerm
AggregationBucketSignificantTerm is a single bucket of an AggregationBucketSignificantTerms structure.
search_aggs.go:1457
Struct
AggregationBucketSignificantTerms
-- Bucket types for significant terms -- AggregationBucketSignificantTerms is a bucket aggregation returned with a significant terms aggregation.
search_aggs.go:1429
Struct
AggregationExtendedStatsMetric
-- Extended stats metric -- AggregationExtendedStatsMetric is a multi-value metric, returned by an ExtendedStats aggregation.
search_aggs.go:946
Struct
AggregationGeoBoundsMetric
-- Geo-bounds metric -- AggregationGeoBoundsMetric is a metric as returned by a GeoBounds aggregation.
search_aggs.go:1093
Struct
AggregationGeoCentroidMetric
AggregationGeoCentroidMetric is a metric as returned by a GeoCentroid aggregation.
search_aggs.go:1127
Struct
AggregationMatrixStats
-- Matrix Stats -- AggregationMatrixStats is returned by a MatrixStats aggregation.
search_aggs.go:1000
Struct
AggregationMatrixStatsField
AggregationMatrixStatsField represents running stats of a single field returned from MatrixStats aggregation.
search_aggs.go:1009
Struct
AggregationPercentilesMetric
-- Percentiles metric -- AggregationPercentilesMetric is a multi-value metric, returned by a Percentiles aggregation.
search_aggs.go:1040
Struct
AggregationPipelineBucketMetricValue
-- Pipeline simple value -- AggregationPipelineBucketMetricValue is a value returned e.g. by a MaxBucket aggregation.
search_aggs.go:1659
Struct
AggregationPipelineDerivative
-- Pipeline derivative -- AggregationPipelineDerivative is the value returned by a Derivative aggregation.
search_aggs.go:1694
Struct
AggregationPipelinePercentilesMetric
-- Pipeline percentiles AggregationPipelinePercentilesMetric is the value returned by a pipeline percentiles Metric aggregation
search_aggs.go:1797
Struct
AggregationPipelineSimpleValue
-- Pipeline simple value -- AggregationPipelineSimpleValue is a simple value, returned e.g. by a MovAvg aggregation.
search_aggs.go:1628
Struct
AggregationPipelineStatsMetric
-- Pipeline stats metric -- AggregationPipelineStatsMetric is a simple value, returned e.g. by a MovAvg aggregation.
search_aggs.go:1733
Struct
AggregationScriptedMetric
AggregationScriptedMetric is the value return by a scripted metric aggregation. Value maybe one of map[string]interface{}/[]interface{}/string/bool/js
search_aggs.go:1879
Struct
AggregationSingleBucket
-- Single bucket -- AggregationSingleBucket is a single bucket, returned e.g. via an aggregation of type Global.
search_aggs.go:1162
Struct
AggregationStatsMetric
-- Stats metric -- AggregationStatsMetric is a multi-value metric, returned by a Stats aggregation.
search_aggs.go:904
Struct
AggregationTopHitsMetric
-- Top-hits metric -- AggregationTopHitsMetric is a metric returned by a TopHits aggregation.
search_aggs.go:1066
Struct
AggregationTopMetricsItem
AggregationTopMetricsItem is a set of metrics returned for the top document or documents
search_aggs.go:1912
Struct
AggregationTopMetricsItems
AggregationTopMetricsItems is the value returned by the top metrics aggregation
search_aggs.go:1905
Struct
AggregationValueMetric
-- Single value metric -- AggregationValueMetric is a single-value metric, returned e.g. by a Min or Max aggregation.
search_aggs.go:878
TypeAlias
Aggregations
Aggregations is a list of aggregations that are part of a search result.
search_aggs.go:24
Interface
AliasAction
-- Actions -- AliasAction is an action to apply to an alias, e.g. "add" or "remove".
indices_put_alias.go:18
Struct
AliasAddAction
AliasAddAction is an action to add to an alias.
indices_put_alias.go:23
Struct
AliasRemoveAction
AliasRemoveAction is an action to remove an alias.
indices_put_alias.go:144
Struct
AliasRemoveIndexAction
AliasRemoveIndexAction is an action to remove an index during an alias operation.
indices_put_alias.go:208
Struct
AliasResult
-- Result of an alias request. AliasResult is the outcome of calling Do on AliasService.
indices_put_alias.go:395
Struct
AliasService
-- Service -- AliasService enables users to add or remove an alias. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/indices-aliases.ht
indices_put_alias.go:244
Struct
AliasesResult
-- Result of an alias request. AliasesResult is the outcome of calling AliasesService.Do.
indices_get_aliases.go:196
Struct
AliasesService
AliasesService returns the aliases associated with one or more indices, or the indices associated with one or more aliases, or a combination of those
indices_get_aliases.go:20
Struct
AllocateEmptyPrimaryAllocationCommand
AllocateEmptyPrimaryAllocationCommand allocates an unassigned empty primary shard to a specific node. Use with extreme care as this will result in dat
cluster_reroute.go:409
Struct
AllocateReplicaAllocationCommand
AllocateReplicaAllocationCommand allocates an unassigned replica shard to a specific node. Checks if allocation deciders allow allocation.
cluster_reroute.go:378
Struct
AllocateStalePrimaryAllocationCommand
AllocateStalePrimaryAllocationCommand allocates an unassigned stale primary shard to a specific node. Use with extreme care as this will result in dat
cluster_reroute.go:343
Interface
AllocationCommand
-- Allocation commands -- AllocationCommand is a command to be executed in a call to Cluster Reroute API.
cluster_reroute.go:266
Struct
AllocationId
search_shards.go:246
Struct
AnalyzeToken
indices_analyze.go:297
Struct
AnalyzeTokenList
indices_analyze.go:292
Struct
AutoDateHistogramAggregation
AutoDateHistogramAggregation is a multi-bucket aggregation similar to the histogram except it can only be applied on date values, and the buckets num
search_aggs_bucket_auto_date_histogram.go:10
Struct
AvgAggregation
AvgAggregation is a single-value metrics aggregation that computes the average of numeric values that are extracted from the aggregated documents. The
search_aggs_metrics_avg.go:14
Struct
AvgBucketAggregation
AvgBucketAggregation is a sibling pipeline aggregation which calculates the (mean) average value of a specified metric in a sibling aggregation. The s
search_aggs_pipeline_avg_bucket.go:14
Interface
Backoff
Backoff allows callers to implement their own Backoff strategy.
backoff.go:20
FuncType
BackoffFunc
BackoffFunc specifies the signature of a function that returns the time to wait before the next call to a resource. To stop retrying return false in t
backoff.go:17
Struct
BackoffRetrier
-- BackoffRetrier -- BackoffRetrier is an implementation that does nothing but return nil on Retry.
retrier.go:55
Struct
BoolQuery
A bool query matches documents matching boolean combinations of other queries. For more details, see: https://www.elastic.co/guide/en/elasticsearch/re
search_queries_bool.go:13
Struct
BoostingQuery
A boosting query can be used to effectively demote results that match a given query. For more details, see: https://www.elastic.co/guide/en/elasticsea
search_queries_boosting.go:11
Struct
BoundingBox
BoundingBox bounding box
search_aggs_bucket_geotile_grid.go:116
Struct
BroadcastResponse
errors.go:228
Struct
BucketCountThresholds
BucketCountThresholds is used in e.g. terms and significant text aggregations.
search_aggs_bucket_count_thresholds.go:8
Struct
BucketScriptAggregation
BucketScriptAggregation is a parent pipeline aggregation which executes a script which can perform per bucket computations on specified metrics in the
search_aggs_pipeline_bucket_script.go:14
Struct
BucketSelectorAggregation
BucketSelectorAggregation is a parent pipeline aggregation which determines whether the current bucket will be retained in the parent multi-bucket agg
search_aggs_pipeline_bucket_selector.go:16
Struct
BucketSortAggregation
BucketSortAggregation parent pipeline aggregation which sorts the buckets of its parent multi-bucket aggregation. Zero or more sort fields may be spec
search_aggs_pipeline_bucket_sort.go:15
FuncType
BulkAfterFunc
BulkAfterFunc defines the signature of callbacks that are executed after a commit to Elasticsearch. The err parameter signals an error.
bulk_processor.go:78
FuncType
BulkBeforeFunc
BulkBeforeFunc defines the signature of callbacks that are executed before a commit to Elasticsearch.
bulk_processor.go:74
Struct
BulkCreateRequest
BulkCreateRequest is a request to add a new document to Elasticsearch. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/docs-bulk.html
bulk_create_request.go:19
Struct
BulkDeleteRequest
-- Bulk delete request -- BulkDeleteRequest is a request to remove a document from Elasticsearch. See https://www.elastic.co/guide/en/elasticsearch/r
bulk_delete_request.go:21
Struct
BulkIndexByScrollResponse
BulkIndexByScrollResponse is the outcome of executing Do with DeleteByQueryService and UpdateByQueryService.
delete_by_query.go:758
Struct
BulkIndexRequest
BulkIndexRequest is a request to add or replace a document to Elasticsearch. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/docs-bul
bulk_index_request.go:19
Struct
BulkProcessor
-- Bulk Processor -- BulkProcessor encapsulates a task that accepts bulk requests and orchestrates committing them to Elasticsearch via one or more wo
bulk_processor.go:257
Struct
BulkProcessorService
BulkProcessorService allows to easily process bulk requests. It allows setting policies when to flush new bulk requests, e.g. based on a number of act
bulk_processor.go:43
Struct
BulkProcessorStats
-- Bulk Processor Statistics -- BulkProcessorStats contains various statistics of a bulk processor while it is running. Use the Stats func to return i
bulk_processor.go:197
Struct
BulkProcessorWorkerStats
BulkProcessorWorkerStats represents per-worker statistics.
bulk_processor.go:211
Struct
BulkResponse
BulkResponse is a response to a bulk execution. Example: { "took":3, "errors":false, "items":[{ "index":{ "_index":"index1", "_type":"tweet", "_id":"
bulk.go:364
Struct
BulkResponseItem
BulkResponseItem is the result of a single bulk request.
bulk.go:371
Struct
BulkService
BulkService allows for batching bulk requests and sending them to Elasticsearch in one roundtrip. Use the Add method with BulkIndexRequest, BulkUpdate
bulk.go:29
Struct
BulkUpdateRequest
BulkUpdateRequest is a request to update a document in Elasticsearch. See https://www.elastic.co/guide/en/elasticsearch/reference/7.0/docs-bulk.html
bulk_update_request.go:19
Interface
BulkableRequest
-- Bulkable request (index/update/delete) -- BulkableRequest is a generic interface to bulkable requests.
bulk_request.go:14
Struct
CancelAllocationCommand
CancelAllocationCommand cancels relocation, or recovery of a given shard on a node.
cluster_reroute.go:308
Interface
CandidateGenerator
-- CandidateGenerator --
suggester_phrase.go:400
Struct
CardinalityAggregation
CardinalityAggregation is a single-value metrics aggregation that calculates an approximate count of distinct values. Values can be extracted either f
search_aggs_metrics_cardinality.go:12
TypeAlias
CatAliasesResponse
-- Result of a get request. CatAliasesResponse is the outcome of CatAliasesService.Do.
cat_aliases.go:204
Struct
CatAliasesResponseRow
CatAliasesResponseRow is a single row in a CatAliasesResponse. Notice that not all of these fields might be filled; that depends on the number of colu
cat_aliases.go:209
Struct
CatAliasesService
CatAliasesService shows information about currently configured aliases to indices including filter and routing infos. See https://www.elastic.co/guid
cat_aliases.go:22
TypeAlias
CatAllocationResponse
-- Result of a get request. CatAllocationResponse is the outcome of CatAllocationService.Do.
cat_allocation.go:215
Struct
CatAllocationResponseRow
CatAllocationResponseRow is a single row in a CatAllocationResponse. Notice that not all of these fields might be filled; that depends on the number o
cat_allocation.go:220
Struct
CatAllocationService
CatAllocationService provides a snapshot of how many shards are allocated to each data node and how much disk space they are using. See https://www.e
cat_allocation.go:22
TypeAlias
CatCountResponse
-- Result of a get request. CatCountResponse is the outcome of CatCountService.Do.
cat_count.go:205
Struct
CatCountResponseRow
CatCountResponseRow specifies the data returned for one index of a CatCountResponse. Notice that not all of these fields might be filled; that depends
cat_count.go:211
Struct
CatCountService
CatCountService provides quick access to the document count of the entire cluster, or individual indices. See https://www.elastic.co/guide/en/elastic
cat_count.go:22
TypeAlias
CatFielddataResponse
-- Result of a get request. CatFielddataResponse is the outcome of CatFielddataService.Do.
cat_fielddata.go:193
Struct
CatFielddataResponseRow
CatFielddataResponseRow is a single row in a CatFielddataResponse. Notice that not all of these fields might be filled; that depends on the number of
cat_fielddata.go:198
Struct
CatFielddataService
CatFielddataService Returns the amount of heap memory currently used by the field data cache on every data node in the cluster. See https://www.elast
cat_fielddata.go:22
TypeAlias
CatHealthResponse
-- Result of a get request. CatHealthResponse is the outcome of CatHealthService.Do.
cat_health.go:191
Struct
CatHealthResponseRow
CatHealthResponseRow is a single row in a CatHealthResponse. Notice that not all of these fields might be filled; that depends on the number of column
cat_health.go:196
next →
1–100 of 868, ranked by callers