Skip to content

Commit c5d5a69

Browse files
authored
Merge pull request #123 from k-yomo/fix-invalid-link
Fix invalid links in the document for index resource
2 parents cb74105 + 67cc00a commit c5d5a69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/resources/elasticsearch_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ resource "elasticstack_elasticsearch_index" "my_index" {
7171
- **alias** (Block Set) Aliases for the index. (see [below for nested schema](#nestedblock--alias))
7272
- **elasticsearch_connection** (Block List, Max: 1) Used to establish connection to Elasticsearch server. Overrides environment variables if present. (see [below for nested schema](#nestedblock--elasticsearch_connection))
7373
- **mappings** (String) Mapping for fields in the index.
74-
If specified, this mapping can include: field names, field data types (https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-types.html), mapping parameters (https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-params.html).
74+
If specified, this mapping can include: field names, [field data types](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-types.html), [mapping parameters](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-params.html).
7575
**NOTE:** changing datatypes in the existing _mappings_ will force index to be re-created.
7676
- **settings** (Block List, Max: 1) Configuration options for the index. See, https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html#index-modules-settings.
7777
**NOTE:** Static index settings (see: https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html#_static_index_settings) can be only set on the index creation and later cannot be removed or updated - _apply_ will return error (see [below for nested schema](#nestedblock--settings))

internal/elasticsearch/index/index.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func ResourceIndex() *schema.Resource {
9191
},
9292
"mappings": {
9393
Description: `Mapping for fields in the index.
94-
If specified, this mapping can include: field names, field data types (https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-types.html), mapping parameters (https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-params.html).
94+
If specified, this mapping can include: field names, [field data types](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-types.html), [mapping parameters](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-params.html).
9595
**NOTE:** changing datatypes in the existing _mappings_ will force index to be re-created.`,
9696
Type: schema.TypeString,
9797
Optional: true,

0 commit comments

Comments
 (0)