MCPcopy Create free account

hub / github.com/olivere/elastic / functions

Functions5,566 in github.com/olivere/elastic

MethodStats
Stats specifies specific tag(s) of the request for logging and statistical purposes.
delete_by_query.go:390
MethodStats
Stats tells bulk processor to gather stats while running. Use Stats to return the stats. This is disabled by default.
bulk_processor.go:133
MethodStats
Stats returns the latest bulk processor statistics. Collecting stats must be enabled first by calling Stats(true) on the service that created this pro
bulk_processor.go:394
MethodStopWord
StopWord sets the stopwords. Any word in this set is considered "uninteresting" and ignored. Even if your Analyzer allows stopwords, you might want to
search_queries_more_like_this.go:58
MethodStoredField
StoredField adds a single field to load and return (note, must be stored) as part of the search request. If none are specified, the source of the docu
search_source.go:288
MethodStoredField
StoredField adds a stored field to load and return (note, it must be stored) as part of the search request.
search_request.go:286
MethodStoredField
StoredField adds a single field to load and return (note, must be stored) as part of the search request. If none are specified, the source of the docu
search.go:354
MethodStoredField
(storedFieldName string)
inner_hit.go:74
MethodStoredField
StoredField adds a single field to load and return (note, must be stored) as part of the search request. If none are specified, the source of the docu
xpack_async_search_submit.go:349
MethodStoredField
StoredField adds a single field to load and return (note, must be stored) as part of the search request. If none are specified, the source of the docu
scroll.go:323
MethodStoredFields
StoredFields is a list of fields to return in the response.
mget.go:116
MethodStoredFields
StoredFields is a list of fields to return in the response.
mget.go:246
MethodStoredFields
StoredFields sets the fields to load and return as part of the search request. If none are specified, the source of the document will be returned.
search_source.go:295
MethodStoredFields
StoredFields adds one or more stored field to load and return (note, they must be stored) as part of the search request.
search_request.go:300
MethodStoredFields
StoredFields sets the fields to load and return as part of the search request. If none are specified, the source of the document will be returned.
search.go:361
MethodStoredFields
(storedFieldNames ...string)
inner_hit.go:79
MethodStoredFields
StoredFields specifies the list of stored fields to return as part of a hit.
update_by_query.go:405
MethodStoredFields
StoredFields sets the fields to load and return as part of the search request. If none are specified, the source of the document will be returned.
xpack_async_search_submit.go:356
MethodStoredFields
StoredFields specifies the list of stored fields to return as part of a hit.
delete_by_query.go:396
MethodStoredFields
StoredFields sets the fields to load and return as part of the search request. If none are specified, the source of the document will be returned.
scroll.go:330
MethodString
String returns the on-wire representation of the update request, concatenated as a single string.
bulk_update_request.go:229
MethodString
String returns the on-wire representation of the delete request, concatenated as a single string.
bulk_delete_request.go:139
MethodString
String returns the on-wire representation of the create request, concatenated as a single string.
bulk_create_request.go:171
MethodString
()
setup_test.go:259
MethodString
String returns the on-wire representation of the index request, concatenated as a single string.
bulk_index_request.go:181
MethodString
String returns a representation of the connection status.
connection.go:33
MethodStringDistance
(stringDistance string)
suggester_phrase.go:470
MethodStringDistance
(stringDistance string)
suggester_term.go:94
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_matrix_stats.go:60
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_metrics_cardinality.go:48
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_sampler.go:27
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_metrics_geo_centroid.go:33
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_metrics_value_count.go:44
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_reverse_nested.go:37
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_date_histogram.go:55
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_metrics_max.go:48
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_multi_terms.go:57
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_metrics_extended_stats.go:53
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_significant_text.go:34
MethodSubAggregation
SubAggregations of this aggregation.
search_aggs_bucket_composite.go:50
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_geo_distance.go:58
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_metrics_min.go:48
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_metrics_stats.go:47
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_filter.go:24
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_rare_terms.go:36
MethodSubAggregation
SubAggregation adds a sub-aggregation to this aggregation.
search_aggs_bucket_filters.go:75
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_metrics_geo_bounds.go:39
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_ip_range.go:38
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_metrics_avg.go:49
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_missing.go:32
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_global.go:23
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_geohash_grid.go:43
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_metrics_weighted_avg.go:55
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_date_range.go:54
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_diversified_sampler.go:30
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_metrics_median_absolute_deviation.go:55
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_significant_terms.go:36
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_children.go:28
MethodSubAggregation
SubAggregation sub aggregation
search_aggs_bucket_auto_date_histogram.go:50
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_nested.go:22
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_terms.go:55
MethodSubAggregation
SubAggregation Adds a sub-aggregation to this aggregation.
search_aggs_bucket_geotile_grid.go:57
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_metrics_percentile_ranks.go:48
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_range.go:58
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_metrics_percentiles.go:56
MethodSubAggregation
SubAggregation adds a sub-aggregation to this aggregation.
search_aggs_bucket_adjacency_matrix.go:35
MethodSubAggregation
(name string, subAggregation Aggregation)
search_aggs_bucket_histogram.go:50
MethodSuggestField
SuggestField specifies which field to use for suggestions.
update_by_query.go:411
MethodSuggestField
SuggestField specifies which field to use for suggestions.
delete_by_query.go:402
MethodSuggestMode
(suggestMode string)
suggester_phrase.go:450
MethodSuggestMode
SuggestMode specifies the suggest mode. Possible values are "missing", "popular", and "always".
update_by_query.go:418
MethodSuggestMode
SuggestMode specifies the suggest mode. Possible values are "missing", "popular", and "always".
delete_by_query.go:409
MethodSuggestSize
SuggestSize specifies how many suggestions to return in response.
update_by_query.go:424
MethodSuggestSize
SuggestSize specifies how many suggestions to return in response.
delete_by_query.go:415
MethodSuggestText
SuggestText specifies the source text for which the suggestions should be returned.
update_by_query.go:430
MethodSuggestText
SuggestText specifies the source text for which the suggestions should be returned.
delete_by_query.go:421
MethodSuggester
Suggester adds a suggester to the search.
search_source.go:233
MethodSuggester
Suggester adds a suggester to the search.
search_request.go:386
MethodSuggester
Suggester adds a suggester to the search.
xpack_async_search_submit.go:250
MethodSwap
(i, j int)
setup_test.go:521
MethodTTL
TTL is an expiration time for the document (alias for Ttl).
index.go:151
MethodTagsSchema
(schemaName string)
highlight.go:54
MethodTaskId
TaskId specifies the task to return. Notice that the caller is responsible for using the correct format, i.e. node_id:task_number, as specified in the
tasks_get_task.go:78
MethodTaskId
TaskId specifies the task to cancel. Notice that the caller is responsible for using the correct format, i.e. node_id:task_number, as specified in the
tasks_cancel.go:87
MethodTaskIdFromNodeAndId
TaskIdFromNodeAndId indicates to return the task on the given node with specified id.
tasks_get_task.go:84
MethodTermStatistics
TermStatistics specifies if total term frequency and document frequency should be returned. Applies to all returned documents unless otherwise specifi
mtermvectors.go:179
MethodTermStatistics
TermStatistics specifies if total term frequency and document frequency should be returned.
mtermvectors.go:470
MethodTerminateAfter
TerminateAfter indicates the maximum count for each shard, upon reaching which the query execution will terminate early.
count.go:222
MethodTerminateAfter
TerminateAfter specifies the maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.
search_source.go:145
MethodTerminateAfter
TerminateAfter, when set, specifies an optional document count, upon collecting which the search query will terminate early.
search_request.go:166
MethodTerminateAfter
TerminateAfter specifies the maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.
search.go:176
MethodTerminateAfter
TerminateAfter indicates the maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.
update_by_query.go:437
MethodTerminateAfter
TerminateAfter specifies the maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.
xpack_async_search_submit.go:171
MethodTerminateAfter
TerminateAfter indicates the maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.
delete_by_query.go:428
MethodTerms
Terms adds a slice of field names to return in the aggregation. Notice that it appends to existing terms, so you can use Terms more than once, and mi
search_aggs_bucket_multi_terms.go:41
FunctionTestAdjacencyMatrixAggregationFilters
(t *testing.T)
search_aggs_bucket_adjacency_matrix_test.go:12
FunctionTestAdjacencyMatrixAggregationWithMetaData
(t *testing.T)
search_aggs_bucket_adjacency_matrix_test.go:53
FunctionTestAdjacencyMatrixAggregationWithSubAggregation
(t *testing.T)
search_aggs_bucket_adjacency_matrix_test.go:32
FunctionTestAggs
TestAggs is an integration test for most aggregation types.
search_aggs_test.go:17
FunctionTestAggsBucketAdjacencyMatrix
(t *testing.T)
search_aggs_test.go:2606
← previousnext →4,301–4,400 of 5,566, ranked by callers