Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.0.0
-
None
-
Magnolia 6.2.15, Java 11
Description
Steps to reproduce
- define an analyser with a filter
- create the inde
- check the created index settings on ES

Expected results
The analyser filter should be included in the analyser index settings od the ES server
Actual results
The analyser filter is missing on the ES server
filter has not been transmitted to ES server:
curl -iX PUT 'http://localhost:9200/persons?include_type_name=true' -d '{"mappings":{"persons":{"properties":{.....}}}},
"settings":{
"index":{
"analysis":{
"analyzer":{"name-suggestion-analyzer":{"type":"custom","tokenizer":"name-suggestion-tokenizer",
!!!!! --->>> "filter":[],"char_filter":[]
},
"standard-lowercase-analyzer":{"type":"custom","tokenizer":"lowercase","filter":[],"char_filter":[]}},"tokenizer":{"name-suggestion-tokenizer":{"type":"edge_ngram","min_gram":2,"max_gram":12,"token_chars":[]}}},"number_of_shards":1,"number_of_replicas":1}}}'
Workaround
Development notes
Implementation of AnalyzerItemDefinitionConfiguration does not match current node structure: Filters are sub-nodes of node "filter", not multi-value properties.
Checklists
Acceptance criteria