Skip to content

Commit 1ee339f

Browse files
authored
TASK: Tweak mapping instructions (for _all field)
1 parent 2dba166 commit 1ee339f

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,10 +670,17 @@ in the NodeTypes.yaml. Generally this works by defining the global mapping at `[
670670
search:
671671
elasticSearchMapping:
672672
_all:
673-
index_analyzer: custom_french_analyzer
674-
search_analyzer: custom_french_analyzer
673+
analyzer: custom_french_analyzer
675674
```
676675
676+
Hint: If this leads to error message like:
677+
678+
mapper [_all] has different [analyzer], mapper [_all] is used by multiple types
679+
680+
you have different (node) types that do not have the same analyzer. Internally Elasticsearch uses the same
681+
configuration for all fields of the same name, even if they are in different types. Use the `nodeindex:showmapping`
682+
command to check for any node type that does not have `\_all` configured as expected and adjust it as well.
683+
677684
## Change the default Elastic index name
678685
679686
If you need to run serveral (different) neos instances on the same elasticsearch server you will need to change the Configuration/Settings.yaml indexName for each of your project.

0 commit comments

Comments
 (0)