Documentation
¶
Overview ¶
Package esapi provides the Go API for Elasticsearch.
It is automatically included in the client provided by the github.com/elastic/go-elasticsearch package:
es, _ := elasticsearch.NewDefaultClient() res, _ := es.Info() log.Println(res)
For each Elasticsearch API, such as "Index", the package exports two corresponding types: a function and a struct.
The function type allows you to call the Elasticsearch API as a method on the client, passing the parameters as arguments:
res, err := es.Index( "test", // Index name strings.NewReader(`{"title" : "Test"}`), // Document body es.Index.WithDocumentID("1"), // Document ID es.Index.WithRefresh("true"), // Refresh ) if err != nil { log.Fatalf("ERROR: %s", err) } defer res.Body.Close() log.Println(res) // => [201 Created] {"_index":"test","_type":"_doc","_id":"1" ...
The struct type allows for a more hands-on approach, where you create a new struct, with the request configuration as fields, and call the Do() method with a context and the client as arguments:
req := esapi.IndexRequest{ Index: "test", // Index name Body: strings.NewReader(`{"title" : "Test"}`), // Document body DocumentID: "1", // Document ID Refresh: "true", // Refresh } res, err := req.Do(context.Background(), es) if err != nil { log.Fatalf("Error getting response: %s", err) } defer res.Body.Close() log.Println(res) // => [200 OK] {"_index":"test","_type":"_doc","_id":"1","_version":2 ...
The function type is a wrapper around the struct, and allows to configure and perform the request in a more expressive way. It has a minor overhead compared to using a struct directly; refer to the esapi_benchmark_test.go suite for concrete numbers.
See the documentation for each API function or struct at https://godoc.org/github.com/elastic/go-elasticsearch, or locally by:
go doc github.com/elastic/go-elasticsearch/esapi Index go doc github.com/elastic/go-elasticsearch/esapi IndexRequest
Response ¶
The esapi.Response type is a lightweight wrapper around http.Response.
The res.Body field is an io.ReadCloser, leaving the JSON parsing to the calling code, in the interest of performance and flexibility (eg. to allow using a custom JSON parser).
It is imperative to close the response body for a non-nil response.
The Response type implements a couple of convenience methods for accessing the status, checking an error status code or printing the response body for debugging purposes.
Additional Information ¶
See the Elasticsearch documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/api-conventions.html for detailed information about the API endpoints and parameters.
The Go API is generated from the Elasticsearch JSON specification at https://github.com/elastic/elasticsearch/tree/master/rest-api-spec/src/main/resources/rest-api-spec/api by the internal package available at https://github.com/elastic/go-elasticsearch/tree/master/internal/cmd/generate/commands.
The API is tested by integration tests common to all Elasticsearch official clients, generated from the source at https://github.com/elastic/elasticsearch/tree/master/rest-api-spec/src/main/resources/rest-api-spec/test. The generator is provided by the internal package internal/cmd/generate.
Index ¶
- func BoolPtr(v bool) *bool
- func IntPtr(v int) *int
- type API
- type Bulk
- func (f Bulk) WithContext(v context.Context) func(*BulkRequest)
- func (f Bulk) WithDocumentType(v string) func(*BulkRequest)
- func (f Bulk) WithErrorTrace() func(*BulkRequest)
- func (f Bulk) WithFilterPath(v ...string) func(*BulkRequest)
- func (f Bulk) WithHuman() func(*BulkRequest)
- func (f Bulk) WithIndex(v string) func(*BulkRequest)
- func (f Bulk) WithPipeline(v string) func(*BulkRequest)
- func (f Bulk) WithPretty() func(*BulkRequest)
- func (f Bulk) WithRefresh(v string) func(*BulkRequest)
- func (f Bulk) WithRouting(v string) func(*BulkRequest)
- func (f Bulk) WithSource(v ...string) func(*BulkRequest)
- func (f Bulk) WithSourceExcludes(v ...string) func(*BulkRequest)
- func (f Bulk) WithSourceIncludes(v ...string) func(*BulkRequest)
- func (f Bulk) WithTimeout(v time.Duration) func(*BulkRequest)
- func (f Bulk) WithWaitForActiveShards(v string) func(*BulkRequest)
- type BulkRequest
- type Cat
- type CatAliases
- func (f CatAliases) WithContext(v context.Context) func(*CatAliasesRequest)
- func (f CatAliases) WithErrorTrace() func(*CatAliasesRequest)
- func (f CatAliases) WithFilterPath(v ...string) func(*CatAliasesRequest)
- func (f CatAliases) WithFormat(v string) func(*CatAliasesRequest)
- func (f CatAliases) WithH(v ...string) func(*CatAliasesRequest)
- func (f CatAliases) WithHelp(v bool) func(*CatAliasesRequest)
- func (f CatAliases) WithHuman() func(*CatAliasesRequest)
- func (f CatAliases) WithLocal(v bool) func(*CatAliasesRequest)
- func (f CatAliases) WithMasterTimeout(v time.Duration) func(*CatAliasesRequest)
- func (f CatAliases) WithName(v ...string) func(*CatAliasesRequest)
- func (f CatAliases) WithPretty() func(*CatAliasesRequest)
- func (f CatAliases) WithS(v ...string) func(*CatAliasesRequest)
- func (f CatAliases) WithV(v bool) func(*CatAliasesRequest)
- type CatAliasesRequest
- type CatAllocation
- func (f CatAllocation) WithBytes(v string) func(*CatAllocationRequest)
- func (f CatAllocation) WithContext(v context.Context) func(*CatAllocationRequest)
- func (f CatAllocation) WithErrorTrace() func(*CatAllocationRequest)
- func (f CatAllocation) WithFilterPath(v ...string) func(*CatAllocationRequest)
- func (f CatAllocation) WithFormat(v string) func(*CatAllocationRequest)
- func (f CatAllocation) WithH(v ...string) func(*CatAllocationRequest)
- func (f CatAllocation) WithHelp(v bool) func(*CatAllocationRequest)
- func (f CatAllocation) WithHuman() func(*CatAllocationRequest)
- func (f CatAllocation) WithLocal(v bool) func(*CatAllocationRequest)
- func (f CatAllocation) WithMasterTimeout(v time.Duration) func(*CatAllocationRequest)
- func (f CatAllocation) WithNodeID(v ...string) func(*CatAllocationRequest)
- func (f CatAllocation) WithPretty() func(*CatAllocationRequest)
- func (f CatAllocation) WithS(v ...string) func(*CatAllocationRequest)
- func (f CatAllocation) WithV(v bool) func(*CatAllocationRequest)
- type CatAllocationRequest
- type CatCount
- func (f CatCount) WithContext(v context.Context) func(*CatCountRequest)
- func (f CatCount) WithErrorTrace() func(*CatCountRequest)
- func (f CatCount) WithFilterPath(v ...string) func(*CatCountRequest)
- func (f CatCount) WithFormat(v string) func(*CatCountRequest)
- func (f CatCount) WithH(v ...string) func(*CatCountRequest)
- func (f CatCount) WithHelp(v bool) func(*CatCountRequest)
- func (f CatCount) WithHuman() func(*CatCountRequest)
- func (f CatCount) WithIndex(v ...string) func(*CatCountRequest)
- func (f CatCount) WithLocal(v bool) func(*CatCountRequest)
- func (f CatCount) WithMasterTimeout(v time.Duration) func(*CatCountRequest)
- func (f CatCount) WithPretty() func(*CatCountRequest)
- func (f CatCount) WithS(v ...string) func(*CatCountRequest)
- func (f CatCount) WithV(v bool) func(*CatCountRequest)
- type CatCountRequest
- type CatFielddata
- func (f CatFielddata) WithBytes(v string) func(*CatFielddataRequest)
- func (f CatFielddata) WithContext(v context.Context) func(*CatFielddataRequest)
- func (f CatFielddata) WithErrorTrace() func(*CatFielddataRequest)
- func (f CatFielddata) WithFields(v ...string) func(*CatFielddataRequest)
- func (f CatFielddata) WithFilterPath(v ...string) func(*CatFielddataRequest)
- func (f CatFielddata) WithFormat(v string) func(*CatFielddataRequest)
- func (f CatFielddata) WithH(v ...string) func(*CatFielddataRequest)
- func (f CatFielddata) WithHelp(v bool) func(*CatFielddataRequest)
- func (f CatFielddata) WithHuman() func(*CatFielddataRequest)
- func (f CatFielddata) WithLocal(v bool) func(*CatFielddataRequest)
- func (f CatFielddata) WithMasterTimeout(v time.Duration) func(*CatFielddataRequest)
- func (f CatFielddata) WithPretty() func(*CatFielddataRequest)
- func (f CatFielddata) WithS(v ...string) func(*CatFielddataRequest)
- func (f CatFielddata) WithV(v bool) func(*CatFielddataRequest)
- type CatFielddataRequest
- type CatHealth
- func (f CatHealth) WithContext(v context.Context) func(*CatHealthRequest)
- func (f CatHealth) WithErrorTrace() func(*CatHealthRequest)
- func (f CatHealth) WithFilterPath(v ...string) func(*CatHealthRequest)
- func (f CatHealth) WithFormat(v string) func(*CatHealthRequest)
- func (f CatHealth) WithH(v ...string) func(*CatHealthRequest)
- func (f CatHealth) WithHelp(v bool) func(*CatHealthRequest)
- func (f CatHealth) WithHuman() func(*CatHealthRequest)
- func (f CatHealth) WithLocal(v bool) func(*CatHealthRequest)
- func (f CatHealth) WithMasterTimeout(v time.Duration) func(*CatHealthRequest)
- func (f CatHealth) WithPretty() func(*CatHealthRequest)
- func (f CatHealth) WithS(v ...string) func(*CatHealthRequest)
- func (f CatHealth) WithTs(v bool) func(*CatHealthRequest)
- func (f CatHealth) WithV(v bool) func(*CatHealthRequest)
- type CatHealthRequest
- type CatHelp
- func (f CatHelp) WithContext(v context.Context) func(*CatHelpRequest)
- func (f CatHelp) WithErrorTrace() func(*CatHelpRequest)
- func (f CatHelp) WithFilterPath(v ...string) func(*CatHelpRequest)
- func (f CatHelp) WithHelp(v bool) func(*CatHelpRequest)
- func (f CatHelp) WithHuman() func(*CatHelpRequest)
- func (f CatHelp) WithPretty() func(*CatHelpRequest)
- func (f CatHelp) WithS(v ...string) func(*CatHelpRequest)
- type CatHelpRequest
- type CatIndices
- func (f CatIndices) WithBytes(v string) func(*CatIndicesRequest)
- func (f CatIndices) WithContext(v context.Context) func(*CatIndicesRequest)
- func (f CatIndices) WithErrorTrace() func(*CatIndicesRequest)
- func (f CatIndices) WithFilterPath(v ...string) func(*CatIndicesRequest)
- func (f CatIndices) WithFormat(v string) func(*CatIndicesRequest)
- func (f CatIndices) WithH(v ...string) func(*CatIndicesRequest)
- func (f CatIndices) WithHealth(v string) func(*CatIndicesRequest)
- func (f CatIndices) WithHelp(v bool) func(*CatIndicesRequest)
- func (f CatIndices) WithHuman() func(*CatIndicesRequest)
- func (f CatIndices) WithIndex(v ...string) func(*CatIndicesRequest)
- func (f CatIndices) WithLocal(v bool) func(*CatIndicesRequest)
- func (f CatIndices) WithMasterTimeout(v time.Duration) func(*CatIndicesRequest)
- func (f CatIndices) WithPretty() func(*CatIndicesRequest)
- func (f CatIndices) WithPri(v bool) func(*CatIndicesRequest)
- func (f CatIndices) WithS(v ...string) func(*CatIndicesRequest)
- func (f CatIndices) WithV(v bool) func(*CatIndicesRequest)
- type CatIndicesRequest
- type CatMaster
- func (f CatMaster) WithContext(v context.Context) func(*CatMasterRequest)
- func (f CatMaster) WithErrorTrace() func(*CatMasterRequest)
- func (f CatMaster) WithFilterPath(v ...string) func(*CatMasterRequest)
- func (f CatMaster) WithFormat(v string) func(*CatMasterRequest)
- func (f CatMaster) WithH(v ...string) func(*CatMasterRequest)
- func (f CatMaster) WithHelp(v bool) func(*CatMasterRequest)
- func (f CatMaster) WithHuman() func(*CatMasterRequest)
- func (f CatMaster) WithLocal(v bool) func(*CatMasterRequest)
- func (f CatMaster) WithMasterTimeout(v time.Duration) func(*CatMasterRequest)
- func (f CatMaster) WithPretty() func(*CatMasterRequest)
- func (f CatMaster) WithS(v ...string) func(*CatMasterRequest)
- func (f CatMaster) WithV(v bool) func(*CatMasterRequest)
- type CatMasterRequest
- type CatNodeattrs
- func (f CatNodeattrs) WithContext(v context.Context) func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithErrorTrace() func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithFilterPath(v ...string) func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithFormat(v string) func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithH(v ...string) func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithHelp(v bool) func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithHuman() func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithLocal(v bool) func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithMasterTimeout(v time.Duration) func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithPretty() func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithS(v ...string) func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithV(v bool) func(*CatNodeattrsRequest)
- type CatNodeattrsRequest
- type CatNodes
- func (f CatNodes) WithContext(v context.Context) func(*CatNodesRequest)
- func (f CatNodes) WithErrorTrace() func(*CatNodesRequest)
- func (f CatNodes) WithFilterPath(v ...string) func(*CatNodesRequest)
- func (f CatNodes) WithFormat(v string) func(*CatNodesRequest)
- func (f CatNodes) WithFullID(v bool) func(*CatNodesRequest)
- func (f CatNodes) WithH(v ...string) func(*CatNodesRequest)
- func (f CatNodes) WithHelp(v bool) func(*CatNodesRequest)
- func (f CatNodes) WithHuman() func(*CatNodesRequest)
- func (f CatNodes) WithLocal(v bool) func(*CatNodesRequest)
- func (f CatNodes) WithMasterTimeout(v time.Duration) func(*CatNodesRequest)
- func (f CatNodes) WithPretty() func(*CatNodesRequest)
- func (f CatNodes) WithS(v ...string) func(*CatNodesRequest)
- func (f CatNodes) WithV(v bool) func(*CatNodesRequest)
- type CatNodesRequest
- type CatPendingTasks
- func (f CatPendingTasks) WithContext(v context.Context) func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithErrorTrace() func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithFilterPath(v ...string) func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithFormat(v string) func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithH(v ...string) func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithHelp(v bool) func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithHuman() func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithLocal(v bool) func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithMasterTimeout(v time.Duration) func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithPretty() func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithS(v ...string) func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithV(v bool) func(*CatPendingTasksRequest)
- type CatPendingTasksRequest
- type CatPlugins
- func (f CatPlugins) WithContext(v context.Context) func(*CatPluginsRequest)
- func (f CatPlugins) WithErrorTrace() func(*CatPluginsRequest)
- func (f CatPlugins) WithFilterPath(v ...string) func(*CatPluginsRequest)
- func (f CatPlugins) WithFormat(v string) func(*CatPluginsRequest)
- func (f CatPlugins) WithH(v ...string) func(*CatPluginsRequest)
- func (f CatPlugins) WithHelp(v bool) func(*CatPluginsRequest)
- func (f CatPlugins) WithHuman() func(*CatPluginsRequest)
- func (f CatPlugins) WithLocal(v bool) func(*CatPluginsRequest)
- func (f CatPlugins) WithMasterTimeout(v time.Duration) func(*CatPluginsRequest)
- func (f CatPlugins) WithPretty() func(*CatPluginsRequest)
- func (f CatPlugins) WithS(v ...string) func(*CatPluginsRequest)
- func (f CatPlugins) WithV(v bool) func(*CatPluginsRequest)
- type CatPluginsRequest
- type CatRecovery
- func (f CatRecovery) WithBytes(v string) func(*CatRecoveryRequest)
- func (f CatRecovery) WithContext(v context.Context) func(*CatRecoveryRequest)
- func (f CatRecovery) WithErrorTrace() func(*CatRecoveryRequest)
- func (f CatRecovery) WithFilterPath(v ...string) func(*CatRecoveryRequest)
- func (f CatRecovery) WithFormat(v string) func(*CatRecoveryRequest)
- func (f CatRecovery) WithH(v ...string) func(*CatRecoveryRequest)
- func (f CatRecovery) WithHelp(v bool) func(*CatRecoveryRequest)
- func (f CatRecovery) WithHuman() func(*CatRecoveryRequest)
- func (f CatRecovery) WithIndex(v ...string) func(*CatRecoveryRequest)
- func (f CatRecovery) WithMasterTimeout(v time.Duration) func(*CatRecoveryRequest)
- func (f CatRecovery) WithPretty() func(*CatRecoveryRequest)
- func (f CatRecovery) WithS(v ...string) func(*CatRecoveryRequest)
- func (f CatRecovery) WithV(v bool) func(*CatRecoveryRequest)
- type CatRecoveryRequest
- type CatRepositories
- func (f CatRepositories) WithContext(v context.Context) func(*CatRepositoriesRequest)
- func (f CatRepositories) WithErrorTrace() func(*CatRepositoriesRequest)
- func (f CatRepositories) WithFilterPath(v ...string) func(*CatRepositoriesRequest)
- func (f CatRepositories) WithFormat(v string) func(*CatRepositoriesRequest)
- func (f CatRepositories) WithH(v ...string) func(*CatRepositoriesRequest)
- func (f CatRepositories) WithHelp(v bool) func(*CatRepositoriesRequest)
- func (f CatRepositories) WithHuman() func(*CatRepositoriesRequest)
- func (f CatRepositories) WithLocal(v bool) func(*CatRepositoriesRequest)
- func (f CatRepositories) WithMasterTimeout(v time.Duration) func(*CatRepositoriesRequest)
- func (f CatRepositories) WithPretty() func(*CatRepositoriesRequest)
- func (f CatRepositories) WithS(v ...string) func(*CatRepositoriesRequest)
- func (f CatRepositories) WithV(v bool) func(*CatRepositoriesRequest)
- type CatRepositoriesRequest
- type CatSegments
- func (f CatSegments) WithBytes(v string) func(*CatSegmentsRequest)
- func (f CatSegments) WithContext(v context.Context) func(*CatSegmentsRequest)
- func (f CatSegments) WithErrorTrace() func(*CatSegmentsRequest)
- func (f CatSegments) WithFilterPath(v ...string) func(*CatSegmentsRequest)
- func (f CatSegments) WithFormat(v string) func(*CatSegmentsRequest)
- func (f CatSegments) WithH(v ...string) func(*CatSegmentsRequest)
- func (f CatSegments) WithHelp(v bool) func(*CatSegmentsRequest)
- func (f CatSegments) WithHuman() func(*CatSegmentsRequest)
- func (f CatSegments) WithIndex(v ...string) func(*CatSegmentsRequest)
- func (f CatSegments) WithPretty() func(*CatSegmentsRequest)
- func (f CatSegments) WithS(v ...string) func(*CatSegmentsRequest)
- func (f CatSegments) WithV(v bool) func(*CatSegmentsRequest)
- type CatSegmentsRequest
- type CatShards
- func (f CatShards) WithBytes(v string) func(*CatShardsRequest)
- func (f CatShards) WithContext(v context.Context) func(*CatShardsRequest)
- func (f CatShards) WithErrorTrace() func(*CatShardsRequest)
- func (f CatShards) WithFilterPath(v ...string) func(*CatShardsRequest)
- func (f CatShards) WithFormat(v string) func(*CatShardsRequest)
- func (f CatShards) WithH(v ...string) func(*CatShardsRequest)
- func (f CatShards) WithHelp(v bool) func(*CatShardsRequest)
- func (f CatShards) WithHuman() func(*CatShardsRequest)
- func (f CatShards) WithIndex(v ...string) func(*CatShardsRequest)
- func (f CatShards) WithLocal(v bool) func(*CatShardsRequest)
- func (f CatShards) WithMasterTimeout(v time.Duration) func(*CatShardsRequest)
- func (f CatShards) WithPretty() func(*CatShardsRequest)
- func (f CatShards) WithS(v ...string) func(*CatShardsRequest)
- func (f CatShards) WithV(v bool) func(*CatShardsRequest)
- type CatShardsRequest
- type CatSnapshots
- func (f CatSnapshots) WithContext(v context.Context) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithErrorTrace() func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithFilterPath(v ...string) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithFormat(v string) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithH(v ...string) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithHelp(v bool) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithHuman() func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithIgnoreUnavailable(v bool) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithMasterTimeout(v time.Duration) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithPretty() func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithRepository(v ...string) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithS(v ...string) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithV(v bool) func(*CatSnapshotsRequest)
- type CatSnapshotsRequest
- type CatTasks
- func (f CatTasks) WithActions(v ...string) func(*CatTasksRequest)
- func (f CatTasks) WithContext(v context.Context) func(*CatTasksRequest)
- func (f CatTasks) WithDetailed(v bool) func(*CatTasksRequest)
- func (f CatTasks) WithErrorTrace() func(*CatTasksRequest)
- func (f CatTasks) WithFilterPath(v ...string) func(*CatTasksRequest)
- func (f CatTasks) WithFormat(v string) func(*CatTasksRequest)
- func (f CatTasks) WithH(v ...string) func(*CatTasksRequest)
- func (f CatTasks) WithHelp(v bool) func(*CatTasksRequest)
- func (f CatTasks) WithHuman() func(*CatTasksRequest)
- func (f CatTasks) WithNodeID(v ...string) func(*CatTasksRequest)
- func (f CatTasks) WithParentTask(v int) func(*CatTasksRequest)
- func (f CatTasks) WithPretty() func(*CatTasksRequest)
- func (f CatTasks) WithS(v ...string) func(*CatTasksRequest)
- func (f CatTasks) WithV(v bool) func(*CatTasksRequest)
- type CatTasksRequest
- type CatTemplates
- func (f CatTemplates) WithContext(v context.Context) func(*CatTemplatesRequest)
- func (f CatTemplates) WithErrorTrace() func(*CatTemplatesRequest)
- func (f CatTemplates) WithFilterPath(v ...string) func(*CatTemplatesRequest)
- func (f CatTemplates) WithFormat(v string) func(*CatTemplatesRequest)
- func (f CatTemplates) WithH(v ...string) func(*CatTemplatesRequest)
- func (f CatTemplates) WithHelp(v bool) func(*CatTemplatesRequest)
- func (f CatTemplates) WithHuman() func(*CatTemplatesRequest)
- func (f CatTemplates) WithLocal(v bool) func(*CatTemplatesRequest)
- func (f CatTemplates) WithMasterTimeout(v time.Duration) func(*CatTemplatesRequest)
- func (f CatTemplates) WithName(v string) func(*CatTemplatesRequest)
- func (f CatTemplates) WithPretty() func(*CatTemplatesRequest)
- func (f CatTemplates) WithS(v ...string) func(*CatTemplatesRequest)
- func (f CatTemplates) WithV(v bool) func(*CatTemplatesRequest)
- type CatTemplatesRequest
- type CatThreadPool
- func (f CatThreadPool) WithContext(v context.Context) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithErrorTrace() func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithFilterPath(v ...string) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithFormat(v string) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithH(v ...string) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithHelp(v bool) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithHuman() func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithLocal(v bool) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithMasterTimeout(v time.Duration) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithPretty() func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithS(v ...string) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithSize(v string) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithThreadPoolPatterns(v ...string) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithV(v bool) func(*CatThreadPoolRequest)
- type CatThreadPoolRequest
- type ClearScroll
- func (f ClearScroll) WithBody(v io.Reader) func(*ClearScrollRequest)
- func (f ClearScroll) WithContext(v context.Context) func(*ClearScrollRequest)
- func (f ClearScroll) WithErrorTrace() func(*ClearScrollRequest)
- func (f ClearScroll) WithFilterPath(v ...string) func(*ClearScrollRequest)
- func (f ClearScroll) WithHuman() func(*ClearScrollRequest)
- func (f ClearScroll) WithPretty() func(*ClearScrollRequest)
- func (f ClearScroll) WithScrollID(v ...string) func(*ClearScrollRequest)
- type ClearScrollRequest
- type Cluster
- type ClusterAllocationExplain
- func (f ClusterAllocationExplain) WithBody(v io.Reader) func(*ClusterAllocationExplainRequest)
- func (f ClusterAllocationExplain) WithContext(v context.Context) func(*ClusterAllocationExplainRequest)
- func (f ClusterAllocationExplain) WithErrorTrace() func(*ClusterAllocationExplainRequest)
- func (f ClusterAllocationExplain) WithFilterPath(v ...string) func(*ClusterAllocationExplainRequest)
- func (f ClusterAllocationExplain) WithHuman() func(*ClusterAllocationExplainRequest)
- func (f ClusterAllocationExplain) WithIncludeDiskInfo(v bool) func(*ClusterAllocationExplainRequest)
- func (f ClusterAllocationExplain) WithIncludeYesDecisions(v bool) func(*ClusterAllocationExplainRequest)
- func (f ClusterAllocationExplain) WithPretty() func(*ClusterAllocationExplainRequest)
- type ClusterAllocationExplainRequest
- type ClusterGetSettings
- func (f ClusterGetSettings) WithContext(v context.Context) func(*ClusterGetSettingsRequest)
- func (f ClusterGetSettings) WithErrorTrace() func(*ClusterGetSettingsRequest)
- func (f ClusterGetSettings) WithFilterPath(v ...string) func(*ClusterGetSettingsRequest)
- func (f ClusterGetSettings) WithFlatSettings(v bool) func(*ClusterGetSettingsRequest)
- func (f ClusterGetSettings) WithHuman() func(*ClusterGetSettingsRequest)
- func (f ClusterGetSettings) WithIncludeDefaults(v bool) func(*ClusterGetSettingsRequest)
- func (f ClusterGetSettings) WithMasterTimeout(v time.Duration) func(*ClusterGetSettingsRequest)
- func (f ClusterGetSettings) WithPretty() func(*ClusterGetSettingsRequest)
- func (f ClusterGetSettings) WithTimeout(v time.Duration) func(*ClusterGetSettingsRequest)
- type ClusterGetSettingsRequest
- type ClusterHealth
- func (f ClusterHealth) WithContext(v context.Context) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithErrorTrace() func(*ClusterHealthRequest)
- func (f ClusterHealth) WithFilterPath(v ...string) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithHuman() func(*ClusterHealthRequest)
- func (f ClusterHealth) WithIndex(v ...string) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithLevel(v string) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithLocal(v bool) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithMasterTimeout(v time.Duration) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithPretty() func(*ClusterHealthRequest)
- func (f ClusterHealth) WithTimeout(v time.Duration) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithWaitForActiveShards(v string) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithWaitForEvents(v string) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithWaitForNoInitializingShards(v bool) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithWaitForNoRelocatingShards(v bool) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithWaitForNodes(v string) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithWaitForStatus(v string) func(*ClusterHealthRequest)
- type ClusterHealthRequest
- type ClusterPendingTasks
- func (f ClusterPendingTasks) WithContext(v context.Context) func(*ClusterPendingTasksRequest)
- func (f ClusterPendingTasks) WithErrorTrace() func(*ClusterPendingTasksRequest)
- func (f ClusterPendingTasks) WithFilterPath(v ...string) func(*ClusterPendingTasksRequest)
- func (f ClusterPendingTasks) WithHuman() func(*ClusterPendingTasksRequest)
- func (f ClusterPendingTasks) WithLocal(v bool) func(*ClusterPendingTasksRequest)
- func (f ClusterPendingTasks) WithMasterTimeout(v time.Duration) func(*ClusterPendingTasksRequest)
- func (f ClusterPendingTasks) WithPretty() func(*ClusterPendingTasksRequest)
- type ClusterPendingTasksRequest
- type ClusterPutSettings
- func (f ClusterPutSettings) WithContext(v context.Context) func(*ClusterPutSettingsRequest)
- func (f ClusterPutSettings) WithErrorTrace() func(*ClusterPutSettingsRequest)
- func (f ClusterPutSettings) WithFilterPath(v ...string) func(*ClusterPutSettingsRequest)
- func (f ClusterPutSettings) WithFlatSettings(v bool) func(*ClusterPutSettingsRequest)
- func (f ClusterPutSettings) WithHuman() func(*ClusterPutSettingsRequest)
- func (f ClusterPutSettings) WithMasterTimeout(v time.Duration) func(*ClusterPutSettingsRequest)
- func (f ClusterPutSettings) WithPretty() func(*ClusterPutSettingsRequest)
- func (f ClusterPutSettings) WithTimeout(v time.Duration) func(*ClusterPutSettingsRequest)
- type ClusterPutSettingsRequest
- type ClusterRemoteInfo
- func (f ClusterRemoteInfo) WithContext(v context.Context) func(*ClusterRemoteInfoRequest)
- func (f ClusterRemoteInfo) WithErrorTrace() func(*ClusterRemoteInfoRequest)
- func (f ClusterRemoteInfo) WithFilterPath(v ...string) func(*ClusterRemoteInfoRequest)
- func (f ClusterRemoteInfo) WithHuman() func(*ClusterRemoteInfoRequest)
- func (f ClusterRemoteInfo) WithPretty() func(*ClusterRemoteInfoRequest)
- type ClusterRemoteInfoRequest
- type ClusterReroute
- func (f ClusterReroute) WithBody(v io.Reader) func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithContext(v context.Context) func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithDryRun(v bool) func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithErrorTrace() func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithExplain(v bool) func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithFilterPath(v ...string) func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithHuman() func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithMasterTimeout(v time.Duration) func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithMetric(v ...string) func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithPretty() func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithRetryFailed(v bool) func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithTimeout(v time.Duration) func(*ClusterRerouteRequest)
- type ClusterRerouteRequest
- type ClusterState
- func (f ClusterState) WithAllowNoIndices(v bool) func(*ClusterStateRequest)
- func (f ClusterState) WithContext(v context.Context) func(*ClusterStateRequest)
- func (f ClusterState) WithErrorTrace() func(*ClusterStateRequest)
- func (f ClusterState) WithExpandWildcards(v string) func(*ClusterStateRequest)
- func (f ClusterState) WithFilterPath(v ...string) func(*ClusterStateRequest)
- func (f ClusterState) WithFlatSettings(v bool) func(*ClusterStateRequest)
- func (f ClusterState) WithHuman() func(*ClusterStateRequest)
- func (f ClusterState) WithIgnoreUnavailable(v bool) func(*ClusterStateRequest)
- func (f ClusterState) WithIndex(v ...string) func(*ClusterStateRequest)
- func (f ClusterState) WithLocal(v bool) func(*ClusterStateRequest)
- func (f ClusterState) WithMasterTimeout(v time.Duration) func(*ClusterStateRequest)
- func (f ClusterState) WithMetric(v ...string) func(*ClusterStateRequest)
- func (f ClusterState) WithPretty() func(*ClusterStateRequest)
- func (f ClusterState) WithWaitForMetadataVersion(v int) func(*ClusterStateRequest)
- func (f ClusterState) WithWaitForTimeout(v time.Duration) func(*ClusterStateRequest)
- type ClusterStateRequest
- type ClusterStats
- func (f ClusterStats) WithContext(v context.Context) func(*ClusterStatsRequest)
- func (f ClusterStats) WithErrorTrace() func(*ClusterStatsRequest)
- func (f ClusterStats) WithFilterPath(v ...string) func(*ClusterStatsRequest)
- func (f ClusterStats) WithFlatSettings(v bool) func(*ClusterStatsRequest)
- func (f ClusterStats) WithHuman() func(*ClusterStatsRequest)
- func (f ClusterStats) WithNodeID(v ...string) func(*ClusterStatsRequest)
- func (f ClusterStats) WithPretty() func(*ClusterStatsRequest)
- func (f ClusterStats) WithTimeout(v time.Duration) func(*ClusterStatsRequest)
- type ClusterStatsRequest
- type Count
- func (f Count) WithAllowNoIndices(v bool) func(*CountRequest)
- func (f Count) WithAnalyzeWildcard(v bool) func(*CountRequest)
- func (f Count) WithAnalyzer(v string) func(*CountRequest)
- func (f Count) WithBody(v io.Reader) func(*CountRequest)
- func (f Count) WithContext(v context.Context) func(*CountRequest)
- func (f Count) WithDefaultOperator(v string) func(*CountRequest)
- func (f Count) WithDf(v string) func(*CountRequest)
- func (f Count) WithDocumentType(v ...string) func(*CountRequest)
- func (f Count) WithErrorTrace() func(*CountRequest)
- func (f Count) WithExpandWildcards(v string) func(*CountRequest)
- func (f Count) WithFilterPath(v ...string) func(*CountRequest)
- func (f Count) WithHuman() func(*CountRequest)
- func (f Count) WithIgnoreThrottled(v bool) func(*CountRequest)
- func (f Count) WithIgnoreUnavailable(v bool) func(*CountRequest)
- func (f Count) WithIndex(v ...string) func(*CountRequest)
- func (f Count) WithLenient(v bool) func(*CountRequest)
- func (f Count) WithMinScore(v int) func(*CountRequest)
- func (f Count) WithPreference(v string) func(*CountRequest)
- func (f Count) WithPretty() func(*CountRequest)
- func (f Count) WithQuery(v string) func(*CountRequest)
- func (f Count) WithRouting(v ...string) func(*CountRequest)
- func (f Count) WithTerminateAfter(v int) func(*CountRequest)
- type CountRequest
- type Create
- func (f Create) WithContext(v context.Context) func(*CreateRequest)
- func (f Create) WithDocumentType(v string) func(*CreateRequest)
- func (f Create) WithErrorTrace() func(*CreateRequest)
- func (f Create) WithFilterPath(v ...string) func(*CreateRequest)
- func (f Create) WithHuman() func(*CreateRequest)
- func (f Create) WithParent(v string) func(*CreateRequest)
- func (f Create) WithPipeline(v string) func(*CreateRequest)
- func (f Create) WithPretty() func(*CreateRequest)
- func (f Create) WithRefresh(v string) func(*CreateRequest)
- func (f Create) WithRouting(v string) func(*CreateRequest)
- func (f Create) WithTimeout(v time.Duration) func(*CreateRequest)
- func (f Create) WithVersion(v int) func(*CreateRequest)
- func (f Create) WithVersionType(v string) func(*CreateRequest)
- func (f Create) WithWaitForActiveShards(v string) func(*CreateRequest)
- type CreateRequest
- type Delete
- func (f Delete) WithContext(v context.Context) func(*DeleteRequest)
- func (f Delete) WithDocumentType(v string) func(*DeleteRequest)
- func (f Delete) WithErrorTrace() func(*DeleteRequest)
- func (f Delete) WithFilterPath(v ...string) func(*DeleteRequest)
- func (f Delete) WithHuman() func(*DeleteRequest)
- func (f Delete) WithIfPrimaryTerm(v int) func(*DeleteRequest)
- func (f Delete) WithIfSeqNo(v int) func(*DeleteRequest)
- func (f Delete) WithParent(v string) func(*DeleteRequest)
- func (f Delete) WithPretty() func(*DeleteRequest)
- func (f Delete) WithRefresh(v string) func(*DeleteRequest)
- func (f Delete) WithRouting(v string) func(*DeleteRequest)
- func (f Delete) WithTimeout(v time.Duration) func(*DeleteRequest)
- func (f Delete) WithVersion(v int) func(*DeleteRequest)
- func (f Delete) WithVersionType(v string) func(*DeleteRequest)
- func (f Delete) WithWaitForActiveShards(v string) func(*DeleteRequest)
- type DeleteByQuery
- func (f DeleteByQuery) WithAllowNoIndices(v bool) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithAnalyzeWildcard(v bool) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithAnalyzer(v string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithConflicts(v string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithContext(v context.Context) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithDefaultOperator(v string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithDf(v string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithDocumentType(v ...string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithErrorTrace() func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithExpandWildcards(v string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithFilterPath(v ...string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithFrom(v int) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithHuman() func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithIgnoreUnavailable(v bool) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithLenient(v bool) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithPreference(v string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithPretty() func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithQuery(v string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithRefresh(v bool) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithRequestCache(v bool) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithRequestsPerSecond(v int) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithRouting(v ...string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithScroll(v time.Duration) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithScrollSize(v int) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithSearchTimeout(v time.Duration) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithSearchType(v string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithSize(v int) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithSlices(v int) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithSort(v ...string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithSource(v ...string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithSourceExcludes(v ...string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithSourceIncludes(v ...string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithStats(v ...string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithTerminateAfter(v int) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithTimeout(v time.Duration) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithVersion(v bool) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithWaitForActiveShards(v string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithWaitForCompletion(v bool) func(*DeleteByQueryRequest)
- type DeleteByQueryRequest
- type DeleteByQueryRethrottle
- func (f DeleteByQueryRethrottle) WithContext(v context.Context) func(*DeleteByQueryRethrottleRequest)
- func (f DeleteByQueryRethrottle) WithErrorTrace() func(*DeleteByQueryRethrottleRequest)
- func (f DeleteByQueryRethrottle) WithFilterPath(v ...string) func(*DeleteByQueryRethrottleRequest)
- func (f DeleteByQueryRethrottle) WithHuman() func(*DeleteByQueryRethrottleRequest)
- func (f DeleteByQueryRethrottle) WithPretty() func(*DeleteByQueryRethrottleRequest)
- func (f DeleteByQueryRethrottle) WithRequestsPerSecond(v int) func(*DeleteByQueryRethrottleRequest)
- type DeleteByQueryRethrottleRequest
- type DeleteRequest
- type DeleteScript
- func (f DeleteScript) WithContext(v context.Context) func(*DeleteScriptRequest)
- func (f DeleteScript) WithErrorTrace() func(*DeleteScriptRequest)
- func (f DeleteScript) WithFilterPath(v ...string) func(*DeleteScriptRequest)
- func (f DeleteScript) WithHuman() func(*DeleteScriptRequest)
- func (f DeleteScript) WithMasterTimeout(v time.Duration) func(*DeleteScriptRequest)
- func (f DeleteScript) WithPretty() func(*DeleteScriptRequest)
- func (f DeleteScript) WithTimeout(v time.Duration) func(*DeleteScriptRequest)
- type DeleteScriptRequest
- type Exists
- func (f Exists) WithContext(v context.Context) func(*ExistsRequest)
- func (f Exists) WithDocumentType(v string) func(*ExistsRequest)
- func (f Exists) WithErrorTrace() func(*ExistsRequest)
- func (f Exists) WithFilterPath(v ...string) func(*ExistsRequest)
- func (f Exists) WithHuman() func(*ExistsRequest)
- func (f Exists) WithParent(v string) func(*ExistsRequest)
- func (f Exists) WithPreference(v string) func(*ExistsRequest)
- func (f Exists) WithPretty() func(*ExistsRequest)
- func (f Exists) WithRealtime(v bool) func(*ExistsRequest)
- func (f Exists) WithRefresh(v bool) func(*ExistsRequest)
- func (f Exists) WithRouting(v string) func(*ExistsRequest)
- func (f Exists) WithSource(v ...string) func(*ExistsRequest)
- func (f Exists) WithSourceExcludes(v ...string) func(*ExistsRequest)
- func (f Exists) WithSourceIncludes(v ...string) func(*ExistsRequest)
- func (f Exists) WithStoredFields(v ...string) func(*ExistsRequest)
- func (f Exists) WithVersion(v int) func(*ExistsRequest)
- func (f Exists) WithVersionType(v string) func(*ExistsRequest)
- type ExistsRequest
- type ExistsSource
- func (f ExistsSource) WithContext(v context.Context) func(*ExistsSourceRequest)
- func (f ExistsSource) WithDocumentType(v string) func(*ExistsSourceRequest)
- func (f ExistsSource) WithErrorTrace() func(*ExistsSourceRequest)
- func (f ExistsSource) WithFilterPath(v ...string) func(*ExistsSourceRequest)
- func (f ExistsSource) WithHuman() func(*ExistsSourceRequest)
- func (f ExistsSource) WithParent(v string) func(*ExistsSourceRequest)
- func (f ExistsSource) WithPreference(v string) func(*ExistsSourceRequest)
- func (f ExistsSource) WithPretty() func(*ExistsSourceRequest)
- func (f ExistsSource) WithRealtime(v bool) func(*ExistsSourceRequest)
- func (f ExistsSource) WithRefresh(v bool) func(*ExistsSourceRequest)
- func (f ExistsSource) WithRouting(v string) func(*ExistsSourceRequest)
- func (f ExistsSource) WithSource(v ...string) func(*ExistsSourceRequest)
- func (f ExistsSource) WithSourceExcludes(v ...string) func(*ExistsSourceRequest)
- func (f ExistsSource) WithSourceIncludes(v ...string) func(*ExistsSourceRequest)
- func (f ExistsSource) WithVersion(v int) func(*ExistsSourceRequest)
- func (f ExistsSource) WithVersionType(v string) func(*ExistsSourceRequest)
- type ExistsSourceRequest
- type Explain
- func (f Explain) WithAnalyzeWildcard(v bool) func(*ExplainRequest)
- func (f Explain) WithAnalyzer(v string) func(*ExplainRequest)
- func (f Explain) WithBody(v io.Reader) func(*ExplainRequest)
- func (f Explain) WithContext(v context.Context) func(*ExplainRequest)
- func (f Explain) WithDefaultOperator(v string) func(*ExplainRequest)
- func (f Explain) WithDf(v string) func(*ExplainRequest)
- func (f Explain) WithDocumentType(v string) func(*ExplainRequest)
- func (f Explain) WithErrorTrace() func(*ExplainRequest)
- func (f Explain) WithFilterPath(v ...string) func(*ExplainRequest)
- func (f Explain) WithHuman() func(*ExplainRequest)
- func (f Explain) WithLenient(v bool) func(*ExplainRequest)
- func (f Explain) WithParent(v string) func(*ExplainRequest)
- func (f Explain) WithPreference(v string) func(*ExplainRequest)
- func (f Explain) WithPretty() func(*ExplainRequest)
- func (f Explain) WithQuery(v string) func(*ExplainRequest)
- func (f Explain) WithRouting(v string) func(*ExplainRequest)
- func (f Explain) WithSource(v ...string) func(*ExplainRequest)
- func (f Explain) WithSourceExcludes(v ...string) func(*ExplainRequest)
- func (f Explain) WithSourceIncludes(v ...string) func(*ExplainRequest)
- func (f Explain) WithStoredFields(v ...string) func(*ExplainRequest)
- type ExplainRequest
- type FieldCaps
- func (f FieldCaps) WithAllowNoIndices(v bool) func(*FieldCapsRequest)
- func (f FieldCaps) WithContext(v context.Context) func(*FieldCapsRequest)
- func (f FieldCaps) WithErrorTrace() func(*FieldCapsRequest)
- func (f FieldCaps) WithExpandWildcards(v string) func(*FieldCapsRequest)
- func (f FieldCaps) WithFields(v ...string) func(*FieldCapsRequest)
- func (f FieldCaps) WithFilterPath(v ...string) func(*FieldCapsRequest)
- func (f FieldCaps) WithHuman() func(*FieldCapsRequest)
- func (f FieldCaps) WithIgnoreUnavailable(v bool) func(*FieldCapsRequest)
- func (f FieldCaps) WithIndex(v ...string) func(*FieldCapsRequest)
- func (f FieldCaps) WithPretty() func(*FieldCapsRequest)
- type FieldCapsRequest
- type Get
- func (f Get) WithContext(v context.Context) func(*GetRequest)
- func (f Get) WithDocumentType(v string) func(*GetRequest)
- func (f Get) WithErrorTrace() func(*GetRequest)
- func (f Get) WithFilterPath(v ...string) func(*GetRequest)
- func (f Get) WithHuman() func(*GetRequest)
- func (f Get) WithParent(v string) func(*GetRequest)
- func (f Get) WithPreference(v string) func(*GetRequest)
- func (f Get) WithPretty() func(*GetRequest)
- func (f Get) WithRealtime(v bool) func(*GetRequest)
- func (f Get) WithRefresh(v bool) func(*GetRequest)
- func (f Get) WithRouting(v string) func(*GetRequest)
- func (f Get) WithSource(v ...string) func(*GetRequest)
- func (f Get) WithSourceExclude(v ...string) func(*GetRequest)
- func (f Get) WithSourceExcludes(v ...string) func(*GetRequest)
- func (f Get) WithSourceInclude(v ...string) func(*GetRequest)
- func (f Get) WithSourceIncludes(v ...string) func(*GetRequest)
- func (f Get) WithStoredFields(v ...string) func(*GetRequest)
- func (f Get) WithVersion(v int) func(*GetRequest)
- func (f Get) WithVersionType(v string) func(*GetRequest)
- type GetRequest
- type GetScript
- func (f GetScript) WithContext(v context.Context) func(*GetScriptRequest)
- func (f GetScript) WithErrorTrace() func(*GetScriptRequest)
- func (f GetScript) WithFilterPath(v ...string) func(*GetScriptRequest)
- func (f GetScript) WithHuman() func(*GetScriptRequest)
- func (f GetScript) WithMasterTimeout(v time.Duration) func(*GetScriptRequest)
- func (f GetScript) WithPretty() func(*GetScriptRequest)
- type GetScriptRequest
- type GetSource
- func (f GetSource) WithContext(v context.Context) func(*GetSourceRequest)
- func (f GetSource) WithDocumentType(v string) func(*GetSourceRequest)
- func (f GetSource) WithErrorTrace() func(*GetSourceRequest)
- func (f GetSource) WithFilterPath(v ...string) func(*GetSourceRequest)
- func (f GetSource) WithHuman() func(*GetSourceRequest)
- func (f GetSource) WithParent(v string) func(*GetSourceRequest)
- func (f GetSource) WithPreference(v string) func(*GetSourceRequest)
- func (f GetSource) WithPretty() func(*GetSourceRequest)
- func (f GetSource) WithRealtime(v bool) func(*GetSourceRequest)
- func (f GetSource) WithRefresh(v bool) func(*GetSourceRequest)
- func (f GetSource) WithRouting(v string) func(*GetSourceRequest)
- func (f GetSource) WithSource(v ...string) func(*GetSourceRequest)
- func (f GetSource) WithSourceExcludes(v ...string) func(*GetSourceRequest)
- func (f GetSource) WithSourceIncludes(v ...string) func(*GetSourceRequest)
- func (f GetSource) WithVersion(v int) func(*GetSourceRequest)
- func (f GetSource) WithVersionType(v string) func(*GetSourceRequest)
- type GetSourceRequest
- type Index
- func (f Index) WithContext(v context.Context) func(*IndexRequest)
- func (f Index) WithDocumentID(v string) func(*IndexRequest)
- func (f Index) WithDocumentType(v string) func(*IndexRequest)
- func (f Index) WithErrorTrace() func(*IndexRequest)
- func (f Index) WithFilterPath(v ...string) func(*IndexRequest)
- func (f Index) WithHuman() func(*IndexRequest)
- func (f Index) WithIfPrimaryTerm(v int) func(*IndexRequest)
- func (f Index) WithIfSeqNo(v int) func(*IndexRequest)
- func (f Index) WithOpType(v string) func(*IndexRequest)
- func (f Index) WithParent(v string) func(*IndexRequest)
- func (f Index) WithPipeline(v string) func(*IndexRequest)
- func (f Index) WithPretty() func(*IndexRequest)
- func (f Index) WithRefresh(v string) func(*IndexRequest)
- func (f Index) WithRouting(v string) func(*IndexRequest)
- func (f Index) WithTimeout(v time.Duration) func(*IndexRequest)
- func (f Index) WithVersion(v int) func(*IndexRequest)
- func (f Index) WithVersionType(v string) func(*IndexRequest)
- func (f Index) WithWaitForActiveShards(v string) func(*IndexRequest)
- type IndexRequest
- type Indices
- type IndicesAnalyze
- func (f IndicesAnalyze) WithBody(v io.Reader) func(*IndicesAnalyzeRequest)
- func (f IndicesAnalyze) WithContext(v context.Context) func(*IndicesAnalyzeRequest)
- func (f IndicesAnalyze) WithErrorTrace() func(*IndicesAnalyzeRequest)
- func (f IndicesAnalyze) WithFilterPath(v ...string) func(*IndicesAnalyzeRequest)
- func (f IndicesAnalyze) WithHuman() func(*IndicesAnalyzeRequest)
- func (f IndicesAnalyze) WithIndex(v string) func(*IndicesAnalyzeRequest)
- func (f IndicesAnalyze) WithPretty() func(*IndicesAnalyzeRequest)
- type IndicesAnalyzeRequest
- type IndicesClearCache
- func (f IndicesClearCache) WithAllowNoIndices(v bool) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithContext(v context.Context) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithErrorTrace() func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithExpandWildcards(v string) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithFielddata(v bool) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithFields(v ...string) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithFilterPath(v ...string) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithHuman() func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithIgnoreUnavailable(v bool) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithIndex(v ...string) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithPretty() func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithQuery(v bool) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithRequest(v bool) func(*IndicesClearCacheRequest)
- type IndicesClearCacheRequest
- type IndicesClose
- func (f IndicesClose) WithAllowNoIndices(v bool) func(*IndicesCloseRequest)
- func (f IndicesClose) WithContext(v context.Context) func(*IndicesCloseRequest)
- func (f IndicesClose) WithErrorTrace() func(*IndicesCloseRequest)
- func (f IndicesClose) WithExpandWildcards(v string) func(*IndicesCloseRequest)
- func (f IndicesClose) WithFilterPath(v ...string) func(*IndicesCloseRequest)
- func (f IndicesClose) WithHuman() func(*IndicesCloseRequest)
- func (f IndicesClose) WithIgnoreUnavailable(v bool) func(*IndicesCloseRequest)
- func (f IndicesClose) WithMasterTimeout(v time.Duration) func(*IndicesCloseRequest)
- func (f IndicesClose) WithPretty() func(*IndicesCloseRequest)
- func (f IndicesClose) WithTimeout(v time.Duration) func(*IndicesCloseRequest)
- type IndicesCloseRequest
- type IndicesCreate
- func (f IndicesCreate) WithBody(v io.Reader) func(*IndicesCreateRequest)
- func (f IndicesCreate) WithContext(v context.Context) func(*IndicesCreateRequest)
- func (f IndicesCreate) WithErrorTrace() func(*IndicesCreateRequest)
- func (f IndicesCreate) WithFilterPath(v ...string) func(*IndicesCreateRequest)
- func (f IndicesCreate) WithHuman() func(*IndicesCreateRequest)
- func (f IndicesCreate) WithIncludeTypeName(v bool) func(*IndicesCreateRequest)
- func (f IndicesCreate) WithMasterTimeout(v time.Duration) func(*IndicesCreateRequest)
- func (f IndicesCreate) WithPretty() func(*IndicesCreateRequest)
- func (f IndicesCreate) WithTimeout(v time.Duration) func(*IndicesCreateRequest)
- func (f IndicesCreate) WithWaitForActiveShards(v string) func(*IndicesCreateRequest)
- type IndicesCreateRequest
- type IndicesDelete
- func (f IndicesDelete) WithAllowNoIndices(v bool) func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithContext(v context.Context) func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithErrorTrace() func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithExpandWildcards(v string) func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithFilterPath(v ...string) func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithHuman() func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithIgnoreUnavailable(v bool) func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithMasterTimeout(v time.Duration) func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithPretty() func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithTimeout(v time.Duration) func(*IndicesDeleteRequest)
- type IndicesDeleteAlias
- func (f IndicesDeleteAlias) WithContext(v context.Context) func(*IndicesDeleteAliasRequest)
- func (f IndicesDeleteAlias) WithErrorTrace() func(*IndicesDeleteAliasRequest)
- func (f IndicesDeleteAlias) WithFilterPath(v ...string) func(*IndicesDeleteAliasRequest)
- func (f IndicesDeleteAlias) WithHuman() func(*IndicesDeleteAliasRequest)
- func (f IndicesDeleteAlias) WithMasterTimeout(v time.Duration) func(*IndicesDeleteAliasRequest)
- func (f IndicesDeleteAlias) WithPretty() func(*IndicesDeleteAliasRequest)
- func (f IndicesDeleteAlias) WithTimeout(v time.Duration) func(*IndicesDeleteAliasRequest)
- type IndicesDeleteAliasRequest
- type IndicesDeleteRequest
- type IndicesDeleteTemplate
- func (f IndicesDeleteTemplate) WithContext(v context.Context) func(*IndicesDeleteTemplateRequest)
- func (f IndicesDeleteTemplate) WithErrorTrace() func(*IndicesDeleteTemplateRequest)
- func (f IndicesDeleteTemplate) WithFilterPath(v ...string) func(*IndicesDeleteTemplateRequest)
- func (f IndicesDeleteTemplate) WithHuman() func(*IndicesDeleteTemplateRequest)
- func (f IndicesDeleteTemplate) WithMasterTimeout(v time.Duration) func(*IndicesDeleteTemplateRequest)
- func (f IndicesDeleteTemplate) WithPretty() func(*IndicesDeleteTemplateRequest)
- func (f IndicesDeleteTemplate) WithTimeout(v time.Duration) func(*IndicesDeleteTemplateRequest)
- type IndicesDeleteTemplateRequest
- type IndicesExists
- func (f IndicesExists) WithAllowNoIndices(v bool) func(*IndicesExistsRequest)
- func (f IndicesExists) WithContext(v context.Context) func(*IndicesExistsRequest)
- func (f IndicesExists) WithErrorTrace() func(*IndicesExistsRequest)
- func (f IndicesExists) WithExpandWildcards(v string) func(*IndicesExistsRequest)
- func (f IndicesExists) WithFilterPath(v ...string) func(*IndicesExistsRequest)
- func (f IndicesExists) WithFlatSettings(v bool) func(*IndicesExistsRequest)
- func (f IndicesExists) WithHuman() func(*IndicesExistsRequest)
- func (f IndicesExists) WithIgnoreUnavailable(v bool) func(*IndicesExistsRequest)
- func (f IndicesExists) WithIncludeDefaults(v bool) func(*IndicesExistsRequest)
- func (f IndicesExists) WithLocal(v bool) func(*IndicesExistsRequest)
- func (f IndicesExists) WithPretty() func(*IndicesExistsRequest)
- type IndicesExistsAlias
- func (f IndicesExistsAlias) WithAllowNoIndices(v bool) func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithContext(v context.Context) func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithErrorTrace() func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithExpandWildcards(v string) func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithFilterPath(v ...string) func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithHuman() func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithIgnoreUnavailable(v bool) func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithIndex(v ...string) func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithLocal(v bool) func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithPretty() func(*IndicesExistsAliasRequest)
- type IndicesExistsAliasRequest
- type IndicesExistsRequest
- type IndicesExistsTemplate
- func (f IndicesExistsTemplate) WithContext(v context.Context) func(*IndicesExistsTemplateRequest)
- func (f IndicesExistsTemplate) WithErrorTrace() func(*IndicesExistsTemplateRequest)
- func (f IndicesExistsTemplate) WithFilterPath(v ...string) func(*IndicesExistsTemplateRequest)
- func (f IndicesExistsTemplate) WithFlatSettings(v bool) func(*IndicesExistsTemplateRequest)
- func (f IndicesExistsTemplate) WithHuman() func(*IndicesExistsTemplateRequest)
- func (f IndicesExistsTemplate) WithLocal(v bool) func(*IndicesExistsTemplateRequest)
- func (f IndicesExistsTemplate) WithMasterTimeout(v time.Duration) func(*IndicesExistsTemplateRequest)
- func (f IndicesExistsTemplate) WithPretty() func(*IndicesExistsTemplateRequest)
- type IndicesExistsTemplateRequest
- type IndicesExistsType
- func (f IndicesExistsType) WithAllowNoIndices(v bool) func(*IndicesExistsTypeRequest)
- func (f IndicesExistsType) WithContext(v context.Context) func(*IndicesExistsTypeRequest)
- func (f IndicesExistsType) WithDocumentType(v ...string) func(*IndicesExistsTypeRequest)
- func (f IndicesExistsType) WithErrorTrace() func(*IndicesExistsTypeRequest)
- func (f IndicesExistsType) WithExpandWildcards(v string) func(*IndicesExistsTypeRequest)
- func (f IndicesExistsType) WithFilterPath(v ...string) func(*IndicesExistsTypeRequest)
- func (f IndicesExistsType) WithHuman() func(*IndicesExistsTypeRequest)
- func (f IndicesExistsType) WithIgnoreUnavailable(v bool) func(*IndicesExistsTypeRequest)
- func (f IndicesExistsType) WithLocal(v bool) func(*IndicesExistsTypeRequest)
- func (f IndicesExistsType) WithPretty() func(*IndicesExistsTypeRequest)
- type IndicesExistsTypeRequest
- type IndicesFlush
- func (f IndicesFlush) WithAllowNoIndices(v bool) func(*IndicesFlushRequest)
- func (f IndicesFlush) WithContext(v context.Context) func(*IndicesFlushRequest)
- func (f IndicesFlush) WithErrorTrace() func(*IndicesFlushRequest)
- func (f IndicesFlush) WithExpandWildcards(v string) func(*IndicesFlushRequest)
- func (f IndicesFlush) WithFilterPath(v ...string) func(*IndicesFlushRequest)
- func (f IndicesFlush) WithForce(v bool) func(*IndicesFlushRequest)
- func (f IndicesFlush) WithHuman() func(*IndicesFlushRequest)
- func (f IndicesFlush) WithIgnoreUnavailable(v bool) func(*IndicesFlushRequest)
- func (f IndicesFlush) WithIndex(v ...string) func(*IndicesFlushRequest)
- func (f IndicesFlush) WithPretty() func(*IndicesFlushRequest)
- func (f IndicesFlush) WithWaitIfOngoing(v bool) func(*IndicesFlushRequest)
- type IndicesFlushRequest
- type IndicesFlushSynced
- func (f IndicesFlushSynced) WithAllowNoIndices(v bool) func(*IndicesFlushSyncedRequest)
- func (f IndicesFlushSynced) WithContext(v context.Context) func(*IndicesFlushSyncedRequest)
- func (f IndicesFlushSynced) WithErrorTrace() func(*IndicesFlushSyncedRequest)
- func (f IndicesFlushSynced) WithExpandWildcards(v string) func(*IndicesFlushSyncedRequest)
- func (f IndicesFlushSynced) WithFilterPath(v ...string) func(*IndicesFlushSyncedRequest)
- func (f IndicesFlushSynced) WithHuman() func(*IndicesFlushSyncedRequest)
- func (f IndicesFlushSynced) WithIgnoreUnavailable(v bool) func(*IndicesFlushSyncedRequest)
- func (f IndicesFlushSynced) WithIndex(v ...string) func(*IndicesFlushSyncedRequest)
- func (f IndicesFlushSynced) WithPretty() func(*IndicesFlushSyncedRequest)
- type IndicesFlushSyncedRequest
- type IndicesForcemerge
- func (f IndicesForcemerge) WithAllowNoIndices(v bool) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithContext(v context.Context) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithErrorTrace() func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithExpandWildcards(v string) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithFilterPath(v ...string) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithFlush(v bool) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithHuman() func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithIgnoreUnavailable(v bool) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithIndex(v ...string) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithMaxNumSegments(v int) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithOnlyExpungeDeletes(v bool) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithPretty() func(*IndicesForcemergeRequest)
- type IndicesForcemergeRequest
- type IndicesGet
- func (f IndicesGet) WithAllowNoIndices(v bool) func(*IndicesGetRequest)
- func (f IndicesGet) WithContext(v context.Context) func(*IndicesGetRequest)
- func (f IndicesGet) WithErrorTrace() func(*IndicesGetRequest)
- func (f IndicesGet) WithExpandWildcards(v string) func(*IndicesGetRequest)
- func (f IndicesGet) WithFilterPath(v ...string) func(*IndicesGetRequest)
- func (f IndicesGet) WithFlatSettings(v bool) func(*IndicesGetRequest)
- func (f IndicesGet) WithHuman() func(*IndicesGetRequest)
- func (f IndicesGet) WithIgnoreUnavailable(v bool) func(*IndicesGetRequest)
- func (f IndicesGet) WithIncludeDefaults(v bool) func(*IndicesGetRequest)
- func (f IndicesGet) WithIncludeTypeName(v bool) func(*IndicesGetRequest)
- func (f IndicesGet) WithLocal(v bool) func(*IndicesGetRequest)
- func (f IndicesGet) WithMasterTimeout(v time.Duration) func(*IndicesGetRequest)
- func (f IndicesGet) WithPretty() func(*IndicesGetRequest)
- type IndicesGetAlias
- func (f IndicesGetAlias) WithAllowNoIndices(v bool) func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithContext(v context.Context) func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithErrorTrace() func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithExpandWildcards(v string) func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithFilterPath(v ...string) func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithHuman() func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithIgnoreUnavailable(v bool) func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithIndex(v ...string) func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithLocal(v bool) func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithName(v ...string) func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithPretty() func(*IndicesGetAliasRequest)
- type IndicesGetAliasRequest
- type IndicesGetFieldMapping
- func (f IndicesGetFieldMapping) WithAllowNoIndices(v bool) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithContext(v context.Context) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithDocumentType(v ...string) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithErrorTrace() func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithExpandWildcards(v string) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithFilterPath(v ...string) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithHuman() func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithIgnoreUnavailable(v bool) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithIncludeDefaults(v bool) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithIncludeTypeName(v bool) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithIndex(v ...string) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithLocal(v bool) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithPretty() func(*IndicesGetFieldMappingRequest)
- type IndicesGetFieldMappingRequest
- type IndicesGetMapping
- func (f IndicesGetMapping) WithAllowNoIndices(v bool) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithContext(v context.Context) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithDocumentType(v ...string) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithErrorTrace() func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithExpandWildcards(v string) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithFilterPath(v ...string) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithHuman() func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithIgnoreUnavailable(v bool) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithIncludeTypeName(v bool) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithIndex(v ...string) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithLocal(v bool) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithMasterTimeout(v time.Duration) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithPretty() func(*IndicesGetMappingRequest)
- type IndicesGetMappingRequest
- type IndicesGetRequest
- type IndicesGetSettings
- func (f IndicesGetSettings) WithAllowNoIndices(v bool) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithContext(v context.Context) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithErrorTrace() func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithExpandWildcards(v string) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithFilterPath(v ...string) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithFlatSettings(v bool) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithHuman() func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithIgnoreUnavailable(v bool) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithIncludeDefaults(v bool) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithIndex(v ...string) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithLocal(v bool) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithMasterTimeout(v time.Duration) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithName(v ...string) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithPretty() func(*IndicesGetSettingsRequest)
- type IndicesGetSettingsRequest
- type IndicesGetTemplate
- func (f IndicesGetTemplate) WithContext(v context.Context) func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithErrorTrace() func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithFilterPath(v ...string) func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithFlatSettings(v bool) func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithHuman() func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithIncludeTypeName(v bool) func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithLocal(v bool) func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithMasterTimeout(v time.Duration) func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithName(v ...string) func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithPretty() func(*IndicesGetTemplateRequest)
- type IndicesGetTemplateRequest
- type IndicesGetUpgrade
- func (f IndicesGetUpgrade) WithAllowNoIndices(v bool) func(*IndicesGetUpgradeRequest)
- func (f IndicesGetUpgrade) WithContext(v context.Context) func(*IndicesGetUpgradeRequest)
- func (f IndicesGetUpgrade) WithErrorTrace() func(*IndicesGetUpgradeRequest)
- func (f IndicesGetUpgrade) WithExpandWildcards(v string) func(*IndicesGetUpgradeRequest)
- func (f IndicesGetUpgrade) WithFilterPath(v ...string) func(*IndicesGetUpgradeRequest)
- func (f IndicesGetUpgrade) WithHuman() func(*IndicesGetUpgradeRequest)
- func (f IndicesGetUpgrade) WithIgnoreUnavailable(v bool) func(*IndicesGetUpgradeRequest)
- func (f IndicesGetUpgrade) WithIndex(v ...string) func(*IndicesGetUpgradeRequest)
- func (f IndicesGetUpgrade) WithPretty() func(*IndicesGetUpgradeRequest)
- type IndicesGetUpgradeRequest
- type IndicesOpen
- func (f IndicesOpen) WithAllowNoIndices(v bool) func(*IndicesOpenRequest)
- func (f IndicesOpen) WithContext(v context.Context) func(*IndicesOpenRequest)
- func (f IndicesOpen) WithErrorTrace() func(*IndicesOpenRequest)
- func (f IndicesOpen) WithExpandWildcards(v string) func(*IndicesOpenRequest)
- func (f IndicesOpen) WithFilterPath(v ...string) func(*IndicesOpenRequest)
- func (f IndicesOpen) WithHuman() func(*IndicesOpenRequest)
- func (f IndicesOpen) WithIgnoreUnavailable(v bool) func(*IndicesOpenRequest)
- func (f IndicesOpen) WithMasterTimeout(v time.Duration) func(*IndicesOpenRequest)
- func (f IndicesOpen) WithPretty() func(*IndicesOpenRequest)
- func (f IndicesOpen) WithTimeout(v time.Duration) func(*IndicesOpenRequest)
- func (f IndicesOpen) WithWaitForActiveShards(v string) func(*IndicesOpenRequest)
- type IndicesOpenRequest
- type IndicesPutAlias
- func (f IndicesPutAlias) WithBody(v io.Reader) func(*IndicesPutAliasRequest)
- func (f IndicesPutAlias) WithContext(v context.Context) func(*IndicesPutAliasRequest)
- func (f IndicesPutAlias) WithErrorTrace() func(*IndicesPutAliasRequest)
- func (f IndicesPutAlias) WithFilterPath(v ...string) func(*IndicesPutAliasRequest)
- func (f IndicesPutAlias) WithHuman() func(*IndicesPutAliasRequest)
- func (f IndicesPutAlias) WithMasterTimeout(v time.Duration) func(*IndicesPutAliasRequest)
- func (f IndicesPutAlias) WithPretty() func(*IndicesPutAliasRequest)
- func (f IndicesPutAlias) WithTimeout(v time.Duration) func(*IndicesPutAliasRequest)
- type IndicesPutAliasRequest
- type IndicesPutMapping
- func (f IndicesPutMapping) WithAllowNoIndices(v bool) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithContext(v context.Context) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithDocumentType(v string) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithErrorTrace() func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithExpandWildcards(v string) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithFilterPath(v ...string) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithHuman() func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithIgnoreUnavailable(v bool) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithIncludeTypeName(v bool) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithIndex(v ...string) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithMasterTimeout(v time.Duration) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithPretty() func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithTimeout(v time.Duration) func(*IndicesPutMappingRequest)
- type IndicesPutMappingRequest
- type IndicesPutSettings
- func (f IndicesPutSettings) WithAllowNoIndices(v bool) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithContext(v context.Context) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithErrorTrace() func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithExpandWildcards(v string) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithFilterPath(v ...string) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithFlatSettings(v bool) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithHuman() func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithIgnoreUnavailable(v bool) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithIndex(v ...string) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithMasterTimeout(v time.Duration) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithPreserveExisting(v bool) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithPretty() func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithTimeout(v time.Duration) func(*IndicesPutSettingsRequest)
- type IndicesPutSettingsRequest
- type IndicesPutTemplate
- func (f IndicesPutTemplate) WithContext(v context.Context) func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithCreate(v bool) func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithErrorTrace() func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithFilterPath(v ...string) func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithFlatSettings(v bool) func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithHuman() func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithIncludeTypeName(v bool) func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithMasterTimeout(v time.Duration) func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithOrder(v int) func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithPretty() func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithTimeout(v time.Duration) func(*IndicesPutTemplateRequest)
- type IndicesPutTemplateRequest
- type IndicesRecovery
- func (f IndicesRecovery) WithActiveOnly(v bool) func(*IndicesRecoveryRequest)
- func (f IndicesRecovery) WithContext(v context.Context) func(*IndicesRecoveryRequest)
- func (f IndicesRecovery) WithDetailed(v bool) func(*IndicesRecoveryRequest)
- func (f IndicesRecovery) WithErrorTrace() func(*IndicesRecoveryRequest)
- func (f IndicesRecovery) WithFilterPath(v ...string) func(*IndicesRecoveryRequest)
- func (f IndicesRecovery) WithHuman() func(*IndicesRecoveryRequest)
- func (f IndicesRecovery) WithIndex(v ...string) func(*IndicesRecoveryRequest)
- func (f IndicesRecovery) WithPretty() func(*IndicesRecoveryRequest)
- type IndicesRecoveryRequest
- type IndicesRefresh
- func (f IndicesRefresh) WithAllowNoIndices(v bool) func(*IndicesRefreshRequest)
- func (f IndicesRefresh) WithContext(v context.Context) func(*IndicesRefreshRequest)
- func (f IndicesRefresh) WithErrorTrace() func(*IndicesRefreshRequest)
- func (f IndicesRefresh) WithExpandWildcards(v string) func(*IndicesRefreshRequest)
- func (f IndicesRefresh) WithFilterPath(v ...string) func(*IndicesRefreshRequest)
- func (f IndicesRefresh) WithHuman() func(*IndicesRefreshRequest)
- func (f IndicesRefresh) WithIgnoreUnavailable(v bool) func(*IndicesRefreshRequest)
- func (f IndicesRefresh) WithIndex(v ...string) func(*IndicesRefreshRequest)
- func (f IndicesRefresh) WithPretty() func(*IndicesRefreshRequest)
- type IndicesRefreshRequest
- type IndicesRollover
- func (f IndicesRollover) WithBody(v io.Reader) func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithContext(v context.Context) func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithDryRun(v bool) func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithErrorTrace() func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithFilterPath(v ...string) func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithHuman() func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithIncludeTypeName(v bool) func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithMasterTimeout(v time.Duration) func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithNewIndex(v string) func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithPretty() func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithTimeout(v time.Duration) func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithWaitForActiveShards(v string) func(*IndicesRolloverRequest)
- type IndicesRolloverRequest
- type IndicesSegments
- func (f IndicesSegments) WithAllowNoIndices(v bool) func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithContext(v context.Context) func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithErrorTrace() func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithExpandWildcards(v string) func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithFilterPath(v ...string) func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithHuman() func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithIgnoreUnavailable(v bool) func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithIndex(v ...string) func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithPretty() func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithVerbose(v bool) func(*IndicesSegmentsRequest)
- type IndicesSegmentsRequest
- type IndicesShardStores
- func (f IndicesShardStores) WithAllowNoIndices(v bool) func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithContext(v context.Context) func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithErrorTrace() func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithExpandWildcards(v string) func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithFilterPath(v ...string) func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithHuman() func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithIgnoreUnavailable(v bool) func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithIndex(v ...string) func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithPretty() func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithStatus(v ...string) func(*IndicesShardStoresRequest)
- type IndicesShardStoresRequest
- type IndicesShrink
- func (f IndicesShrink) WithBody(v io.Reader) func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithContext(v context.Context) func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithCopySettings(v bool) func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithErrorTrace() func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithFilterPath(v ...string) func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithHuman() func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithMasterTimeout(v time.Duration) func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithPretty() func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithTimeout(v time.Duration) func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithWaitForActiveShards(v string) func(*IndicesShrinkRequest)
- type IndicesShrinkRequest
- type IndicesSplit
- func (f IndicesSplit) WithBody(v io.Reader) func(*IndicesSplitRequest)
- func (f IndicesSplit) WithContext(v context.Context) func(*IndicesSplitRequest)
- func (f IndicesSplit) WithCopySettings(v bool) func(*IndicesSplitRequest)
- func (f IndicesSplit) WithErrorTrace() func(*IndicesSplitRequest)
- func (f IndicesSplit) WithFilterPath(v ...string) func(*IndicesSplitRequest)
- func (f IndicesSplit) WithHuman() func(*IndicesSplitRequest)
- func (f IndicesSplit) WithMasterTimeout(v time.Duration) func(*IndicesSplitRequest)
- func (f IndicesSplit) WithPretty() func(*IndicesSplitRequest)
- func (f IndicesSplit) WithTimeout(v time.Duration) func(*IndicesSplitRequest)
- func (f IndicesSplit) WithWaitForActiveShards(v string) func(*IndicesSplitRequest)
- type IndicesSplitRequest
- type IndicesStats
- func (f IndicesStats) WithCompletionFields(v ...string) func(*IndicesStatsRequest)
- func (f IndicesStats) WithContext(v context.Context) func(*IndicesStatsRequest)
- func (f IndicesStats) WithErrorTrace() func(*IndicesStatsRequest)
- func (f IndicesStats) WithFielddataFields(v ...string) func(*IndicesStatsRequest)
- func (f IndicesStats) WithFields(v ...string) func(*IndicesStatsRequest)
- func (f IndicesStats) WithFilterPath(v ...string) func(*IndicesStatsRequest)
- func (f IndicesStats) WithGroups(v ...string) func(*IndicesStatsRequest)
- func (f IndicesStats) WithHuman() func(*IndicesStatsRequest)
- func (f IndicesStats) WithIncludeSegmentFileSizes(v bool) func(*IndicesStatsRequest)
- func (f IndicesStats) WithIndex(v ...string) func(*IndicesStatsRequest)
- func (f IndicesStats) WithLevel(v string) func(*IndicesStatsRequest)
- func (f IndicesStats) WithMetric(v ...string) func(*IndicesStatsRequest)
- func (f IndicesStats) WithPretty() func(*IndicesStatsRequest)
- func (f IndicesStats) WithTypes(v ...string) func(*IndicesStatsRequest)
- type IndicesStatsRequest
- type IndicesUpdateAliases
- func (f IndicesUpdateAliases) WithContext(v context.Context) func(*IndicesUpdateAliasesRequest)
- func (f IndicesUpdateAliases) WithErrorTrace() func(*IndicesUpdateAliasesRequest)
- func (f IndicesUpdateAliases) WithFilterPath(v ...string) func(*IndicesUpdateAliasesRequest)
- func (f IndicesUpdateAliases) WithHuman() func(*IndicesUpdateAliasesRequest)
- func (f IndicesUpdateAliases) WithMasterTimeout(v time.Duration) func(*IndicesUpdateAliasesRequest)
- func (f IndicesUpdateAliases) WithPretty() func(*IndicesUpdateAliasesRequest)
- func (f IndicesUpdateAliases) WithTimeout(v time.Duration) func(*IndicesUpdateAliasesRequest)
- type IndicesUpdateAliasesRequest
- type IndicesUpgrade
- func (f IndicesUpgrade) WithAllowNoIndices(v bool) func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithContext(v context.Context) func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithErrorTrace() func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithExpandWildcards(v string) func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithFilterPath(v ...string) func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithHuman() func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithIgnoreUnavailable(v bool) func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithIndex(v ...string) func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithOnlyAncientSegments(v bool) func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithPretty() func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithWaitForCompletion(v bool) func(*IndicesUpgradeRequest)
- type IndicesUpgradeRequest
- type IndicesValidateQuery
- func (f IndicesValidateQuery) WithAllShards(v bool) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithAllowNoIndices(v bool) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithAnalyzeWildcard(v bool) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithAnalyzer(v string) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithBody(v io.Reader) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithContext(v context.Context) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithDefaultOperator(v string) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithDf(v string) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithDocumentType(v ...string) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithErrorTrace() func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithExpandWildcards(v string) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithExplain(v bool) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithFilterPath(v ...string) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithHuman() func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithIgnoreUnavailable(v bool) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithIndex(v ...string) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithLenient(v bool) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithPretty() func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithQuery(v string) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithRewrite(v bool) func(*IndicesValidateQueryRequest)
- type IndicesValidateQueryRequest
- type Info
- type InfoRequest
- type Ingest
- type IngestDeletePipeline
- func (f IngestDeletePipeline) WithContext(v context.Context) func(*IngestDeletePipelineRequest)
- func (f IngestDeletePipeline) WithErrorTrace() func(*IngestDeletePipelineRequest)
- func (f IngestDeletePipeline) WithFilterPath(v ...string) func(*IngestDeletePipelineRequest)
- func (f IngestDeletePipeline) WithHuman() func(*IngestDeletePipelineRequest)
- func (f IngestDeletePipeline) WithMasterTimeout(v time.Duration) func(*IngestDeletePipelineRequest)
- func (f IngestDeletePipeline) WithPretty() func(*IngestDeletePipelineRequest)
- func (f IngestDeletePipeline) WithTimeout(v time.Duration) func(*IngestDeletePipelineRequest)
- type IngestDeletePipelineRequest
- type IngestGetPipeline
- func (f IngestGetPipeline) WithContext(v context.Context) func(*IngestGetPipelineRequest)
- func (f IngestGetPipeline) WithDocumentID(v string) func(*IngestGetPipelineRequest)
- func (f IngestGetPipeline) WithErrorTrace() func(*IngestGetPipelineRequest)
- func (f IngestGetPipeline) WithFilterPath(v ...string) func(*IngestGetPipelineRequest)
- func (f IngestGetPipeline) WithHuman() func(*IngestGetPipelineRequest)
- func (f IngestGetPipeline) WithMasterTimeout(v time.Duration) func(*IngestGetPipelineRequest)
- func (f IngestGetPipeline) WithPretty() func(*IngestGetPipelineRequest)
- type IngestGetPipelineRequest
- type IngestProcessorGrok
- func (f IngestProcessorGrok) WithContext(v context.Context) func(*IngestProcessorGrokRequest)
- func (f IngestProcessorGrok) WithErrorTrace() func(*IngestProcessorGrokRequest)
- func (f IngestProcessorGrok) WithFilterPath(v ...string) func(*IngestProcessorGrokRequest)
- func (f IngestProcessorGrok) WithHuman() func(*IngestProcessorGrokRequest)
- func (f IngestProcessorGrok) WithPretty() func(*IngestProcessorGrokRequest)
- type IngestProcessorGrokRequest
- type IngestPutPipeline
- func (f IngestPutPipeline) WithContext(v context.Context) func(*IngestPutPipelineRequest)
- func (f IngestPutPipeline) WithErrorTrace() func(*IngestPutPipelineRequest)
- func (f IngestPutPipeline) WithFilterPath(v ...string) func(*IngestPutPipelineRequest)
- func (f IngestPutPipeline) WithHuman() func(*IngestPutPipelineRequest)
- func (f IngestPutPipeline) WithMasterTimeout(v time.Duration) func(*IngestPutPipelineRequest)
- func (f IngestPutPipeline) WithPretty() func(*IngestPutPipelineRequest)
- func (f IngestPutPipeline) WithTimeout(v time.Duration) func(*IngestPutPipelineRequest)
- type IngestPutPipelineRequest
- type IngestSimulate
- func (f IngestSimulate) WithContext(v context.Context) func(*IngestSimulateRequest)
- func (f IngestSimulate) WithDocumentID(v string) func(*IngestSimulateRequest)
- func (f IngestSimulate) WithErrorTrace() func(*IngestSimulateRequest)
- func (f IngestSimulate) WithFilterPath(v ...string) func(*IngestSimulateRequest)
- func (f IngestSimulate) WithHuman() func(*IngestSimulateRequest)
- func (f IngestSimulate) WithPretty() func(*IngestSimulateRequest)
- func (f IngestSimulate) WithVerbose(v bool) func(*IngestSimulateRequest)
- type IngestSimulateRequest
- type Mget
- func (f Mget) WithContext(v context.Context) func(*MgetRequest)
- func (f Mget) WithDocumentType(v string) func(*MgetRequest)
- func (f Mget) WithErrorTrace() func(*MgetRequest)
- func (f Mget) WithFilterPath(v ...string) func(*MgetRequest)
- func (f Mget) WithHuman() func(*MgetRequest)
- func (f Mget) WithIndex(v string) func(*MgetRequest)
- func (f Mget) WithPreference(v string) func(*MgetRequest)
- func (f Mget) WithPretty() func(*MgetRequest)
- func (f Mget) WithRealtime(v bool) func(*MgetRequest)
- func (f Mget) WithRefresh(v bool) func(*MgetRequest)
- func (f Mget) WithRouting(v string) func(*MgetRequest)
- func (f Mget) WithSource(v ...string) func(*MgetRequest)
- func (f Mget) WithSourceExcludes(v ...string) func(*MgetRequest)
- func (f Mget) WithSourceIncludes(v ...string) func(*MgetRequest)
- func (f Mget) WithStoredFields(v ...string) func(*MgetRequest)
- type MgetRequest
- type Msearch
- func (f Msearch) WithCcsMinimizeRoundtrips(v bool) func(*MsearchRequest)
- func (f Msearch) WithContext(v context.Context) func(*MsearchRequest)
- func (f Msearch) WithDocumentType(v ...string) func(*MsearchRequest)
- func (f Msearch) WithErrorTrace() func(*MsearchRequest)
- func (f Msearch) WithFilterPath(v ...string) func(*MsearchRequest)
- func (f Msearch) WithHuman() func(*MsearchRequest)
- func (f Msearch) WithIndex(v ...string) func(*MsearchRequest)
- func (f Msearch) WithMaxConcurrentSearches(v int) func(*MsearchRequest)
- func (f Msearch) WithMaxConcurrentShardRequests(v int) func(*MsearchRequest)
- func (f Msearch) WithPreFilterShardSize(v int) func(*MsearchRequest)
- func (f Msearch) WithPretty() func(*MsearchRequest)
- func (f Msearch) WithRestTotalHitsAsInt(v bool) func(*MsearchRequest)
- func (f Msearch) WithSearchType(v string) func(*MsearchRequest)
- func (f Msearch) WithTypedKeys(v bool) func(*MsearchRequest)
- type MsearchRequest
- type MsearchTemplate
- func (f MsearchTemplate) WithCcsMinimizeRoundtrips(v bool) func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithContext(v context.Context) func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithDocumentType(v ...string) func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithErrorTrace() func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithFilterPath(v ...string) func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithHuman() func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithIndex(v ...string) func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithMaxConcurrentSearches(v int) func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithPretty() func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithRestTotalHitsAsInt(v bool) func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithSearchType(v string) func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithTypedKeys(v bool) func(*MsearchTemplateRequest)
- type MsearchTemplateRequest
- type Mtermvectors
- func (f Mtermvectors) WithBody(v io.Reader) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithContext(v context.Context) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithDocumentType(v string) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithErrorTrace() func(*MtermvectorsRequest)
- func (f Mtermvectors) WithFieldStatistics(v bool) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithFields(v ...string) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithFilterPath(v ...string) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithHuman() func(*MtermvectorsRequest)
- func (f Mtermvectors) WithIds(v ...string) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithIndex(v string) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithOffsets(v bool) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithParent(v string) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithPayloads(v bool) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithPositions(v bool) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithPreference(v string) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithPretty() func(*MtermvectorsRequest)
- func (f Mtermvectors) WithRealtime(v bool) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithRouting(v string) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithTermStatistics(v bool) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithVersion(v int) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithVersionType(v string) func(*MtermvectorsRequest)
- type MtermvectorsRequest
- type Nodes
- type NodesHotThreads
- func (f NodesHotThreads) WithContext(v context.Context) func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithDocumentType(v string) func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithErrorTrace() func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithFilterPath(v ...string) func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithHuman() func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithIgnoreIdleThreads(v bool) func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithInterval(v time.Duration) func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithNodeID(v ...string) func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithPretty() func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithSnapshots(v int) func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithThreads(v int) func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithTimeout(v time.Duration) func(*NodesHotThreadsRequest)
- type NodesHotThreadsRequest
- type NodesInfo
- func (f NodesInfo) WithContext(v context.Context) func(*NodesInfoRequest)
- func (f NodesInfo) WithErrorTrace() func(*NodesInfoRequest)
- func (f NodesInfo) WithFilterPath(v ...string) func(*NodesInfoRequest)
- func (f NodesInfo) WithFlatSettings(v bool) func(*NodesInfoRequest)
- func (f NodesInfo) WithHuman() func(*NodesInfoRequest)
- func (f NodesInfo) WithMetric(v ...string) func(*NodesInfoRequest)
- func (f NodesInfo) WithNodeID(v ...string) func(*NodesInfoRequest)
- func (f NodesInfo) WithPretty() func(*NodesInfoRequest)
- func (f NodesInfo) WithTimeout(v time.Duration) func(*NodesInfoRequest)
- type NodesInfoRequest
- type NodesReloadSecureSettings
- func (f NodesReloadSecureSettings) WithContext(v context.Context) func(*NodesReloadSecureSettingsRequest)
- func (f NodesReloadSecureSettings) WithErrorTrace() func(*NodesReloadSecureSettingsRequest)
- func (f NodesReloadSecureSettings) WithFilterPath(v ...string) func(*NodesReloadSecureSettingsRequest)
- func (f NodesReloadSecureSettings) WithHuman() func(*NodesReloadSecureSettingsRequest)
- func (f NodesReloadSecureSettings) WithNodeID(v ...string) func(*NodesReloadSecureSettingsRequest)
- func (f NodesReloadSecureSettings) WithPretty() func(*NodesReloadSecureSettingsRequest)
- func (f NodesReloadSecureSettings) WithTimeout(v time.Duration) func(*NodesReloadSecureSettingsRequest)
- type NodesReloadSecureSettingsRequest
- type NodesStats
- func (f NodesStats) WithCompletionFields(v ...string) func(*NodesStatsRequest)
- func (f NodesStats) WithContext(v context.Context) func(*NodesStatsRequest)
- func (f NodesStats) WithErrorTrace() func(*NodesStatsRequest)
- func (f NodesStats) WithFielddataFields(v ...string) func(*NodesStatsRequest)
- func (f NodesStats) WithFields(v ...string) func(*NodesStatsRequest)
- func (f NodesStats) WithFilterPath(v ...string) func(*NodesStatsRequest)
- func (f NodesStats) WithGroups(v bool) func(*NodesStatsRequest)
- func (f NodesStats) WithHuman() func(*NodesStatsRequest)
- func (f NodesStats) WithIncludeSegmentFileSizes(v bool) func(*NodesStatsRequest)
- func (f NodesStats) WithIndexMetric(v ...string) func(*NodesStatsRequest)
- func (f NodesStats) WithLevel(v string) func(*NodesStatsRequest)
- func (f NodesStats) WithMetric(v ...string) func(*NodesStatsRequest)
- func (f NodesStats) WithNodeID(v ...string) func(*NodesStatsRequest)
- func (f NodesStats) WithPretty() func(*NodesStatsRequest)
- func (f NodesStats) WithTimeout(v time.Duration) func(*NodesStatsRequest)
- func (f NodesStats) WithTypes(v ...string) func(*NodesStatsRequest)
- type NodesStatsRequest
- type NodesUsage
- func (f NodesUsage) WithContext(v context.Context) func(*NodesUsageRequest)
- func (f NodesUsage) WithErrorTrace() func(*NodesUsageRequest)
- func (f NodesUsage) WithFilterPath(v ...string) func(*NodesUsageRequest)
- func (f NodesUsage) WithHuman() func(*NodesUsageRequest)
- func (f NodesUsage) WithMetric(v ...string) func(*NodesUsageRequest)
- func (f NodesUsage) WithNodeID(v ...string) func(*NodesUsageRequest)
- func (f NodesUsage) WithPretty() func(*NodesUsageRequest)
- func (f NodesUsage) WithTimeout(v time.Duration) func(*NodesUsageRequest)
- type NodesUsageRequest
- type Ping
- type PingRequest
- type PutScript
- func (f PutScript) WithContext(v context.Context) func(*PutScriptRequest)
- func (f PutScript) WithErrorTrace() func(*PutScriptRequest)
- func (f PutScript) WithFilterPath(v ...string) func(*PutScriptRequest)
- func (f PutScript) WithHuman() func(*PutScriptRequest)
- func (f PutScript) WithMasterTimeout(v time.Duration) func(*PutScriptRequest)
- func (f PutScript) WithPretty() func(*PutScriptRequest)
- func (f PutScript) WithScriptContext(v string) func(*PutScriptRequest)
- func (f PutScript) WithTimeout(v time.Duration) func(*PutScriptRequest)
- type PutScriptRequest
- type RankEval
- func (f RankEval) WithAllowNoIndices(v bool) func(*RankEvalRequest)
- func (f RankEval) WithContext(v context.Context) func(*RankEvalRequest)
- func (f RankEval) WithErrorTrace() func(*RankEvalRequest)
- func (f RankEval) WithExpandWildcards(v string) func(*RankEvalRequest)
- func (f RankEval) WithFilterPath(v ...string) func(*RankEvalRequest)
- func (f RankEval) WithHuman() func(*RankEvalRequest)
- func (f RankEval) WithIgnoreUnavailable(v bool) func(*RankEvalRequest)
- func (f RankEval) WithIndex(v ...string) func(*RankEvalRequest)
- func (f RankEval) WithPretty() func(*RankEvalRequest)
- type RankEvalRequest
- type Reindex
- func (f Reindex) WithContext(v context.Context) func(*ReindexRequest)
- func (f Reindex) WithErrorTrace() func(*ReindexRequest)
- func (f Reindex) WithFilterPath(v ...string) func(*ReindexRequest)
- func (f Reindex) WithHuman() func(*ReindexRequest)
- func (f Reindex) WithPretty() func(*ReindexRequest)
- func (f Reindex) WithRefresh(v bool) func(*ReindexRequest)
- func (f Reindex) WithRequestsPerSecond(v int) func(*ReindexRequest)
- func (f Reindex) WithSlices(v int) func(*ReindexRequest)
- func (f Reindex) WithTimeout(v time.Duration) func(*ReindexRequest)
- func (f Reindex) WithWaitForActiveShards(v string) func(*ReindexRequest)
- func (f Reindex) WithWaitForCompletion(v bool) func(*ReindexRequest)
- type ReindexRequest
- type ReindexRethrottle
- func (f ReindexRethrottle) WithContext(v context.Context) func(*ReindexRethrottleRequest)
- func (f ReindexRethrottle) WithErrorTrace() func(*ReindexRethrottleRequest)
- func (f ReindexRethrottle) WithFilterPath(v ...string) func(*ReindexRethrottleRequest)
- func (f ReindexRethrottle) WithHuman() func(*ReindexRethrottleRequest)
- func (f ReindexRethrottle) WithPretty() func(*ReindexRethrottleRequest)
- func (f ReindexRethrottle) WithRequestsPerSecond(v int) func(*ReindexRethrottleRequest)
- type ReindexRethrottleRequest
- type Remote
- type RenderSearchTemplate
- func (f RenderSearchTemplate) WithBody(v io.Reader) func(*RenderSearchTemplateRequest)
- func (f RenderSearchTemplate) WithContext(v context.Context) func(*RenderSearchTemplateRequest)
- func (f RenderSearchTemplate) WithDocumentID(v string) func(*RenderSearchTemplateRequest)
- func (f RenderSearchTemplate) WithErrorTrace() func(*RenderSearchTemplateRequest)
- func (f RenderSearchTemplate) WithFilterPath(v ...string) func(*RenderSearchTemplateRequest)
- func (f RenderSearchTemplate) WithHuman() func(*RenderSearchTemplateRequest)
- func (f RenderSearchTemplate) WithPretty() func(*RenderSearchTemplateRequest)
- type RenderSearchTemplateRequest
- type Request
- type Response
- type ScriptsPainlessExecute
- func (f ScriptsPainlessExecute) WithBody(v io.Reader) func(*ScriptsPainlessExecuteRequest)
- func (f ScriptsPainlessExecute) WithContext(v context.Context) func(*ScriptsPainlessExecuteRequest)
- func (f ScriptsPainlessExecute) WithErrorTrace() func(*ScriptsPainlessExecuteRequest)
- func (f ScriptsPainlessExecute) WithFilterPath(v ...string) func(*ScriptsPainlessExecuteRequest)
- func (f ScriptsPainlessExecute) WithHuman() func(*ScriptsPainlessExecuteRequest)
- func (f ScriptsPainlessExecute) WithPretty() func(*ScriptsPainlessExecuteRequest)
- type ScriptsPainlessExecuteRequest
- type Scroll
- func (f Scroll) WithBody(v io.Reader) func(*ScrollRequest)
- func (f Scroll) WithContext(v context.Context) func(*ScrollRequest)
- func (f Scroll) WithErrorTrace() func(*ScrollRequest)
- func (f Scroll) WithFilterPath(v ...string) func(*ScrollRequest)
- func (f Scroll) WithHuman() func(*ScrollRequest)
- func (f Scroll) WithPretty() func(*ScrollRequest)
- func (f Scroll) WithRestTotalHitsAsInt(v bool) func(*ScrollRequest)
- func (f Scroll) WithScroll(v time.Duration) func(*ScrollRequest)
- func (f Scroll) WithScrollID(v string) func(*ScrollRequest)
- type ScrollRequest
- type Search
- func (f Search) WithAllowNoIndices(v bool) func(*SearchRequest)
- func (f Search) WithAllowPartialSearchResults(v bool) func(*SearchRequest)
- func (f Search) WithAnalyzeWildcard(v bool) func(*SearchRequest)
- func (f Search) WithAnalyzer(v string) func(*SearchRequest)
- func (f Search) WithBatchedReduceSize(v int) func(*SearchRequest)
- func (f Search) WithBody(v io.Reader) func(*SearchRequest)
- func (f Search) WithCcsMinimizeRoundtrips(v bool) func(*SearchRequest)
- func (f Search) WithContext(v context.Context) func(*SearchRequest)
- func (f Search) WithDefaultOperator(v string) func(*SearchRequest)
- func (f Search) WithDf(v string) func(*SearchRequest)
- func (f Search) WithDocumentType(v ...string) func(*SearchRequest)
- func (f Search) WithDocvalueFields(v ...string) func(*SearchRequest)
- func (f Search) WithErrorTrace() func(*SearchRequest)
- func (f Search) WithExpandWildcards(v string) func(*SearchRequest)
- func (f Search) WithExplain(v bool) func(*SearchRequest)
- func (f Search) WithFilterPath(v ...string) func(*SearchRequest)
- func (f Search) WithFrom(v int) func(*SearchRequest)
- func (f Search) WithHuman() func(*SearchRequest)
- func (f Search) WithIgnoreThrottled(v bool) func(*SearchRequest)
- func (f Search) WithIgnoreUnavailable(v bool) func(*SearchRequest)
- func (f Search) WithIndex(v ...string) func(*SearchRequest)
- func (f Search) WithLenient(v bool) func(*SearchRequest)
- func (f Search) WithMaxConcurrentShardRequests(v int) func(*SearchRequest)
- func (f Search) WithPreFilterShardSize(v int) func(*SearchRequest)
- func (f Search) WithPreference(v string) func(*SearchRequest)
- func (f Search) WithPretty() func(*SearchRequest)
- func (f Search) WithQuery(v string) func(*SearchRequest)
- func (f Search) WithRequestCache(v bool) func(*SearchRequest)
- func (f Search) WithRestTotalHitsAsInt(v bool) func(*SearchRequest)
- func (f Search) WithRouting(v ...string) func(*SearchRequest)
- func (f Search) WithScroll(v time.Duration) func(*SearchRequest)
- func (f Search) WithSearchType(v string) func(*SearchRequest)
- func (f Search) WithSeqNoPrimaryTerm(v bool) func(*SearchRequest)
- func (f Search) WithSize(v int) func(*SearchRequest)
- func (f Search) WithSort(v ...string) func(*SearchRequest)
- func (f Search) WithSource(v ...string) func(*SearchRequest)
- func (f Search) WithSourceExcludes(v ...string) func(*SearchRequest)
- func (f Search) WithSourceIncludes(v ...string) func(*SearchRequest)
- func (f Search) WithStats(v ...string) func(*SearchRequest)
- func (f Search) WithStoredFields(v ...string) func(*SearchRequest)
- func (f Search) WithSuggestField(v string) func(*SearchRequest)
- func (f Search) WithSuggestMode(v string) func(*SearchRequest)
- func (f Search) WithSuggestSize(v int) func(*SearchRequest)
- func (f Search) WithSuggestText(v string) func(*SearchRequest)
- func (f Search) WithTerminateAfter(v int) func(*SearchRequest)
- func (f Search) WithTimeout(v time.Duration) func(*SearchRequest)
- func (f Search) WithTrackScores(v bool) func(*SearchRequest)
- func (f Search) WithTrackTotalHits(v interface{}) func(*SearchRequest)
- func (f Search) WithTypedKeys(v bool) func(*SearchRequest)
- func (f Search) WithVersion(v bool) func(*SearchRequest)
- type SearchRequest
- type SearchShards
- func (f SearchShards) WithAllowNoIndices(v bool) func(*SearchShardsRequest)
- func (f SearchShards) WithContext(v context.Context) func(*SearchShardsRequest)
- func (f SearchShards) WithErrorTrace() func(*SearchShardsRequest)
- func (f SearchShards) WithExpandWildcards(v string) func(*SearchShardsRequest)
- func (f SearchShards) WithFilterPath(v ...string) func(*SearchShardsRequest)
- func (f SearchShards) WithHuman() func(*SearchShardsRequest)
- func (f SearchShards) WithIgnoreUnavailable(v bool) func(*SearchShardsRequest)
- func (f SearchShards) WithIndex(v ...string) func(*SearchShardsRequest)
- func (f SearchShards) WithLocal(v bool) func(*SearchShardsRequest)
- func (f SearchShards) WithPreference(v string) func(*SearchShardsRequest)
- func (f SearchShards) WithPretty() func(*SearchShardsRequest)
- func (f SearchShards) WithRouting(v string) func(*SearchShardsRequest)
- type SearchShardsRequest
- type SearchTemplate
- func (f SearchTemplate) WithAllowNoIndices(v bool) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithCcsMinimizeRoundtrips(v bool) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithContext(v context.Context) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithDocumentType(v ...string) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithErrorTrace() func(*SearchTemplateRequest)
- func (f SearchTemplate) WithExpandWildcards(v string) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithExplain(v bool) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithFilterPath(v ...string) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithHuman() func(*SearchTemplateRequest)
- func (f SearchTemplate) WithIgnoreThrottled(v bool) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithIgnoreUnavailable(v bool) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithIndex(v ...string) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithPreference(v string) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithPretty() func(*SearchTemplateRequest)
- func (f SearchTemplate) WithProfile(v bool) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithRestTotalHitsAsInt(v bool) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithRouting(v ...string) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithScroll(v time.Duration) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithSearchType(v string) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithTypedKeys(v bool) func(*SearchTemplateRequest)
- type SearchTemplateRequest
- type Snapshot
- type SnapshotCreate
- func (f SnapshotCreate) WithBody(v io.Reader) func(*SnapshotCreateRequest)
- func (f SnapshotCreate) WithContext(v context.Context) func(*SnapshotCreateRequest)
- func (f SnapshotCreate) WithErrorTrace() func(*SnapshotCreateRequest)
- func (f SnapshotCreate) WithFilterPath(v ...string) func(*SnapshotCreateRequest)
- func (f SnapshotCreate) WithHuman() func(*SnapshotCreateRequest)
- func (f SnapshotCreate) WithMasterTimeout(v time.Duration) func(*SnapshotCreateRequest)
- func (f SnapshotCreate) WithPretty() func(*SnapshotCreateRequest)
- func (f SnapshotCreate) WithWaitForCompletion(v bool) func(*SnapshotCreateRequest)
- type SnapshotCreateRepository
- func (f SnapshotCreateRepository) WithContext(v context.Context) func(*SnapshotCreateRepositoryRequest)
- func (f SnapshotCreateRepository) WithErrorTrace() func(*SnapshotCreateRepositoryRequest)
- func (f SnapshotCreateRepository) WithFilterPath(v ...string) func(*SnapshotCreateRepositoryRequest)
- func (f SnapshotCreateRepository) WithHuman() func(*SnapshotCreateRepositoryRequest)
- func (f SnapshotCreateRepository) WithMasterTimeout(v time.Duration) func(*SnapshotCreateRepositoryRequest)
- func (f SnapshotCreateRepository) WithPretty() func(*SnapshotCreateRepositoryRequest)
- func (f SnapshotCreateRepository) WithTimeout(v time.Duration) func(*SnapshotCreateRepositoryRequest)
- func (f SnapshotCreateRepository) WithVerify(v bool) func(*SnapshotCreateRepositoryRequest)
- type SnapshotCreateRepositoryRequest
- type SnapshotCreateRequest
- type SnapshotDelete
- func (f SnapshotDelete) WithContext(v context.Context) func(*SnapshotDeleteRequest)
- func (f SnapshotDelete) WithErrorTrace() func(*SnapshotDeleteRequest)
- func (f SnapshotDelete) WithFilterPath(v ...string) func(*SnapshotDeleteRequest)
- func (f SnapshotDelete) WithHuman() func(*SnapshotDeleteRequest)
- func (f SnapshotDelete) WithMasterTimeout(v time.Duration) func(*SnapshotDeleteRequest)
- func (f SnapshotDelete) WithPretty() func(*SnapshotDeleteRequest)
- type SnapshotDeleteRepository
- func (f SnapshotDeleteRepository) WithContext(v context.Context) func(*SnapshotDeleteRepositoryRequest)
- func (f SnapshotDeleteRepository) WithErrorTrace() func(*SnapshotDeleteRepositoryRequest)
- func (f SnapshotDeleteRepository) WithFilterPath(v ...string) func(*SnapshotDeleteRepositoryRequest)
- func (f SnapshotDeleteRepository) WithHuman() func(*SnapshotDeleteRepositoryRequest)
- func (f SnapshotDeleteRepository) WithMasterTimeout(v time.Duration) func(*SnapshotDeleteRepositoryRequest)
- func (f SnapshotDeleteRepository) WithPretty() func(*SnapshotDeleteRepositoryRequest)
- func (f SnapshotDeleteRepository) WithTimeout(v time.Duration) func(*SnapshotDeleteRepositoryRequest)
- type SnapshotDeleteRepositoryRequest
- type SnapshotDeleteRequest
- type SnapshotGet
- func (f SnapshotGet) WithContext(v context.Context) func(*SnapshotGetRequest)
- func (f SnapshotGet) WithErrorTrace() func(*SnapshotGetRequest)
- func (f SnapshotGet) WithFilterPath(v ...string) func(*SnapshotGetRequest)
- func (f SnapshotGet) WithHuman() func(*SnapshotGetRequest)
- func (f SnapshotGet) WithIgnoreUnavailable(v bool) func(*SnapshotGetRequest)
- func (f SnapshotGet) WithMasterTimeout(v time.Duration) func(*SnapshotGetRequest)
- func (f SnapshotGet) WithPretty() func(*SnapshotGetRequest)
- func (f SnapshotGet) WithVerbose(v bool) func(*SnapshotGetRequest)
- type SnapshotGetRepository
- func (f SnapshotGetRepository) WithContext(v context.Context) func(*SnapshotGetRepositoryRequest)
- func (f SnapshotGetRepository) WithErrorTrace() func(*SnapshotGetRepositoryRequest)
- func (f SnapshotGetRepository) WithFilterPath(v ...string) func(*SnapshotGetRepositoryRequest)
- func (f SnapshotGetRepository) WithHuman() func(*SnapshotGetRepositoryRequest)
- func (f SnapshotGetRepository) WithLocal(v bool) func(*SnapshotGetRepositoryRequest)
- func (f SnapshotGetRepository) WithMasterTimeout(v time.Duration) func(*SnapshotGetRepositoryRequest)
- func (f SnapshotGetRepository) WithPretty() func(*SnapshotGetRepositoryRequest)
- func (f SnapshotGetRepository) WithRepository(v ...string) func(*SnapshotGetRepositoryRequest)
- type SnapshotGetRepositoryRequest
- type SnapshotGetRequest
- type SnapshotRestore
- func (f SnapshotRestore) WithBody(v io.Reader) func(*SnapshotRestoreRequest)
- func (f SnapshotRestore) WithContext(v context.Context) func(*SnapshotRestoreRequest)
- func (f SnapshotRestore) WithErrorTrace() func(*SnapshotRestoreRequest)
- func (f SnapshotRestore) WithFilterPath(v ...string) func(*SnapshotRestoreRequest)
- func (f SnapshotRestore) WithHuman() func(*SnapshotRestoreRequest)
- func (f SnapshotRestore) WithMasterTimeout(v time.Duration) func(*SnapshotRestoreRequest)
- func (f SnapshotRestore) WithPretty() func(*SnapshotRestoreRequest)
- func (f SnapshotRestore) WithWaitForCompletion(v bool) func(*SnapshotRestoreRequest)
- type SnapshotRestoreRequest
- type SnapshotStatus
- func (f SnapshotStatus) WithContext(v context.Context) func(*SnapshotStatusRequest)
- func (f SnapshotStatus) WithErrorTrace() func(*SnapshotStatusRequest)
- func (f SnapshotStatus) WithFilterPath(v ...string) func(*SnapshotStatusRequest)
- func (f SnapshotStatus) WithHuman() func(*SnapshotStatusRequest)
- func (f SnapshotStatus) WithIgnoreUnavailable(v bool) func(*SnapshotStatusRequest)
- func (f SnapshotStatus) WithMasterTimeout(v time.Duration) func(*SnapshotStatusRequest)
- func (f SnapshotStatus) WithPretty() func(*SnapshotStatusRequest)
- func (f SnapshotStatus) WithRepository(v string) func(*SnapshotStatusRequest)
- func (f SnapshotStatus) WithSnapshot(v ...string) func(*SnapshotStatusRequest)
- type SnapshotStatusRequest
- type SnapshotVerifyRepository
- func (f SnapshotVerifyRepository) WithContext(v context.Context) func(*SnapshotVerifyRepositoryRequest)
- func (f SnapshotVerifyRepository) WithErrorTrace() func(*SnapshotVerifyRepositoryRequest)
- func (f SnapshotVerifyRepository) WithFilterPath(v ...string) func(*SnapshotVerifyRepositoryRequest)
- func (f SnapshotVerifyRepository) WithHuman() func(*SnapshotVerifyRepositoryRequest)
- func (f SnapshotVerifyRepository) WithMasterTimeout(v time.Duration) func(*SnapshotVerifyRepositoryRequest)
- func (f SnapshotVerifyRepository) WithPretty() func(*SnapshotVerifyRepositoryRequest)
- func (f SnapshotVerifyRepository) WithTimeout(v time.Duration) func(*SnapshotVerifyRepositoryRequest)
- type SnapshotVerifyRepositoryRequest
- type Tasks
- type TasksCancel
- func (f TasksCancel) WithActions(v ...string) func(*TasksCancelRequest)
- func (f TasksCancel) WithContext(v context.Context) func(*TasksCancelRequest)
- func (f TasksCancel) WithErrorTrace() func(*TasksCancelRequest)
- func (f TasksCancel) WithFilterPath(v ...string) func(*TasksCancelRequest)
- func (f TasksCancel) WithHuman() func(*TasksCancelRequest)
- func (f TasksCancel) WithNodes(v ...string) func(*TasksCancelRequest)
- func (f TasksCancel) WithParentTaskID(v string) func(*TasksCancelRequest)
- func (f TasksCancel) WithPretty() func(*TasksCancelRequest)
- func (f TasksCancel) WithTaskID(v string) func(*TasksCancelRequest)
- type TasksCancelRequest
- type TasksGet
- func (f TasksGet) WithContext(v context.Context) func(*TasksGetRequest)
- func (f TasksGet) WithErrorTrace() func(*TasksGetRequest)
- func (f TasksGet) WithFilterPath(v ...string) func(*TasksGetRequest)
- func (f TasksGet) WithHuman() func(*TasksGetRequest)
- func (f TasksGet) WithPretty() func(*TasksGetRequest)
- func (f TasksGet) WithTimeout(v time.Duration) func(*TasksGetRequest)
- func (f TasksGet) WithWaitForCompletion(v bool) func(*TasksGetRequest)
- type TasksGetRequest
- type TasksList
- func (f TasksList) WithActions(v ...string) func(*TasksListRequest)
- func (f TasksList) WithContext(v context.Context) func(*TasksListRequest)
- func (f TasksList) WithDetailed(v bool) func(*TasksListRequest)
- func (f TasksList) WithErrorTrace() func(*TasksListRequest)
- func (f TasksList) WithFilterPath(v ...string) func(*TasksListRequest)
- func (f TasksList) WithGroupBy(v string) func(*TasksListRequest)
- func (f TasksList) WithHuman() func(*TasksListRequest)
- func (f TasksList) WithNodes(v ...string) func(*TasksListRequest)
- func (f TasksList) WithParentTaskID(v string) func(*TasksListRequest)
- func (f TasksList) WithPretty() func(*TasksListRequest)
- func (f TasksList) WithTimeout(v time.Duration) func(*TasksListRequest)
- func (f TasksList) WithWaitForCompletion(v bool) func(*TasksListRequest)
- type TasksListRequest
- type Termvectors
- func (f Termvectors) WithBody(v io.Reader) func(*TermvectorsRequest)
- func (f Termvectors) WithContext(v context.Context) func(*TermvectorsRequest)
- func (f Termvectors) WithDocumentID(v string) func(*TermvectorsRequest)
- func (f Termvectors) WithDocumentType(v string) func(*TermvectorsRequest)
- func (f Termvectors) WithErrorTrace() func(*TermvectorsRequest)
- func (f Termvectors) WithFieldStatistics(v bool) func(*TermvectorsRequest)
- func (f Termvectors) WithFields(v ...string) func(*TermvectorsRequest)
- func (f Termvectors) WithFilterPath(v ...string) func(*TermvectorsRequest)
- func (f Termvectors) WithHuman() func(*TermvectorsRequest)
- func (f Termvectors) WithOffsets(v bool) func(*TermvectorsRequest)
- func (f Termvectors) WithParent(v string) func(*TermvectorsRequest)
- func (f Termvectors) WithPayloads(v bool) func(*TermvectorsRequest)
- func (f Termvectors) WithPositions(v bool) func(*TermvectorsRequest)
- func (f Termvectors) WithPreference(v string) func(*TermvectorsRequest)
- func (f Termvectors) WithPretty() func(*TermvectorsRequest)
- func (f Termvectors) WithRealtime(v bool) func(*TermvectorsRequest)
- func (f Termvectors) WithRouting(v string) func(*TermvectorsRequest)
- func (f Termvectors) WithTermStatistics(v bool) func(*TermvectorsRequest)
- func (f Termvectors) WithVersion(v int) func(*TermvectorsRequest)
- func (f Termvectors) WithVersionType(v string) func(*TermvectorsRequest)
- type TermvectorsRequest
- type Transport
- type Update
- func (f Update) WithContext(v context.Context) func(*UpdateRequest)
- func (f Update) WithDocumentType(v string) func(*UpdateRequest)
- func (f Update) WithErrorTrace() func(*UpdateRequest)
- func (f Update) WithFilterPath(v ...string) func(*UpdateRequest)
- func (f Update) WithHuman() func(*UpdateRequest)
- func (f Update) WithIfPrimaryTerm(v int) func(*UpdateRequest)
- func (f Update) WithIfSeqNo(v int) func(*UpdateRequest)
- func (f Update) WithLang(v string) func(*UpdateRequest)
- func (f Update) WithParent(v string) func(*UpdateRequest)
- func (f Update) WithPretty() func(*UpdateRequest)
- func (f Update) WithRefresh(v string) func(*UpdateRequest)
- func (f Update) WithRetryOnConflict(v int) func(*UpdateRequest)
- func (f Update) WithRouting(v string) func(*UpdateRequest)
- func (f Update) WithSource(v ...string) func(*UpdateRequest)
- func (f Update) WithSourceExcludes(v ...string) func(*UpdateRequest)
- func (f Update) WithSourceIncludes(v ...string) func(*UpdateRequest)
- func (f Update) WithTimeout(v time.Duration) func(*UpdateRequest)
- func (f Update) WithWaitForActiveShards(v string) func(*UpdateRequest)
- type UpdateByQuery
- func (f UpdateByQuery) WithAllowNoIndices(v bool) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithAnalyzeWildcard(v bool) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithAnalyzer(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithBody(v io.Reader) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithConflicts(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithContext(v context.Context) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithDefaultOperator(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithDf(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithDocumentType(v ...string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithErrorTrace() func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithExpandWildcards(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithFilterPath(v ...string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithFrom(v int) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithHuman() func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithIgnoreUnavailable(v bool) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithLenient(v bool) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithPipeline(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithPreference(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithPretty() func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithQuery(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithRefresh(v bool) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithRequestCache(v bool) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithRequestsPerSecond(v int) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithRouting(v ...string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithScroll(v time.Duration) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithScrollSize(v int) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithSearchTimeout(v time.Duration) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithSearchType(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithSize(v int) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithSlices(v int) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithSort(v ...string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithSource(v ...string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithSourceExcludes(v ...string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithSourceIncludes(v ...string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithStats(v ...string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithTerminateAfter(v int) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithTimeout(v time.Duration) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithVersion(v bool) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithVersionType(v bool) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithWaitForActiveShards(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithWaitForCompletion(v bool) func(*UpdateByQueryRequest)
- type UpdateByQueryRequest
- type UpdateByQueryRethrottle
- func (f UpdateByQueryRethrottle) WithContext(v context.Context) func(*UpdateByQueryRethrottleRequest)
- func (f UpdateByQueryRethrottle) WithErrorTrace() func(*UpdateByQueryRethrottleRequest)
- func (f UpdateByQueryRethrottle) WithFilterPath(v ...string) func(*UpdateByQueryRethrottleRequest)
- func (f UpdateByQueryRethrottle) WithHuman() func(*UpdateByQueryRethrottleRequest)
- func (f UpdateByQueryRethrottle) WithPretty() func(*UpdateByQueryRethrottleRequest)
- func (f UpdateByQueryRethrottle) WithRequestsPerSecond(v int) func(*UpdateByQueryRethrottleRequest)
- type UpdateByQueryRethrottleRequest
- type UpdateRequest
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct { Cat *Cat Cluster *Cluster Indices *Indices Ingest *Ingest Nodes *Nodes Remote *Remote Snapshot *Snapshot Tasks *Tasks Bulk Bulk ClearScroll ClearScroll Count Count Create Create Delete Delete DeleteByQuery DeleteByQuery DeleteByQueryRethrottle DeleteByQueryRethrottle DeleteScript DeleteScript Exists Exists ExistsSource ExistsSource Explain Explain FieldCaps FieldCaps Get Get GetScript GetScript GetSource GetSource Index Index Info Info Mget Mget Msearch Msearch MsearchTemplate MsearchTemplate Mtermvectors Mtermvectors Ping Ping PutScript PutScript RankEval RankEval Reindex Reindex ReindexRethrottle ReindexRethrottle RenderSearchTemplate RenderSearchTemplate ScriptsPainlessExecute ScriptsPainlessExecute Scroll Scroll Search Search SearchShards SearchShards SearchTemplate SearchTemplate Termvectors Termvectors Update Update UpdateByQuery UpdateByQuery UpdateByQueryRethrottle UpdateByQueryRethrottle }
API contains the Elasticsearch APIs
type Bulk ¶
type Bulk func(body io.Reader, o ...func(*BulkRequest)) (*Response, error)
Bulk allows to perform multiple index/update/delete operations in a single request.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html.
func (Bulk) WithContext ¶
func (f Bulk) WithContext(v context.Context) func(*BulkRequest)
WithContext sets the request context.
func (Bulk) WithDocumentType ¶
func (f Bulk) WithDocumentType(v string) func(*BulkRequest)
WithDocumentType - default document type for items which don't provide one.
func (Bulk) WithErrorTrace ¶
func (f Bulk) WithErrorTrace() func(*BulkRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (Bulk) WithFilterPath ¶
func (f Bulk) WithFilterPath(v ...string) func(*BulkRequest)
WithFilterPath filters the properties of the response body.
func (Bulk) WithHuman ¶
func (f Bulk) WithHuman() func(*BulkRequest)
WithHuman makes statistical values human-readable.
func (Bulk) WithIndex ¶
func (f Bulk) WithIndex(v string) func(*BulkRequest)
WithIndex - default index for items which don't provide one.
func (Bulk) WithPipeline ¶
func (f Bulk) WithPipeline(v string) func(*BulkRequest)
WithPipeline - the pipeline ID to preprocess incoming documents with.
func (Bulk) WithPretty ¶
func (f Bulk) WithPretty() func(*BulkRequest)
WithPretty makes the response body pretty-printed.
func (Bulk) WithRefresh ¶
func (f Bulk) WithRefresh(v string) func(*BulkRequest)
WithRefresh - if `true` then refresh the effected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes..
func (Bulk) WithRouting ¶
func (f Bulk) WithRouting(v string) func(*BulkRequest)
WithRouting - specific routing value.
func (Bulk) WithSource ¶
func (f Bulk) WithSource(v ...string) func(*BulkRequest)
WithSource - true or false to return the _source field or not, or default list of fields to return, can be overridden on each sub-request.
func (Bulk) WithSourceExcludes ¶
func (f Bulk) WithSourceExcludes(v ...string) func(*BulkRequest)
WithSourceExcludes - default list of fields to exclude from the returned _source field, can be overridden on each sub-request.
func (Bulk) WithSourceIncludes ¶
func (f Bulk) WithSourceIncludes(v ...string) func(*BulkRequest)
WithSourceIncludes - default list of fields to extract and return from the _source field, can be overridden on each sub-request.
func (Bulk) WithTimeout ¶
func (f Bulk) WithTimeout(v time.Duration) func(*BulkRequest)
WithTimeout - explicit operation timeout.
func (Bulk) WithWaitForActiveShards ¶
func (f Bulk) WithWaitForActiveShards(v string) func(*BulkRequest)
WithWaitForActiveShards - sets the number of shard copies that must be active before proceeding with the bulk operation. defaults to 1, meaning the primary shard only. set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1).
type BulkRequest ¶
type BulkRequest struct { Index string DocumentType string Body io.Reader Pipeline string Refresh string Routing string Source []string SourceExcludes []string SourceIncludes []string Timeout time.Duration WaitForActiveShards string Pretty bool Human bool ErrorTrace bool FilterPath []string // contains filtered or unexported fields }
BulkRequest configures the Bulk API request.
type Cat ¶
type Cat struct { Aliases CatAliases Allocation CatAllocation Count CatCount Fielddata CatFielddata Health CatHealth Help CatHelp Indices CatIndices Master CatMaster Nodeattrs CatNodeattrs Nodes CatNodes PendingTasks CatPendingTasks Plugins CatPlugins Recovery CatRecovery Repositories CatRepositories Segments CatSegments Shards CatShards Snapshots CatSnapshots Tasks CatTasks Templates CatTemplates ThreadPool CatThreadPool }
Cat contains the Cat APIs
type CatAliases ¶
type CatAliases func(o ...func(*CatAliasesRequest)) (*Response, error)
CatAliases shows information about currently configured aliases to indices including filter and routing infos.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html.
func (CatAliases) WithContext ¶
func (f CatAliases) WithContext(v context.Context) func(*CatAliasesRequest)
WithContext sets the request context.
func (CatAliases) WithErrorTrace ¶
func (f CatAliases) WithErrorTrace() func(*CatAliasesRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatAliases) WithFilterPath ¶
func (f CatAliases) WithFilterPath(v ...string) func(*CatAliasesRequest)
WithFilterPath filters the properties of the response body.
func (CatAliases) WithFormat ¶
func (f CatAliases) WithFormat(v string) func(*CatAliasesRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatAliases) WithH ¶
func (f CatAliases) WithH(v ...string) func(*CatAliasesRequest)
WithH - comma-separated list of column names to display.
func (CatAliases) WithHelp ¶
func (f CatAliases) WithHelp(v bool) func(*CatAliasesRequest)
WithHelp - return help information.
func (CatAliases) WithHuman ¶
func (f CatAliases) WithHuman() func(*CatAliasesRequest)
WithHuman makes statistical values human-readable.
func (CatAliases) WithLocal ¶
func (f CatAliases) WithLocal(v bool) func(*CatAliasesRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatAliases) WithMasterTimeout ¶
func (f CatAliases) WithMasterTimeout(v time.Duration) func(*CatAliasesRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatAliases) WithName ¶
func (f CatAliases) WithName(v ...string) func(*CatAliasesRequest)
WithName - a list of alias names to return.
func (CatAliases) WithPretty ¶
func (f CatAliases) WithPretty() func(*CatAliasesRequest)
WithPretty makes the response body pretty-printed.
func (CatAliases) WithS ¶
func (f CatAliases) WithS(v ...string) func(*CatAliasesRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatAliases) WithV ¶
func (f CatAliases) WithV(v bool) func(*CatAliasesRequest)
WithV - verbose mode. display column headers.
type CatAliasesRequest ¶
type CatAliasesRequest struct { Name []string Format string H []string Help *bool Local *bool MasterTimeout time.Duration S []string V *bool Pretty bool Human bool ErrorTrace bool FilterPath []string // contains filtered or unexported fields }
CatAliasesRequest configures the Cat Aliases API request.
type CatAllocation ¶
type CatAllocation func(o ...func(*CatAllocationRequest)) (*Response, error)
CatAllocation provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html.
func (CatAllocation) WithBytes ¶
func (f CatAllocation) WithBytes(v string) func(*CatAllocationRequest)
WithBytes - the unit in which to display byte values.
func (CatAllocation) WithContext ¶
func (f CatAllocation) WithContext(v context.Context) func(*CatAllocationRequest)
WithContext sets the request context.
func (CatAllocation) WithErrorTrace ¶
func (f CatAllocation) WithErrorTrace() func(*CatAllocationRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatAllocation) WithFilterPath ¶
func (f CatAllocation) WithFilterPath(v ...string) func(*CatAllocationRequest)
WithFilterPath filters the properties of the response body.
func (CatAllocation) WithFormat ¶
func (f CatAllocation) WithFormat(v string) func(*CatAllocationRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatAllocation) WithH ¶
func (f CatAllocation) WithH(v ...string) func(*CatAllocationRequest)
WithH - comma-separated list of column names to display.
func (CatAllocation) WithHelp ¶
func (f CatAllocation) WithHelp(v bool) func(*CatAllocationRequest)
WithHelp - return help information.
func (CatAllocation) WithHuman ¶
func (f CatAllocation) WithHuman() func(*CatAllocationRequest)
WithHuman makes statistical values human-readable.
func (CatAllocation) WithLocal ¶
func (f CatAllocation) WithLocal(v bool) func(*CatAllocationRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatAllocation) WithMasterTimeout ¶
func (f CatAllocation) WithMasterTimeout(v time.Duration) func(*CatAllocationRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatAllocation) WithNodeID ¶
func (f CatAllocation) WithNodeID(v ...string) func(*CatAllocationRequest)
WithNodeID - a list of node ids or names to limit the returned information.
func (CatAllocation) WithPretty ¶
func (f CatAllocation) WithPretty() func(*CatAllocationRequest)
WithPretty makes the response body pretty-printed.
func (CatAllocation) WithS ¶
func (f CatAllocation) WithS(v ...string) func(*CatAllocationRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatAllocation) WithV ¶
func (f CatAllocation) WithV(v bool) func(*CatAllocationRequest)
WithV - verbose mode. display column headers.
type CatAllocationRequest ¶
type CatAllocationRequest struct { NodeID []string Bytes string Format string H []string Help *bool Local *bool MasterTimeout time.Duration S []string V *bool Pretty bool Human bool ErrorTrace bool FilterPath []string // contains filtered or unexported fields }
CatAllocationRequest configures the Cat Allocation API request.
type CatCount ¶
type CatCount func(o ...func(*CatCountRequest)) (*Response, error)
CatCount provides quick access to the document count of the entire cluster, or individual indices.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html.
func (CatCount) WithContext ¶
func (f CatCount) WithContext(v context.Context) func(*CatCountRequest)
WithContext sets the request context.
func (CatCount) WithErrorTrace ¶
func (f CatCount) WithErrorTrace() func(*CatCountRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatCount) WithFilterPath ¶
func (f CatCount) WithFilterPath(v ...string) func(*CatCountRequest)
WithFilterPath filters the properties of the response body.
func (CatCount) WithFormat ¶
func (f CatCount) WithFormat(v string) func(*CatCountRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatCount) WithH ¶
func (f CatCount) WithH(v ...string) func(*CatCountRequest)
WithH - comma-separated list of column names to display.
func (CatCount) WithHelp ¶
func (f CatCount) WithHelp(v bool) func(*CatCountRequest)
WithHelp - return help information.
func (CatCount) WithHuman ¶
func (f CatCount) WithHuman() func(*CatCountRequest)
WithHuman makes statistical values human-readable.
func (CatCount) WithIndex ¶
func (f CatCount) WithIndex(v ...string) func(*CatCountRequest)
WithIndex - a list of index names to limit the returned information.
func (CatCount) WithLocal ¶
func (f CatCount) WithLocal(v bool) func(*CatCountRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatCount) WithMasterTimeout ¶
func (f CatCount) WithMasterTimeout(v time.Duration) func(*CatCountRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatCount) WithPretty ¶
func (f CatCount) WithPretty() func(*CatCountRequest)
WithPretty makes the response body pretty-printed.
func (CatCount) WithS ¶
func (f CatCount) WithS(v ...string) func(*CatCountRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatCount) WithV ¶
func (f CatCount) WithV(v bool) func(*CatCountRequest)
WithV - verbose mode. display column headers.
type CatCountRequest ¶
type CatCountRequest struct { Index []string Format string H []string Help *bool Local *bool MasterTimeout time.Duration S []string V *bool Pretty bool Human bool ErrorTrace bool FilterPath []string // contains filtered or unexported fields }
CatCountRequest configures the Cat Count API request.
type CatFielddata ¶
type CatFielddata func(o ...func(*CatFielddataRequest)) (*Response, error)
CatFielddata shows how much heap memory is currently being used by fielddata on every data node in the cluster.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html.
func (CatFielddata) WithBytes ¶
func (f CatFielddata) WithBytes(v string) func(*CatFielddataRequest)
WithBytes - the unit in which to display byte values.
func (CatFielddata) WithContext ¶
func (f CatFielddata) WithContext(v context.Context) func(*CatFielddataRequest)
WithContext sets the request context.
func (CatFielddata) WithErrorTrace ¶
func (f CatFielddata) WithErrorTrace() func(*CatFielddataRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatFielddata) WithFields ¶
func (f CatFielddata) WithFields(v ...string) func(*CatFielddataRequest)
WithFields - a list of fields to return the fielddata size.
func (CatFielddata) WithFilterPath ¶
func (f CatFielddata) WithFilterPath(v ...string) func(*CatFielddataRequest)
WithFilterPath filters the properties of the response body.
func (CatFielddata) WithFormat ¶
func (f CatFielddata) WithFormat(v string) func(*CatFielddataRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatFielddata) WithH ¶
func (f CatFielddata) WithH(v ...string) func(*CatFielddataRequest)
WithH - comma-separated list of column names to display.
func (CatFielddata) WithHelp ¶
func (f CatFielddata) WithHelp(v bool) func(*CatFielddataRequest)
WithHelp - return help information.
func (CatFielddata) WithHuman ¶
func (f CatFielddata) WithHuman() func(*CatFielddataRequest)
WithHuman makes statistical values human-readable.
func (CatFielddata) WithLocal ¶
func (f CatFielddata) WithLocal(v bool) func(*CatFielddataRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatFielddata) WithMasterTimeout ¶
func (f CatFielddata) WithMasterTimeout(v time.Duration) func(*CatFielddataRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatFielddata) WithPretty ¶
func (f CatFielddata) WithPretty() func(*CatFielddataRequest)
WithPretty makes the response body pretty-printed.
func (CatFielddata) WithS ¶
func (f CatFielddata) WithS(v ...string) func(*CatFielddataRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatFielddata) WithV ¶
func (f CatFielddata) WithV(v bool) func(*CatFielddataRequest)
WithV - verbose mode. display column headers.
type CatFielddataRequest ¶
type CatFielddataRequest struct { Fields []string Bytes string Format string H []string Help *bool Local *bool MasterTimeout time.Duration S []string V *bool Pretty bool Human bool ErrorTrace bool FilterPath []string // contains filtered or unexported fields }
CatFielddataRequest configures the Cat Fielddata API request.
type CatHealth ¶
type CatHealth func(o ...func(*CatHealthRequest)) (*Response, error)
CatHealth returns a concise representation of the cluster health.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html.
func (CatHealth) WithContext ¶
func (f CatHealth) WithContext(v context.Context) func(*CatHealthRequest)
WithContext sets the request context.
func (CatHealth) WithErrorTrace ¶
func (f CatHealth) WithErrorTrace() func(*CatHealthRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatHealth) WithFilterPath ¶
func (f CatHealth) WithFilterPath(v ...string) func(*CatHealthRequest)
WithFilterPath filters the properties of the response body.
func (CatHealth) WithFormat ¶
func (f CatHealth) WithFormat(v string) func(*CatHealthRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatHealth) WithH ¶
func (f CatHealth) WithH(v ...string) func(*CatHealthRequest)
WithH - comma-separated list of column names to display.
func (CatHealth) WithHelp ¶
func (f CatHealth) WithHelp(v bool) func(*CatHealthRequest)
WithHelp - return help information.
func (CatHealth) WithHuman ¶
func (f CatHealth) WithHuman() func(*CatHealthRequest)
WithHuman makes statistical values human-readable.
func (CatHealth) WithLocal ¶
func (f CatHealth) WithLocal(v bool) func(*CatHealthRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatHealth) WithMasterTimeout ¶
func (f CatHealth) WithMasterTimeout(v time.Duration) func(*CatHealthRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatHealth) WithPretty ¶
func (f CatHealth) WithPretty() func(*CatHealthRequest)
WithPretty makes the response body pretty-printed.
func (CatHealth) WithS ¶
func (f CatHealth) WithS(v ...string) func(*CatHealthRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatHealth) WithTs ¶
func (f CatHealth) WithTs(v bool) func(*CatHealthRequest)
WithTs - set to false to disable timestamping.
func (CatHealth) WithV ¶
func (f CatHealth) WithV(v bool) func(*CatHealthRequest)
WithV - verbose mode. display column headers.
type CatHealthRequest ¶
type CatHealthRequest struct { Format string H []string Help *bool Local *bool MasterTimeout time.Duration S []string Ts *bool V *bool Pretty bool Human bool ErrorTrace bool FilterPath []string // contains filtered or unexported fields }
CatHealthRequest configures the Cat Health API request.
type CatHelp ¶
type CatHelp func(o ...func(*CatHelpRequest)) (*Response, error)
CatHelp returns help for the Cat APIs.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html.
func (CatHelp) WithContext ¶
func (f CatHelp) WithContext(v context.Context) func(*CatHelpRequest)
WithContext sets the request context.
func (CatHelp) WithErrorTrace ¶
func (f CatHelp) WithErrorTrace() func(*CatHelpRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatHelp) WithFilterPath ¶
func (f CatHelp) WithFilterPath(v ...string) func(*CatHelpRequest)
WithFilterPath filters the properties of the response body.
func (CatHelp) WithHelp ¶
func (f CatHelp) WithHelp(v bool) func(*CatHelpRequest)
WithHelp - return help information.
func (CatHelp) WithHuman ¶
func (f CatHelp) WithHuman() func(*CatHelpRequest)
WithHuman makes statistical values human-readable.
func (CatHelp) WithPretty ¶
func (f CatHelp) WithPretty() func(*CatHelpRequest)
WithPretty makes the response body pretty-printed.
func (CatHelp) WithS ¶
func (f CatHelp) WithS(v ...string) func(*CatHelpRequest)
WithS - comma-separated list of column names or column aliases to sort by.
type CatHelpRequest ¶
type CatHelpRequest struct { Help *bool S []string Pretty bool Human bool ErrorTrace bool FilterPath []string // contains filtered or unexported fields }
CatHelpRequest configures the Cat Help API request.
type CatIndices ¶
type CatIndices func(o ...func(*CatIndicesRequest)) (*Response, error)
CatIndices returns information about indices: number of primaries and replicas, document counts, disk size, ...
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html.
func (CatIndices) WithBytes ¶
func (f CatIndices) WithBytes(v string) func(*CatIndicesRequest)
WithBytes - the unit in which to display byte values.
func (CatIndices) WithContext ¶
func (f CatIndices) WithContext(v context.Context) func(*CatIndicesRequest)
WithContext sets the request context.
func (CatIndices) WithErrorTrace ¶
func (f CatIndices) WithErrorTrace() func(*CatIndicesRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatIndices) WithFilterPath ¶
func (f CatIndices) WithFilterPath(v ...string) func(*CatIndicesRequest)
WithFilterPath filters the properties of the response body.
func (CatIndices) WithFormat ¶
func (f CatIndices) WithFormat(v string) func(*CatIndicesRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatIndices) WithH ¶
func (f CatIndices) WithH(v ...string) func(*CatIndicesRequest)
WithH - comma-separated list of column names to display.
func (CatIndices) WithHealth ¶
func (f CatIndices) WithHealth(v string) func(*CatIndicesRequest)
WithHealth - a health status ("green", "yellow", or "red" to filter only indices matching the specified health status.
func (CatIndices) WithHelp ¶
func (f CatIndices) WithHelp(v bool) func(*CatIndicesRequest)
WithHelp - return help information.
func (CatIndices) WithHuman ¶
func (f CatIndices) WithHuman() func(*CatIndicesRequest)
WithHuman makes statistical values human-readable.
func (CatIndices) WithIndex ¶
func (f CatIndices) WithIndex(v ...string) func(*CatIndicesRequest)
WithIndex - a list of index names to limit the returned information.
func (CatIndices) WithLocal ¶
func (f CatIndices) WithLocal(v bool) func(*CatIndicesRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatIndices) WithMasterTimeout ¶
func (f CatIndices) WithMasterTimeout(v time.Duration) func(*CatIndicesRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatIndices) WithPretty ¶
func (f CatIndices) WithPretty() func(*CatIndicesRequest)
WithPretty makes the response body pretty-printed.
func (CatIndices) WithPri ¶
func (f CatIndices) WithPri(v bool) func(*CatIndicesRequest)
WithPri - set to true to return stats only for primary shards.
func (CatIndices) WithS ¶
func (f CatIndices) WithS(v ...string) func(*CatIndicesRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatIndices) WithV ¶
func (f CatIndices) WithV(v bool) func(*CatIndicesRequest)
WithV - verbose mode. display column headers.
type CatIndicesRequest ¶
type CatIndicesRequest struct { Index []string Bytes string Format string H []string Health string Help *bool Local *bool MasterTimeout time.Duration Pri *bool S []string V *bool Pretty bool Human bool ErrorTrace bool FilterPath []string // contains filtered or unexported fields }
CatIndicesRequest configures the Cat Indices API request.
type CatMaster ¶
type CatMaster func(o ...func(*CatMasterRequest)) (*Response, error)
CatMaster returns information about the master node.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html.
func (CatMaster) WithContext ¶
func (f CatMaster) WithContext(v context.Context) func(*CatMasterRequest)
WithContext sets the request context.
func (CatMaster) WithErrorTrace ¶
func (f CatMaster) WithErrorTrace() func(*CatMasterRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatMaster) WithFilterPath ¶
func (f CatMaster) WithFilterPath(v ...string) func(*CatMasterRequest)
WithFilterPath filters the properties of the response body.
func (CatMaster) WithFormat ¶
func (f CatMaster) WithFormat(v string) func(*CatMasterRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatMaster) WithH ¶
func (f CatMaster) WithH(v ...string) func(*CatMasterRequest)
WithH - comma-separated list of column names to display.
func (CatMaster) WithHelp ¶
func (f CatMaster) WithHelp(v bool) func(*CatMasterRequest)
WithHelp - return help information.
func (CatMaster) WithHuman ¶
func (f CatMaster) WithHuman() func(*CatMasterRequest)
WithHuman makes statistical values human-readable.
func (CatMaster) WithLocal ¶
func (f CatMaster) WithLocal(v bool) func(*CatMasterRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatMaster) WithMasterTimeout ¶
func (f CatMaster) WithMasterTimeout(v time.Duration) func(*CatMasterRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatMaster) WithPretty ¶
func (f CatMaster) WithPretty() func(*CatMasterRequest)
WithPretty makes the response body pretty-printed.
func (CatMaster) WithS ¶
func (f CatMaster) WithS(v ...string) func(*CatMasterRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatMaster) WithV ¶
func (f CatMaster) WithV(v bool) func(*CatMasterRequest)
WithV - verbose mode. display column headers.
type CatMasterRequest ¶
type CatMasterRequest struct { Format string H []string Help *bool Local *bool MasterTimeout time.Duration S []string V *bool Pretty bool Human bool ErrorTrace bool FilterPath []string // contains filtered or unexported fields }
CatMasterRequest configures the Cat Master API request.
type CatNodeattrs ¶
type CatNodeattrs func(o ...func(*CatNodeattrsRequest)) (*Response, error)
CatNodeattrs returns information about custom node attributes.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html.
func (CatNodeattrs) WithContext ¶
func (f CatNodeattrs) WithContext(v context.Context) func(*CatNodeattrsRequest)
WithContext sets the request context.
func (CatNodeattrs) WithErrorTrace ¶
func (f CatNodeattrs) WithErrorTrace() func(*CatNodeattrsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatNodeattrs) WithFilterPath ¶
func (f CatNodeattrs) WithFilterPath(v ...string) func(*CatNodeattrsRequest)
WithFilterPath filters the properties of the response body.
func (CatNodeattrs) WithFormat ¶
func (f CatNodeattrs) WithFormat(v string) func(*CatNodeattrsRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatNodeattrs) WithH ¶
func (f CatNodeattrs) WithH(v ...string) func(*CatNodeattrsRequest)
WithH - comma-separated list of column names to display.
func (CatNodeattrs) WithHelp ¶
func (f CatNodeattrs) WithHelp(v bool) func(*CatNodeattrsRequest)
WithHelp - return help information.
func (CatNodeattrs) WithHuman ¶
func (f CatNodeattrs) WithHuman() func(*CatNodeattrsRequest)
WithHuman makes statistical values human-readable.
func (CatNodeattrs) WithLocal ¶
func (f CatNodeattrs) WithLocal(v bool) func(*CatNodeattrsRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatNodeattrs) WithMasterTimeout ¶
func (f CatNodeattrs) WithMasterTimeout(v time.Duration) func(*CatNodeattrsRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatNodeattrs) WithPretty ¶
func (f CatNodeattrs) WithPretty() func(*CatNodeattrsRequest)
WithPretty makes the response body pretty-printed.
func (CatNodeattrs) WithS ¶
func (f CatNodeattrs) WithS(v ...string) func(*CatNodeattrsRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatNodeattrs) WithV ¶
func (f CatNodeattrs) WithV(v bool) func(*CatNodeattrsRequest)
WithV - verbose mode. display column headers.
type CatNodeattrsRequest ¶
type CatNodeattrsRequest struct { Format string H []string Help *bool Local *bool MasterTimeout time.Duration S []string V *bool Pretty bool Human bool ErrorTrace bool FilterPath []string // contains filtered or unexported fields }
CatNodeattrsRequest configures the Cat Nodeattrs API request.
type CatNodes ¶
type CatNodes func(o ...func(*CatNodesRequest)) (*Response, error)
CatNodes returns basic statistics about performance of cluster nodes.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html.
func (CatNodes) WithContext ¶
func (f CatNodes) WithContext(v context.Context) func(*CatNodesRequest)
WithContext sets the request context.
func (CatNodes) WithErrorTrace ¶
func (f CatNodes) WithErrorTrace() func(*CatNodesRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatNodes) WithFilterPath ¶
func (f CatNodes) WithFilterPath(v ...string) func(*CatNodesRequest)
WithFilterPath filters the properties of the response body.
func (CatNodes) WithFormat ¶
func (f CatNodes) WithFormat(v string) func(*CatNodesRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatNodes) WithFullID ¶
func (f CatNodes) WithFullID(v bool) func(*CatNodesRequest)
WithFullID - return the full node ID instead of the shortened version (default: false).
func (CatNodes) WithH ¶
func (f CatNodes) WithH(v ...string) func(*CatNodesRequest)
WithH - comma-separated list of column names to display.
func (CatNodes) WithHelp ¶
func (f CatNodes) WithHelp(v bool) func(*CatNodesRequest)
WithHelp - return help information.
func (CatNodes) WithHuman ¶
func (f CatNodes) WithHuman() func(*CatNodesRequest)
WithHuman makes statistical values human-readable.
func (CatNodes) WithLocal ¶
func (f CatNodes) WithLocal(v bool) func(*CatNodesRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatNodes) WithMasterTimeout ¶
func (f CatNodes) WithMasterTimeout(v time.Duration) func(*CatNodesRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatNodes) WithPretty ¶
func (f CatNodes) WithPretty() func(*CatNodesRequest)
WithPretty makes the response body pretty-printed.
func (CatNodes) WithS ¶
func (f CatNodes) WithS(v ...string) func(*CatNodesRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatNodes) WithV ¶
func (f CatNodes) WithV(v bool) func(*CatNodesRequest)
WithV - verbose mode. display column headers.
type CatNodesRequest ¶
type CatNodesRequest struct { Format string FullID *bool H []string Help *bool Local *bool MasterTimeout time.Duration S []string V *bool Pretty bool Human bool ErrorTrace bool FilterPath []string // contains filtered or unexported fields }
CatNodesRequest configures the Cat Nodes API request.
type CatPendingTasks ¶
type CatPendingTasks func(o ...func(*CatPendingTasksRequest)) (*Response, error)
CatPendingTasks returns a concise representation of the cluster pending tasks.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html.
func (CatPendingTasks) WithContext ¶
func (f CatPendingTasks) WithContext(v context.Context) func(*CatPendingTasksRequest)
WithContext sets the request context.
func (CatPendingTasks) WithErrorTrace ¶
func (f CatPendingTasks) WithErrorTrace() func(*CatPendingTasksRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatPendingTasks) WithFilterPath ¶
func (f CatPendingTasks) WithFilterPath(v ...string) func(*CatPendingTasksRequest)
WithFilterPath filters the properties of the response body.
func (CatPendingTasks) WithFormat ¶
func (f CatPendingTasks) WithFormat(v string) func(*CatPendingTasksRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatPendingTasks) WithH ¶
func (f CatPendingTasks) WithH(v ...string) func(*CatPendingTasksRequest)
WithH - comma-separated list of column names to display.
func (CatPendingTasks) WithHelp ¶
func (f CatPendingTasks) WithHelp(v bool) func(*CatPendingTasksRequest)
WithHelp - return help information.
func (CatPendingTasks) WithHuman ¶
func (f CatPendingTasks) WithHuman() func(*CatPendingTasksRequest)
WithHuman makes statistical values human-readable.
func (CatPendingTasks) WithLocal ¶
func (f CatPendingTasks) WithLocal(v bool) func(*CatPendingTasksRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatPendingTasks) WithMasterTimeout ¶
func (f CatPendingTasks) WithMasterTimeout(v time.Duration) func(*CatPendingTasksRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatPendingTasks) WithPretty ¶
func (f CatPendingTasks) WithPretty() func(*CatPendingTasksRequest)
WithPretty makes the response body pretty-printed.
func (CatPendingTasks) WithS ¶
func (f CatPendingTasks) WithS(v ...string) func(*CatPendingTasksRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatPendingTasks) WithV ¶
func (f CatPendingTasks) WithV(v bool) func(*CatPendingTasksRequest)
WithV - verbose mode. display column headers.
type CatPendingTasksRequest ¶
type CatPendingTasksRequest struct { Format string H []string Help *bool Local *bool MasterTimeout time.Duration S []string V *bool Pretty bool Human bool ErrorTrace bool FilterPath []string // contains filtered or unexported fields }
CatPendingTasksRequest configures the Cat Pending Tasks API request.
type CatPlugins ¶
type CatPlugins func(o ...func(*CatPluginsRequest)) (*Response, error)
CatPlugins returns information about installed plugins across nodes node.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html.
func (CatPlugins) WithContext ¶
func (f CatPlugins) WithContext(v context.Context) func(*CatPluginsRequest)
WithContext sets the request context.
func (CatPlugins) WithErrorTrace ¶
func (f CatPlugins) WithErrorTrace() func(*CatPluginsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatPlugins) WithFilterPath ¶
func (f CatPlugins) WithFilterPath(v ...string) func(*CatPluginsRequest)
WithFilterPath filters the properties of the response body.
func (CatPlugins) WithFormat ¶
func (f CatPlugins) WithFormat(v string) func(*CatPluginsRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatPlugins) WithH ¶
func (f CatPlugins) WithH(v ...string) func(*CatPluginsRequest)
WithH - comma-separated list of column names to display.
func (CatPlugins) WithHelp ¶
func (f CatPlugins) WithHelp(v bool) func(*CatPluginsRequest)
WithHelp - return help information.
func (CatPlugins) WithHuman ¶
func (f CatPlugins) WithHuman() func(*CatPluginsRequest)
WithHuman makes statistical values human-readable.
func (CatPlugins) WithLocal ¶
func (f CatPlugins) WithLocal(v bool) func(*CatPluginsRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatPlugins) WithMasterTimeout ¶
func (f CatPlugins) WithMasterTimeout(v time.Duration) func(*CatPluginsRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatPlugins) WithPretty ¶
func (f CatPlugins) WithPretty() func(*CatPluginsRequest)
WithPretty makes the response body pretty-printed.
func (CatPlugins) WithS ¶
func (f CatPlugins) WithS(v ...string) func(*CatPluginsRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatPlugins) WithV ¶
func (f CatPlugins) WithV(v bool) func(*CatPluginsRequest)
WithV - verbose mode. display column headers.
type CatPluginsRequest ¶
type CatPluginsRequest struct { Format string H []string Help *bool Local *bool MasterTimeout time.Duration S []string V *bool Pretty bool Human bool ErrorTrace bool FilterPath []string // contains filtered or unexported fields }
CatPluginsRequest configures the Cat Plugins API request.
type CatRecovery ¶
type CatRecovery func(o ...func(*CatRecoveryRequest)) (*Response, error)
CatRecovery returns information about index shard recoveries, both on-going completed.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html.
func (CatRecovery) WithBytes ¶
func (f CatRecovery) WithBytes(v string) func(*CatRecoveryRequest)
WithBytes - the unit in which to display byte values.
func (CatRecovery) WithContext ¶
func (f CatRecovery) WithContext(v context.Context) func(*CatRecoveryRequest)
WithContext sets the request context.
func (CatRecovery) WithErrorTrace ¶
func (f CatRecovery) WithErrorTrace() func(*CatRecoveryRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatRecovery) WithFilterPath ¶
func (f CatRecovery) WithFilterPath(v ...string) func(*CatRecoveryRequest)
WithFilterPath filters the properties of the response body.
func (CatRecovery) WithFormat ¶
func (f CatRecovery) WithFormat(v string) func(*CatRecoveryRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatRecovery) WithH ¶
func (f CatRecovery) WithH(v ...string) func(*CatRecoveryRequest)
WithH - comma-separated list of column names to display.
func (CatRecovery) WithHelp ¶
func (f CatRecovery) WithHelp(v bool) func(*CatRecoveryRequest)
WithHelp - return help information.
func (CatRecovery) WithHuman ¶
func (f CatRecovery) WithHuman() func(*CatRecoveryRequest)
WithHuman makes statistical values human-readable.
func (CatRecovery) WithIndex ¶
func (f CatRecovery) WithIndex(v ...string) func(*CatRecoveryRequest)
WithIndex - a list of index names to limit the returned information.
func (CatRecovery) WithMasterTimeout ¶
func (f CatRecovery) WithMasterTimeout(v time.Duration) func(*CatRecoveryRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatRecovery) WithPretty ¶
func (f CatRecovery) WithPretty() func(*CatRecoveryRequest)
WithPretty makes the response body pretty-printed.
func (CatRecovery) WithS ¶
func (f CatRecovery) WithS(v ...string) func(*CatRecoveryRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatRecovery) WithV ¶
func (f CatRecovery) WithV(v bool) func(*CatRecoveryRequest)
WithV - verbose mode. display column headers.
type CatRecoveryRequest ¶
type CatRecoveryRequest struct { Index []string Bytes string Format string H []string Help *bool MasterTimeout time.Duration S []string V *bool Pretty bool Human bool ErrorTrace bool FilterPath []string // contains filtered or unexported fields }
CatRecoveryRequest configures the Cat Recovery API request.
type CatRepositories ¶
type CatRepositories func(o ...func(*CatRepositoriesRequest)) (*Response, error)
CatRepositories returns information about snapshot repositories registered in the cluster.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html.
func (CatRepositories) WithContext ¶
func (f CatRepositories) WithContext(v context.Context) func(*CatRepositoriesRequest)
WithContext sets the request context.
func (CatRepositories) WithErrorTrace ¶
func (f CatRepositories) WithErrorTrace() func(*CatRepositoriesRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatRepositories) WithFilterPath ¶
func (f CatRepositories) WithFilterPath(v ...string) func(*CatRepositoriesRequest)
WithFilterPath filters the properties of the response body.
func (CatRepositories) WithFormat ¶
func (f CatRepositories) WithFormat(v string) func(*CatRepositoriesRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatRepositories) WithH ¶
func (f CatRepositories) WithH(v ...string) func(*CatRepositoriesRequest)
WithH - comma-separated list of column names to display.
func (CatRepositories) WithHelp ¶
func (f CatRepositories) WithHelp(v bool) func(*CatRepositoriesRequest)
WithHelp - return help information.
func (CatRepositories) WithHuman ¶
func (f CatRepositories) WithHuman() func(*CatRepositoriesRequest)
WithHuman makes statistical values human-readable.
func (CatRepositories) WithLocal ¶
func (f CatRepositories) WithLocal(v bool) func(*CatRepositoriesRequest)
WithLocal - return local information, do not retrieve the state from master node.
func (CatRepositories) WithMasterTimeout ¶
func (f CatRepositories) WithMasterTimeout(v time.Duration) func(*CatRepositoriesRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatRepositories) WithPretty ¶
func (f CatRepositories) WithPretty() func(*CatRepositoriesRequest)
WithPretty makes the response body pretty-printed.
func (CatRepositories) WithS ¶
func (f CatRepositories) WithS(v ...string) func(*CatRepositoriesRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatRepositories) WithV ¶
func (f CatRepositories) WithV(v bool) func(*CatRepositoriesRequest)
WithV - verbose mode. display column headers.
type CatRepositoriesRequest ¶
type CatRepositoriesRequest struct { Format string H []string Help *bool Local *bool MasterTimeout time.Duration S []string V *bool Pretty bool Human bool ErrorTrace bool FilterPath []string // contains filtered or unexported fields }
CatRepositoriesRequest configures the Cat Repositories API request.
type CatSegments ¶
type CatSegments func(o ...func(*CatSegmentsRequest)) (*Response, error)
CatSegments provides low-level information about the segments in the shards of an index.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html.
func (CatSegments) WithBytes ¶
func (f CatSegments) WithBytes(v string) func(*CatSegmentsRequest)
WithBytes - the unit in which to display byte values.
func (CatSegments) WithContext ¶
func (f CatSegments) WithContext(v context.Context) func(*CatSegmentsRequest)
WithContext sets the request context.
func (CatSegments) WithErrorTrace ¶
func (f CatSegments) WithErrorTrace() func(*CatSegmentsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatSegments) WithFilterPath ¶
func (f CatSegments) WithFilterPath(v ...string) func(*CatSegmentsRequest)
WithFilterPath filters the properties of the response body.
func (CatSegments) WithFormat ¶
func (f CatSegments) WithFormat(v string) func(*CatSegmentsRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatSegments) WithH ¶
func (f CatSegments) WithH(v ...string) func(*CatSegmentsRequest)
WithH - comma-separated list of column names to display.
func (CatSegments) WithHelp ¶
func (f CatSegments) WithHelp(v bool) func(*CatSegmentsRequest)
WithHelp - return help information.
func (CatSegments) WithHuman ¶
func (f CatSegments) WithHuman() func(*CatSegmentsRequest)
WithHuman makes statistical values human-readable.
func (CatSegments) WithIndex ¶
func (f CatSegments) WithIndex(v ...string) func(*CatSegmentsRequest)
WithIndex - a list of index names to limit the returned information.
func (CatSegments) WithPretty ¶
func (f CatSegments) WithPretty() func(*CatSegmentsRequest)
WithPretty makes the response body pretty-printed.
func (CatSegments) WithS ¶
func (f CatSegments) WithS(v ...string) func(*CatSegmentsRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatSegments) WithV ¶
func (f CatSegments) WithV(v bool) func(*CatSegmentsRequest)
WithV - verbose mode. display column headers.
type CatSegmentsRequest ¶
type CatSegmentsRequest struct { Index []string Bytes string Format string H []string Help *bool S []string V *bool Pretty bool Human bool ErrorTrace bool FilterPath []string // contains filtered or unexported fields }
CatSegmentsRequest configures the Cat Segments API request.
type CatShards ¶
type CatShards func(o ...func(*CatShardsRequest)) (*Response, error)
CatShards provides a detailed view of shard allocation on nodes.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html.
func (CatShards) WithBytes ¶
func (f CatShards) WithBytes(v string) func(*CatShardsRequest)
WithBytes - the unit in which to display byte values.
func (CatShards) WithContext ¶
func (f CatShards) WithContext(v context.Context) func(*CatShardsRequest)
WithContext sets the request context.
func (CatShards) WithErrorTrace ¶
func (f CatShards) WithErrorTrace() func(*CatShardsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatShards) WithFilterPath ¶
func (f CatShards) WithFilterPath(v ...string) func(*CatShardsRequest)
WithFilterPath filters the properties of the response body.
func (CatShards) WithFormat ¶
func (f CatShards) WithFormat(v string) func(*CatShardsRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatShards) WithH ¶
func (f CatShards) WithH(v ...string) func(*CatShardsRequest)
WithH - comma-separated list of column names to display.
func (CatShards) WithHelp ¶
func (f CatShards) WithHelp(v bool) func(*CatShardsRequest)
WithHelp - return help information.
func (CatShards) WithHuman ¶
func (f CatShards) WithHuman() func(*CatShardsRequest)
WithHuman makes statistical values human-readable.
func (CatShards) WithIndex ¶
func (f CatShards) WithIndex(v ...string) func(*CatShardsRequest)
WithIndex - a list of index names to limit the returned information.
func (CatShards) WithLocal ¶
func (f CatShards) WithLocal(v bool) func(*CatShardsRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatShards) WithMasterTimeout ¶
func (f CatShards) WithMasterTimeout(v time.Duration) func(*CatShardsRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatShards) WithPretty ¶
func (f CatShards) WithPretty() func(*CatShardsRequest)
WithPretty makes the response body pretty-printed.
func (CatShards) WithS ¶
func (f CatShards) WithS(v ...string) func(*CatShardsRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatShards) WithV ¶
func (f CatShards) WithV(v bool) func(*CatShardsRequest)
WithV - verbose mode. display column headers.
type CatShardsRequest ¶
type CatShardsRequest struct { Index []string Bytes string Format string H []string Help *bool Local *bool MasterTimeout time.Duration S []string V *bool Pretty bool Human bool ErrorTrace bool FilterPath []string // contains filtered or unexported fields }
CatShardsRequest configures the Cat Shards API request.
type CatSnapshots ¶
type CatSnapshots func(o ...func(*CatSnapshotsRequest)) (*Response, error)
CatSnapshots returns all snapshots in a specific repository.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html.
func (CatSnapshots) WithContext ¶
func (f CatSnapshots) WithContext(v context.Context) func(*CatSnapshotsRequest)
WithContext sets the request context.
func (CatSnapshots) WithErrorTrace ¶
func (f CatSnapshots) WithErrorTrace() func(*CatSnapshotsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatSnapshots) WithFilterPath ¶
func (f CatSnapshots) WithFilterPath(v ...string) func(*CatSnapshotsRequest)
WithFilterPath filters the properties of the response body.
func (CatSnapshots) WithFormat ¶
func (f CatSnapshots) WithFormat(v string) func(*CatSnapshotsRequest)