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
Method
TimeoutInMillis
TimeoutInMillis controls how many milliseconds a search is allowed to take before it is canceled.
search_source.go:138
Method
TimeoutInMillis
TimeoutInMillis sets the timeout in milliseconds.
search.go:169
Method
TimeoutInMillis
TimeoutInMillis sets the timeout in milliseconds.
update_by_query.go:450
Method
TimeoutInMillis
TimeoutInMillis sets the timeout in milliseconds.
xpack_async_search_submit.go:164
Method
TimeoutInMillis
TimeoutInMillis sets the timeout in milliseconds.
delete_by_query.go:441
Method
Timestamp
Timestamp is an explicit timestamp for the document.
index.go:187
Method
TokenLimit
(tokenLimit int)
suggester_phrase.go:146
Method
Tokenizer
Tokenizer is the name of the tokenizer to use for the analysis.
indices_analyze.go:160
Method
TopRightFromGeoHash
TopRightFromGeoHash from a Geo hash.
search_queries_geo_bounding_box.go:95
Method
TopRightFromGeoPoint
TopRightFromGeoPoint from a GeoPoint.
search_queries_geo_bounding_box.go:90
Method
TrackScores
TrackScores is applied when sorting and controls if scores will be tracked as well. Defaults to false.
search_source.go:174
Method
TrackScores
(trackScores bool)
search_aggs_metrics_top_hits.go:45
Method
TrackScores
TrackScores is applied when sorting and controls if scores will be tracked as well. Defaults to false.
search_request.go:358
Method
TrackScores
TrackScores is applied when sorting and controls if scores will be tracked as well. Defaults to false.
search.go:368
Method
TrackScores
(trackScores bool)
inner_hit.go:59
Method
TrackScores
TrackScores indicates whether to calculate and return scores even if they are not used for sorting.
update_by_query.go:457
Method
TrackScores
TrackScores is applied when sorting and controls if scores will be tracked as well. Defaults to false.
xpack_async_search_submit.go:363
Method
TrackScores
TrackScores indicates whether to calculate and return scores even if they are not used for sorting.
delete_by_query.go:448
Method
TrackTotalHits
TrackTotalHits controls how the total number of hits should be tracked. Defaults to 10000 which will count the total hit accurately up to 10,000 hits.
search_source.go:184
Method
TrackTotalHits
TrackTotalHits indicates if the total hit count for the query should be tracked. Defaults to true. See https://www.elastic.co/guide/en/elasticsearch/
search_request.go:368
Method
TrackTotalHits
TrackTotalHits controls if the total hit count for the query should be tracked. See https://www.elastic.co/guide/en/elasticsearch/reference/7.1/searc
xpack_async_search_submit.go:372
Method
TrackTotalHits
TrackTotalHits controls if the total hit count for the query should be tracked. See https://www.elastic.co/guide/en/elasticsearch/reference/7.1/searc
scroll.go:248
Method
Transpositions
Transpositions, if set to true, are counted as one change instead of two (defaults to true).
suggester_completion.go:255
Method
Transpositions
(transpositions bool)
search_queries_fuzzy.go:58
Method
Transpositions
Transpositions indicates whether edits include transpositions of two adjacent characters (ab -> ba). Defaults to true.
search_queries_interval_rules_fuzzy.go:43
Method
Ttl
Ttl is an expiration time for the document.
index.go:145
Method
Type
Type represents the document type of the item. Deprecated: Types are in the process of being removed.
search_queries_more_like_this.go:325
Method
Type
Type is the type of the document. Deprecated: Types are in the process of being removed.
index.go:114
Method
Type
Type specifies the Elasticsearch type to use for this update request. If unspecified, the type set on the BulkService will be used.
bulk_update_request.go:99
Method
Type
Type of the document.
mtermvectors.go:113
Method
Type
(typ string)
mtermvectors.go:385
Method
Type
Type sets how multiple fields should be combined to build textual part queries, e.g. "best_fields".
search_queries_query_string.go:71
Method
Type
Type sets the types to use to restrict the results. Deprecated: Types are in the process of being removed. Instead of using a type, prefer to filter
count.go:111
Method
Type
Type is the type of the document (use `_all` to fetch the first document matching the ID across all types).
exists.go:102
Method
Type
Type specifies the type name.
mget.go:228
Method
Type
Type sets the script type, which can be either "string" or "number".
sort.go:514
Method
Type
()
suggester_phrase.go:401
Method
Type
()
suggester_phrase.go:431
Method
Type
Type sets the snapshot repository type, e.g. "fs".
snapshot_create_repository.go:112
Method
Type
Type specifies the Elasticsearch type to use for this delete request. If unspecified, the type set on the BulkService will be used.
bulk_delete_request.go:79
Method
Type
Type specifies the Elasticsearch type to use for this create request. If unspecified, the type set on the BulkService will be used.
bulk_create_request.go:87
Method
Type
(types ...string)
reindex.go:455
Method
Type
Type specifies the Elasticsearch type to use for reindexing.
reindex.go:657
Method
Type
Type is the type of the document. Deprecated: Types are in the process of being removed.
update.go:110
Method
Type
Type is the type of the document. Deprecated: Types are in the process of being removed.
delete.go:96
Method
Type
Type adds search restrictions for a list of types. Deprecated: Types are in the process of being removed. Instead of using a type, prefer to filter o
validate.go:104
Method
Type
Type specifies one or more types to be used. Deprecated: Types are in the process of being removed. Instead of using a type, prefer to filter on a fi
search_request.go:73
Method
Type
Type adds search restrictions for a list of types. Deprecated: Types are in the process of being removed. Instead of using a type, prefer to filter o
search.go:130
Method
Type
(typ string)
inner_hit.go:34
Method
Type
Type is a list of document types for the `indexing` index metric.
indices_stats.go:108
Method
Type
Type is a list of document types to search; leave empty to perform the operation on all types.
update_by_query.go:135
Method
Type
Type is a list of document types.
indices_get_mapping.go:101
Method
Type
Type is the type of the document. Deprecated: Types are in the process of being removed.
explain.go:118
Method
Type
Type sets the type of script: "inline" or "id".
script.go:56
Method
Type
Type adds search restrictions for a list of types. Deprecated: Types are in the process of being removed. Instead of using a type, prefer to filter o
xpack_async_search_submit.go:138
Method
Type
Type specifies the Elasticsearch type to use for this index request. If unspecified, the type set on the BulkService will be used.
bulk_index_request.go:87
Method
Type
Type name. Deprecated: Types are in the process of being removed.
search_terms_lookup.go:34
Method
Type
Type limits the delete operation to the given types. Deprecated: Types are in the process of being removed. Instead of using a type, prefer to filter
delete_by_query.go:136
Method
Type
(typ string)
search_aggs_bucket_children.go:23
Method
Type
Type specifies the type to use for all batches. You may also leave this blank and specify the type in the individual bulk requests.
bulk.go:124
Method
Type
Type sets the parent type.
search_queries_parent_id.go:30
Method
Type
Type is the type of the document Deprecated: Types are in the process of being removed.
get.go:104
Method
Type
Type is a list of document types.
indices_get_field_mapping.go:100
Method
Type
Type of the document. Deprecated: Types are in the process of being removed.
termvectors.go:111
Method
Type
Type can be "best_fields", "boolean", "most_fields", "cross_fields", "phrase", "phrase_prefix" or "bool_prefix"
search_queries_multi_match.go:63
Method
Type
Type sets the name of one or more types to iterate over. Deprecated: Types are in the process of being removed. Instead of using a type, prefer to fi
scroll.go:124
Method
TypedKeys
TypedKeys specifies whether aggregation and suggester names should be prefixed by their respective types in the response.
search.go:456
Method
TypedKeys
TypedKeys specifies whether aggregation and suggester names should be prefixed by their respective types in the response.
xpack_async_search_submit.go:451
Method
Types
Types a list of document types for the `indexing` index metric.
nodes_stats.go:149
Method
URL
(url string)
ping.go:103
Method
UnicodeAware
UnicodeAware, if true, all measurements (like fuzzy edit distance, transpositions, and lengths) are measured in Unicode code points instead of in byte
suggester_completion.go:276
Method
Unit
Unit sets the unit provided, e.g. "1d" or "1y". It is only useful when calculating the derivative using a date_histogram.
search_aggs_pipeline_derivative.go:57
Method
Unit
(unit string)
search_aggs_bucket_geo_distance.go:43
Method
Unmapped
(unmapped bool)
search_aggs_bucket_date_range.go:70
Method
Unmapped
(unmapped bool)
search_aggs_bucket_range.go:74
Method
UnmarshalEasyJSON
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
bulk_index_request_easyjson.go:236
Method
UnmarshalEasyJSON
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
bulk_update_request_easyjson.go:216
Method
UnmarshalEasyJSON
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
bulk_update_request_easyjson.go:423
Method
UnmarshalEasyJSON
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
bulk_delete_request_easyjson.go:196
Method
UnmarshalEasyJSON
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
bulk_create_request_easyjson.go:236
Method
UnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
bulk_index_request_easyjson.go:229
Method
UnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
bulk_index_request_easyjson.go:293
Method
UnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
bulk_update_request_easyjson.go:209
Method
UnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
bulk_update_request_easyjson.go:416
Method
UnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
bulk_delete_request_easyjson.go:189
Method
UnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
bulk_delete_request_easyjson.go:253
Method
UnmarshalJSON
UnmarshalJSON into TotalHits, accepting both the new response structure in ES 7.x as well as the older response structure in earlier versions. The lat
search.go:744
Method
UnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
bulk_create_request_easyjson.go:229
Method
UnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
bulk_create_request_easyjson.go:293
Method
UnmarshalJSON
UnmarshalJSON parses the output from Synced Flush API.
indices_flush_synced.go:263
Method
UnmarshalJSON
UnmarshalJSON decodes JSON data and initializes an AggregationValueMetric structure.
search_aggs.go:886
Method
UnmarshalJSON
UnmarshalJSON decodes JSON data and initializes an AggregationStatsMetric structure.
search_aggs.go:916
Method
UnmarshalJSON
UnmarshalJSON decodes JSON data and initializes an AggregationExtendedStatsMetric structure.
search_aggs.go:961
Method
UnmarshalJSON
UnmarshalJSON decodes JSON data and initializes an AggregationMatrixStats structure.
search_aggs.go:1021
Method
UnmarshalJSON
UnmarshalJSON decodes JSON data and initializes an AggregationPercentilesMetric structure.
search_aggs.go:1048
Method
UnmarshalJSON
UnmarshalJSON decodes JSON data and initializes an AggregationTopHitsMetric structure.
search_aggs.go:1074
Method
UnmarshalJSON
UnmarshalJSON decodes JSON data and initializes an AggregationGeoBoundsMetric structure.
search_aggs.go:1111
Method
UnmarshalJSON
UnmarshalJSON decodes JSON data and initializes an AggregationGeoCentroidMetric structure.
search_aggs.go:1141
Method
UnmarshalJSON
UnmarshalJSON decodes JSON data and initializes an AggregationSingleBucket structure.
search_aggs.go:1170
Method
UnmarshalJSON
UnmarshalJSON decodes JSON data and initializes an AggregationBucketRangeItems structure.
search_aggs.go:1199
← previous
next →
5,301–5,400 of 5,566, ranked by callers