MCPcopy Create free account

hub / github.com/olivere/elastic / types & classes

Types & classes868 in github.com/olivere/elastic

↓ 9 callersTypeAliasRawStringQuery
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
StructAcknowledgedResponse
AcknowledgedResponse is returned from various APIs. It simply indicates whether the operation is acknowledged or not.
acknowledged_response.go:9
StructAdjacencyMatrixAggregation
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
InterfaceAggregation
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
StructAggregationBucketAdjacencyMatrix
-- Bucket AdjacencyMatrix -- AggregationBucketAdjacencyMatrix is a multi-bucket aggregation that is returned with a AdjacencyMatrix aggregation.
search_aggs.go:1521
StructAggregationBucketCompositeItem
AggregationBucketCompositeItem is a single bucket of an AggregationBucketCompositeItems structure.
search_aggs.go:1852
StructAggregationBucketCompositeItems
-- Composite key items -- AggregationBucketCompositeItems implements the response structure for a bucket aggregation of type composite.
search_aggs.go:1824
StructAggregationBucketFilters
-- Bucket filters -- AggregationBucketFilters is a multi-bucket aggregation that is returned with a filters aggregation.
search_aggs.go:1492
StructAggregationBucketHistogramItem
AggregationBucketHistogramItem is a single bucket of an AggregationBucketHistogramItems structure.
search_aggs.go:1597
StructAggregationBucketHistogramItems
-- Bucket histogram items -- AggregationBucketHistogramItems is a bucket aggregation that is returned with a date histogram aggregation.
search_aggs.go:1548
StructAggregationBucketKeyItem
AggregationBucketKeyItem is a single bucket of an AggregationBucketKeyItems structure.
search_aggs.go:1329
StructAggregationBucketKeyItems
-- Bucket key items -- AggregationBucketKeyItems is a bucket aggregation that is e.g. returned with a terms aggregation.
search_aggs.go:1297
StructAggregationBucketKeyedHistogramItems
AggregationBucketKeyedHistogramItems is a bucket aggregation that is returned with a (keyed) date histogram aggregation.
search_aggs.go:1573
StructAggregationBucketKeyedRangeItems
AggregationBucketKeyedRangeItems is a bucket aggregation that is e.g. returned with a keyed range aggregation.
search_aggs.go:1222
StructAggregationBucketMultiKeyItem
AggregationBucketMultiKeyItem is a single bucket of an AggregationBucketMultiKeyItems structure.
search_aggs.go:1394
StructAggregationBucketMultiKeyItems
AggregationBucketMultiKeyItems is a bucket aggregation that is returned with a multi terms aggregation.
search_aggs.go:1362
StructAggregationBucketRangeItem
AggregationBucketRangeItem is a single bucket of an AggregationBucketRangeItems structure.
search_aggs.go:1254
StructAggregationBucketRangeItems
-- Bucket range items -- AggregationBucketRangeItems is a bucket aggregation that is e.g. returned with a range aggregation.
search_aggs.go:1189
StructAggregationBucketSignificantTerm
AggregationBucketSignificantTerm is a single bucket of an AggregationBucketSignificantTerms structure.
search_aggs.go:1457
StructAggregationBucketSignificantTerms
-- Bucket types for significant terms -- AggregationBucketSignificantTerms is a bucket aggregation returned with a significant terms aggregation.
search_aggs.go:1429
StructAggregationExtendedStatsMetric
-- Extended stats metric -- AggregationExtendedStatsMetric is a multi-value metric, returned by an ExtendedStats aggregation.
search_aggs.go:946
StructAggregationGeoBoundsMetric
-- Geo-bounds metric -- AggregationGeoBoundsMetric is a metric as returned by a GeoBounds aggregation.
search_aggs.go:1093
StructAggregationGeoCentroidMetric
AggregationGeoCentroidMetric is a metric as returned by a GeoCentroid aggregation.
search_aggs.go:1127
StructAggregationMatrixStats
-- Matrix Stats -- AggregationMatrixStats is returned by a MatrixStats aggregation.
search_aggs.go:1000
StructAggregationMatrixStatsField
AggregationMatrixStatsField represents running stats of a single field returned from MatrixStats aggregation.
search_aggs.go:1009
StructAggregationPercentilesMetric
-- Percentiles metric -- AggregationPercentilesMetric is a multi-value metric, returned by a Percentiles aggregation.
search_aggs.go:1040
StructAggregationPipelineBucketMetricValue
-- Pipeline simple value -- AggregationPipelineBucketMetricValue is a value returned e.g. by a MaxBucket aggregation.
search_aggs.go:1659
StructAggregationPipelineDerivative
-- Pipeline derivative -- AggregationPipelineDerivative is the value returned by a Derivative aggregation.
search_aggs.go:1694
StructAggregationPipelinePercentilesMetric
-- Pipeline percentiles AggregationPipelinePercentilesMetric is the value returned by a pipeline percentiles Metric aggregation
search_aggs.go:1797
StructAggregationPipelineSimpleValue
-- Pipeline simple value -- AggregationPipelineSimpleValue is a simple value, returned e.g. by a MovAvg aggregation.
search_aggs.go:1628
StructAggregationPipelineStatsMetric
-- Pipeline stats metric -- AggregationPipelineStatsMetric is a simple value, returned e.g. by a MovAvg aggregation.
search_aggs.go:1733
StructAggregationScriptedMetric
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
StructAggregationSingleBucket
-- Single bucket -- AggregationSingleBucket is a single bucket, returned e.g. via an aggregation of type Global.
search_aggs.go:1162
StructAggregationStatsMetric
-- Stats metric -- AggregationStatsMetric is a multi-value metric, returned by a Stats aggregation.
search_aggs.go:904
StructAggregationTopHitsMetric
-- Top-hits metric -- AggregationTopHitsMetric is a metric returned by a TopHits aggregation.
search_aggs.go:1066
StructAggregationTopMetricsItem
AggregationTopMetricsItem is a set of metrics returned for the top document or documents
search_aggs.go:1912
StructAggregationTopMetricsItems
AggregationTopMetricsItems is the value returned by the top metrics aggregation
search_aggs.go:1905
StructAggregationValueMetric
-- Single value metric -- AggregationValueMetric is a single-value metric, returned e.g. by a Min or Max aggregation.
search_aggs.go:878
TypeAliasAggregations
Aggregations is a list of aggregations that are part of a search result.
search_aggs.go:24
InterfaceAliasAction
-- Actions -- AliasAction is an action to apply to an alias, e.g. "add" or "remove".
indices_put_alias.go:18
StructAliasAddAction
AliasAddAction is an action to add to an alias.
indices_put_alias.go:23
StructAliasRemoveAction
AliasRemoveAction is an action to remove an alias.
indices_put_alias.go:144
StructAliasRemoveIndexAction
AliasRemoveIndexAction is an action to remove an index during an alias operation.
indices_put_alias.go:208
StructAliasResult
-- Result of an alias request. AliasResult is the outcome of calling Do on AliasService.
indices_put_alias.go:395
StructAliasService
-- 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
StructAliasesResult
-- Result of an alias request. AliasesResult is the outcome of calling AliasesService.Do.
indices_get_aliases.go:196
StructAliasesService
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
StructAllocateEmptyPrimaryAllocationCommand
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
StructAllocateReplicaAllocationCommand
AllocateReplicaAllocationCommand allocates an unassigned replica shard to a specific node. Checks if allocation deciders allow allocation.
cluster_reroute.go:378
StructAllocateStalePrimaryAllocationCommand
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
InterfaceAllocationCommand
-- Allocation commands -- AllocationCommand is a command to be executed in a call to Cluster Reroute API.
cluster_reroute.go:266
StructAllocationId
search_shards.go:246
StructAnalyzeToken
indices_analyze.go:297
StructAnalyzeTokenList
indices_analyze.go:292
StructAutoDateHistogramAggregation
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
StructAvgAggregation
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
StructAvgBucketAggregation
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
InterfaceBackoff
Backoff allows callers to implement their own Backoff strategy.
backoff.go:20
FuncTypeBackoffFunc
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
StructBackoffRetrier
-- BackoffRetrier -- BackoffRetrier is an implementation that does nothing but return nil on Retry.
retrier.go:55
StructBoolQuery
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
StructBoostingQuery
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
StructBoundingBox
BoundingBox bounding box
search_aggs_bucket_geotile_grid.go:116
StructBroadcastResponse
errors.go:228
StructBucketCountThresholds
BucketCountThresholds is used in e.g. terms and significant text aggregations.
search_aggs_bucket_count_thresholds.go:8
StructBucketScriptAggregation
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
StructBucketSelectorAggregation
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
StructBucketSortAggregation
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
FuncTypeBulkAfterFunc
BulkAfterFunc defines the signature of callbacks that are executed after a commit to Elasticsearch. The err parameter signals an error.
bulk_processor.go:78
FuncTypeBulkBeforeFunc
BulkBeforeFunc defines the signature of callbacks that are executed before a commit to Elasticsearch.
bulk_processor.go:74
StructBulkCreateRequest
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
StructBulkDeleteRequest
-- 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
StructBulkIndexByScrollResponse
BulkIndexByScrollResponse is the outcome of executing Do with DeleteByQueryService and UpdateByQueryService.
delete_by_query.go:758
StructBulkIndexRequest
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
StructBulkProcessor
-- 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
StructBulkProcessorService
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
StructBulkProcessorStats
-- 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
StructBulkProcessorWorkerStats
BulkProcessorWorkerStats represents per-worker statistics.
bulk_processor.go:211
StructBulkResponse
BulkResponse is a response to a bulk execution. Example: { "took":3, "errors":false, "items":[{ "index":{ "_index":"index1", "_type":"tweet", "_id":"
bulk.go:364
StructBulkResponseItem
BulkResponseItem is the result of a single bulk request.
bulk.go:371
StructBulkService
BulkService allows for batching bulk requests and sending them to Elasticsearch in one roundtrip. Use the Add method with BulkIndexRequest, BulkUpdate
bulk.go:29
StructBulkUpdateRequest
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
InterfaceBulkableRequest
-- Bulkable request (index/update/delete) -- BulkableRequest is a generic interface to bulkable requests.
bulk_request.go:14
StructCancelAllocationCommand
CancelAllocationCommand cancels relocation, or recovery of a given shard on a node.
cluster_reroute.go:308
InterfaceCandidateGenerator
-- CandidateGenerator --
suggester_phrase.go:400
StructCardinalityAggregation
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
TypeAliasCatAliasesResponse
-- Result of a get request. CatAliasesResponse is the outcome of CatAliasesService.Do.
cat_aliases.go:204
StructCatAliasesResponseRow
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
StructCatAliasesService
CatAliasesService shows information about currently configured aliases to indices including filter and routing infos. See https://www.elastic.co/guid
cat_aliases.go:22
TypeAliasCatAllocationResponse
-- Result of a get request. CatAllocationResponse is the outcome of CatAllocationService.Do.
cat_allocation.go:215
StructCatAllocationResponseRow
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
StructCatAllocationService
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
TypeAliasCatCountResponse
-- Result of a get request. CatCountResponse is the outcome of CatCountService.Do.
cat_count.go:205
StructCatCountResponseRow
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
StructCatCountService
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
TypeAliasCatFielddataResponse
-- Result of a get request. CatFielddataResponse is the outcome of CatFielddataService.Do.
cat_fielddata.go:193
StructCatFielddataResponseRow
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
StructCatFielddataService
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
TypeAliasCatHealthResponse
-- Result of a get request. CatHealthResponse is the outcome of CatHealthService.Do.
cat_health.go:191
StructCatHealthResponseRow
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