Skip to content

Commit

Permalink
Merge remote-tracking branch 'theus77/feat/dynamic_mapping' into feat…
Browse files Browse the repository at this point in the history
…/dynamic_mapping
  • Loading branch information
theus77 committed Jan 3, 2024
2 parents 845a50c + 6696b98 commit d7d1aab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/elasticms-admin/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ Define the default [dynamic mapping mode](https://www.elastic.co/guide/en/elasti
This parameter has been introduced in version 6.0.0. Prior version were then using the elasticsearch default value `'false'`.

```dotenv
EMSCO_DEFAULT_BULK_SIZE='false'
EMSCO_DYNAMIC_MAPPING='false'
```
Possible values are:
- `true`: New fields are added to the mapping.
Expand Down
2 changes: 1 addition & 1 deletion docs/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Before version 6 it was not possible to define elasticsearch dynamic mapping con

Since version 6 the default dynamic mapping config has changed. New fields are ignored. These fields will not be indexed or searchable, but will still appear in the _source field of returned hits. These fields will not be added to the mapping, and new fields must be added explicitly into the content type.

You can reactivate the dynamic mapping with this environment variable: `EMSCO_DEFAULT_BULK_SIZE='true'`. But it's not recommended. Check the [EMSCO_DEFAULT_BULK_SIZE documentation](elasticms-admin/environment-variables.md#emscodynamicmapping)
You can reactivate the dynamic mapping with this environment variable: `EMSCO_DYNAMIC_MAPPING='true'`. But it's not recommended. Check the [EMSCO_DYNAMIC_MAPPING documentation](elasticms-admin/environment-variables.md#emscodynamicmapping)

## version 5.7.x

Expand Down

0 comments on commit d7d1aab

Please sign in to comment.