Skip to content

Commit fa7c1d1

Browse files
committed
Switch doc links to 6.7
1 parent 1900b03 commit fa7c1d1

File tree

201 files changed

+351
-352
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

201 files changed

+351
-352
lines changed

CHANGELOG-6.0.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ Only use `true` or `false` for boolean values, not `0` or `1` or `on` or `off`.
1414

1515
Notice that 6.0 and future versions will default to single type indices, i.e. you may not use multiple types when e.g. adding an index with a mapping.
1616

17-
See [here for details](https://www.elastic.co/guide/en/elasticsearch/reference/6.x/removal-of-types.html#_what_are_mapping_types).
17+
See [here for details](https://www.elastic.co/guide/en/elasticsearch/reference/6.7/removal-of-types.html#_what_are_mapping_types).
1818

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ import "github.com/olivere/elastic"
5353

5454
Elastic 6.0 targets Elasticsearch 6.x which was [released on 14th November 2017](https://www.elastic.co/blog/elasticsearch-6-0-0-released).
5555

56-
Notice that there are a lot of [breaking changes in Elasticsearch 6.0](https://www.elastic.co/guide/en/elasticsearch/reference/6.2/breaking-changes-6.0.html)
56+
Notice that there are a lot of [breaking changes in Elasticsearch 6.0](https://www.elastic.co/guide/en/elasticsearch/reference/6.7/breaking-changes-6.0.html)
5757
and we used this as an opportunity to [clean up and refactor Elastic](https://github.com/olivere/elastic/blob/release-branch.v6/CHANGELOG-6.0.md)
5858
as we did in the transition from earlier versions of Elastic.
5959

@@ -410,4 +410,4 @@ MIT-LICENSE. See [LICENSE](http://olivere.mit-license.org/)
410410
or the LICENSE file provided in the repository for details.
411411

412412

413-
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Folivere%2Felastic.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Folivere%2Felastic?ref=badge_large)
413+
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Folivere%2Felastic.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Folivere%2Felastic?ref=badge_large)

bulk.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
// reuse BulkService to send many batches. You do not have to create a new
2424
// BulkService for each batch.
2525
//
26-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-bulk.html
26+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-bulk.html
2727
// for more details.
2828
type BulkService struct {
2929
client *Client
@@ -94,7 +94,7 @@ func (s *BulkService) Timeout(timeout string) *BulkService {
9494
// changes to be made visible by a refresh before reying), or "false"
9595
// (no refresh related actions). The default value is "false".
9696
//
97-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-refresh.html
97+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-refresh.html
9898
// for details.
9999
func (s *BulkService) Refresh(refresh string) *BulkService {
100100
s.refresh = refresh

bulk_delete_request.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616

1717
// BulkDeleteRequest is a request to remove a document from Elasticsearch.
1818
//
19-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-bulk.html
19+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-bulk.html
2020
// for details.
2121
type BulkDeleteRequest struct {
2222
BulkableRequest
@@ -128,7 +128,7 @@ func (r *BulkDeleteRequest) String() string {
128128

129129
// Source returns the on-wire representation of the delete request,
130130
// split into an action-and-meta-data line and an (optional) source line.
131-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-bulk.html
131+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-bulk.html
132132
// for details.
133133
func (r *BulkDeleteRequest) Source() ([]string, error) {
134134
if r.source != nil {

bulk_index_request.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
// BulkIndexRequest is a request to add a document to Elasticsearch.
1616
//
17-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-bulk.html
17+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-bulk.html
1818
// for details.
1919
type BulkIndexRequest struct {
2020
BulkableRequest
@@ -95,7 +95,7 @@ func (r *BulkIndexRequest) Id(id string) *BulkIndexRequest {
9595

9696
// OpType specifies if this request should follow create-only or upsert
9797
// behavior. This follows the OpType of the standard document index API.
98-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-index_.html#operation-type
98+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-index_.html#operation-type
9999
// for details.
100100
func (r *BulkIndexRequest) OpType(opType string) *BulkIndexRequest {
101101
r.opType = opType
@@ -128,7 +128,7 @@ func (r *BulkIndexRequest) Version(version int64) *BulkIndexRequest {
128128
// VersionType specifies how versions are created. It can be e.g. internal,
129129
// external, external_gte, or force.
130130
//
131-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-index_.html#index-versioning
131+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-index_.html#index-versioning
132132
// for details.
133133
func (r *BulkIndexRequest) VersionType(versionType string) *BulkIndexRequest {
134134
r.versionType = versionType
@@ -169,7 +169,7 @@ func (r *BulkIndexRequest) String() string {
169169

170170
// Source returns the on-wire representation of the index request,
171171
// split into an action-and-meta-data line and an (optional) source line.
172-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-bulk.html
172+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-bulk.html
173173
// for details.
174174
func (r *BulkIndexRequest) Source() ([]string, error) {
175175
// { "index" : { "_index" : "test", "_type" : "type1", "_id" : "1" } }

bulk_update_request.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
// BulkUpdateRequest is a request to update a document in Elasticsearch.
1616
//
17-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-bulk.html
17+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-bulk.html
1818
// for details.
1919
type BulkUpdateRequest struct {
2020
BulkableRequest
@@ -120,8 +120,8 @@ func (r *BulkUpdateRequest) Parent(parent string) *BulkUpdateRequest {
120120
}
121121

122122
// Script specifies an update script.
123-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-bulk.html#bulk-update
124-
// and https://www.elastic.co/guide/en/elasticsearch/reference/6.2/modules-scripting.html
123+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-bulk.html#bulk-update
124+
// and https://www.elastic.co/guide/en/elasticsearch/reference/6.7/modules-scripting.html
125125
// for details.
126126
func (r *BulkUpdateRequest) Script(script *Script) *BulkUpdateRequest {
127127
r.script = script
@@ -132,7 +132,7 @@ func (r *BulkUpdateRequest) Script(script *Script) *BulkUpdateRequest {
132132
// ScripedUpsert specifies if your script will run regardless of
133133
// whether the document exists or not.
134134
//
135-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-update.html#_literal_scripted_upsert_literal
135+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-update.html#_literal_scripted_upsert_literal
136136
func (r *BulkUpdateRequest) ScriptedUpsert(upsert bool) *BulkUpdateRequest {
137137
r.scriptedUpsert = &upsert
138138
r.source = nil
@@ -172,7 +172,7 @@ func (r *BulkUpdateRequest) Doc(doc interface{}) *BulkUpdateRequest {
172172
// DocAsUpsert indicates whether the contents of Doc should be used as
173173
// the Upsert value.
174174
//
175-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-update.html#_literal_doc_as_upsert_literal
175+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-update.html#_literal_doc_as_upsert_literal
176176
// for details.
177177
func (r *BulkUpdateRequest) DocAsUpsert(docAsUpsert bool) *BulkUpdateRequest {
178178
r.docAsUpsert = &docAsUpsert
@@ -218,7 +218,7 @@ func (r *BulkUpdateRequest) String() string {
218218

219219
// Source returns the on-wire representation of the update request,
220220
// split into an action-and-meta-data line and an (optional) source line.
221-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-bulk.html
221+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-bulk.html
222222
// for details.
223223
func (r *BulkUpdateRequest) Source() ([]string, error) {
224224
// { "update" : { "_index" : "test", "_type" : "type1", "_id" : "1", ... } }

cat_aliases.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
// CatAliasesService shows information about currently configured aliases
1717
// to indices including filter and routing infos.
1818
//
19-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/cat-aliases.html
19+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/cat-aliases.html
2020
// for details.
2121
type CatAliasesService struct {
2222
client *Client

cat_allocation.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
// CatAllocationService provides a snapshot of how many shards are allocated
1717
// to each data node and how much disk space they are using.
1818
//
19-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/cat-allocation.html
19+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/cat-allocation.html
2020
// for details.
2121
type CatAllocationService struct {
2222
client *Client

cat_count.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
// CatCountService provides quick access to the document count of the entire cluster,
1717
// or individual indices.
1818
//
19-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/cat-count.html
19+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/cat-count.html
2020
// for details.
2121
type CatCountService struct {
2222
client *Client

cat_health.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
// CatHealthService returns a terse representation of the same information
1515
// as /_cluster/health.
1616
//
17-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/cat-health.html
17+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/cat-health.html
1818
// for details.
1919
type CatHealthService struct {
2020
client *Client

cat_indices.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
// CatIndicesService returns the list of indices plus some additional
1717
// information about them.
1818
//
19-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/cat-indices.html
19+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/cat-indices.html
2020
// for details.
2121
type CatIndicesService struct {
2222
client *Client

clear_scroll.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
// ClearScrollService clears one or more scroll contexts by their ids.
1414
//
15-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/search-request-scroll.html#_clear_scroll_api
15+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/search-request-scroll.html#_clear_scroll_api
1616
// for details.
1717
type ClearScrollService struct {
1818
client *Client

client.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ type Client struct {
158158
//
159159
// If the sniffer is enabled (the default), the new client then sniffes
160160
// the cluster via the Nodes Info API
161-
// (see https://www.elastic.co/guide/en/elasticsearch/reference/6.2/cluster-nodes-info.html#cluster-nodes-info).
161+
// (see https://www.elastic.co/guide/en/elasticsearch/reference/6.7/cluster-nodes-info.html#cluster-nodes-info).
162162
// It uses the URLs specified by the caller. The caller is responsible
163163
// to only pass a list of URLs of nodes that belong to the same cluster.
164164
// This sniffing process is run on startup and periodically.
@@ -1456,7 +1456,7 @@ func (c *Client) BulkProcessor() *BulkProcessorService {
14561456

14571457
// Reindex copies data from a source index into a destination index.
14581458
//
1459-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-reindex.html
1459+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-reindex.html
14601460
// for details on the Reindex API.
14611461
func (c *Client) Reindex() *ReindexService {
14621462
return NewReindexService(c)
@@ -1627,7 +1627,7 @@ func (c *Client) Flush(indices ...string) *IndicesFlushService {
16271627

16281628
// SyncedFlush performs a synced flush.
16291629
//
1630-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.4/indices-synced-flush.html
1630+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/indices-synced-flush.html
16311631
// for more details on synched flushes and how they differ from a normal
16321632
// Flush.
16331633
func (c *Client) SyncedFlush(indices ...string) *IndicesSyncedFlushService {

cluster_reroute.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
// one node to another explicitly, an allocation can be cancelled, and
1818
// an unassigned shard can be explicitly allocated to a specific node.
1919
//
20-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.4/cluster-reroute.html
20+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/cluster-reroute.html
2121
// for details.
2222
type ClusterRerouteService struct {
2323
client *Client

cluster_state.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515

1616
// ClusterStateService allows to get a comprehensive state information of the whole cluster.
1717
//
18-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/cluster-state.html
18+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/cluster-state.html
1919
// for details.
2020
type ClusterStateService struct {
2121
client *Client

cluster_stats.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
)
1515

1616
// ClusterStatsService is documented at
17-
// https://www.elastic.co/guide/en/elasticsearch/reference/6.2/cluster-stats.html.
17+
// https://www.elastic.co/guide/en/elasticsearch/reference/6.7/cluster-stats.html.
1818
type ClusterStatsService struct {
1919
client *Client
2020
pretty bool

delete.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
// DeleteService allows to delete a typed JSON document from a specified
1717
// index based on its id.
1818
//
19-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-delete.html
19+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-delete.html
2020
// for details.
2121
type DeleteService struct {
2222
client *Client
@@ -100,7 +100,7 @@ func (s *DeleteService) Parent(parent string) *DeleteService {
100100

101101
// Refresh the index after performing the operation.
102102
//
103-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-refresh.html
103+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-refresh.html
104104
// for details.
105105
func (s *DeleteService) Refresh(refresh string) *DeleteService {
106106
s.refresh = refresh

delete_by_query.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
)
1515

1616
// DeleteByQueryService deletes documents that match a query.
17-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-delete-by-query.html.
17+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-delete-by-query.html.
1818
type DeleteByQueryService struct {
1919
client *Client
2020
index []string
@@ -242,7 +242,7 @@ func (s *DeleteByQueryService) Query(query Query) *DeleteByQueryService {
242242

243243
// Refresh indicates whether the effected indexes should be refreshed.
244244
//
245-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-refresh.html
245+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-refresh.html
246246
// for details.
247247
func (s *DeleteByQueryService) Refresh(refresh string) *DeleteByQueryService {
248248
s.refresh = refresh
@@ -303,9 +303,9 @@ func (s *DeleteByQueryService) Size(size int) *DeleteByQueryService {
303303
}
304304

305305
// Slices represents the number of slices (default: 1).
306-
// It used to be a number, but can be set to "auto" as of 6.3.
306+
// It used to be a number, but can be set to "auto" as of 6.7.
307307
//
308-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.3/docs-delete-by-query.html#docs-delete-by-query-automatic-slice
308+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-delete-by-query.html#docs-delete-by-query-automatic-slice
309309
// for details.
310310
func (s *DeleteByQueryService) Slices(slices interface{}) *DeleteByQueryService {
311311
s.slices = slices

exists.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515

1616
// ExistsService checks for the existence of a document using HEAD.
1717
//
18-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-get.html
18+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-get.html
1919
// for details.
2020
type ExistsService struct {
2121
client *Client
@@ -70,7 +70,7 @@ func (s *ExistsService) Realtime(realtime bool) *ExistsService {
7070

7171
// Refresh the shard containing the document before performing the operation.
7272
//
73-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-refresh.html
73+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-refresh.html
7474
// for details.
7575
func (s *ExistsService) Refresh(refresh string) *ExistsService {
7676
s.refresh = refresh

explain.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515

1616
// ExplainService computes a score explanation for a query and
1717
// a specific document.
18-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/search-explain.html.
18+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/search-explain.html.
1919
type ExplainService struct {
2020
client *Client
2121
pretty bool

fetch_source_context.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
// with various endpoints, e.g. when searching for documents, retrieving
1515
// individual documents, or even updating documents.
1616
//
17-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/search-request-source-filtering.html
17+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/search-request-source-filtering.html
1818
// for details.
1919
type FetchSourceContext struct {
2020
fetchSource bool

field_caps.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616

1717
// FieldCapsService allows retrieving the capabilities of fields among multiple indices.
1818
//
19-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/search-field-caps.html
19+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/search-field-caps.html
2020
// for details
2121
type FieldCapsService struct {
2222
client *Client

get.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
// GetService allows to get a typed JSON document from the index based
1818
// on its id.
1919
//
20-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-get.html
20+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-get.html
2121
// for details.
2222
type GetService struct {
2323
client *Client
@@ -104,7 +104,7 @@ func (s *GetService) FetchSourceContext(fetchSourceContext *FetchSourceContext)
104104

105105
// Refresh the shard containing the document before performing the operation.
106106
//
107-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-refresh.html
107+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-refresh.html
108108
// for details.
109109
func (s *GetService) Refresh(refresh string) *GetService {
110110
s.refresh = refresh

highlight.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package elastic
66

77
// Highlight allows highlighting search results on one or more fields.
88
// For details, see:
9-
// https://www.elastic.co/guide/en/elasticsearch/reference/6.2/search-request-highlighting.html
9+
// https://www.elastic.co/guide/en/elasticsearch/reference/6.7/search-request-highlighting.html
1010
type Highlight struct {
1111
fields []*HighlighterField
1212
tagsSchema *string

index.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
// IndexService adds or updates a typed JSON document in a specified index,
1616
// making it searchable.
1717
//
18-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-index_.html
18+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-index_.html
1919
// for details.
2020
type IndexService struct {
2121
client *Client
@@ -81,7 +81,7 @@ func (s *IndexService) Pipeline(pipeline string) *IndexService {
8181

8282
// Refresh the index after performing the operation.
8383
//
84-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-refresh.html
84+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-refresh.html
8585
// for details.
8686
func (s *IndexService) Refresh(refresh string) *IndexService {
8787
s.refresh = refresh
@@ -175,7 +175,7 @@ func (s *IndexService) buildURL() (string, string, url.Values, error) {
175175
})
176176
} else {
177177
// Automatic ID generation
178-
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs-index_.html#index-creation
178+
// See https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docs-index_.html#index-creation
179179
method = "POST"
180180
path, err = uritemplates.Expand("/{index}/{type}/", map[string]string{
181181
"index": s.index,

0 commit comments

Comments
 (0)