File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
app/code/Magento/Elasticsearch/Model/Adapter
FieldMapper/Product/FieldProvider Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,8 @@ public function getField(AbstractAttribute $attribute): array
164
164
),
165
165
'index ' => $ this ->indexTypeConverter ->convert (
166
166
IndexTypeConverterInterface::INTERNAL_NO_ANALYZE_VALUE
167
- )
167
+ ),
168
+ 'normalizer ' => 'folding ' ,
168
169
];
169
170
}
170
171
@@ -202,7 +203,8 @@ public function getField(AbstractAttribute $attribute): array
202
203
),
203
204
'index ' => $ this ->indexTypeConverter ->convert (
204
205
IndexTypeConverterInterface::INTERNAL_NO_ANALYZE_VALUE
205
- )
206
+ ),
207
+ 'normalizer ' => 'folding ' ,
206
208
];
207
209
}
208
210
}
Original file line number Diff line number Diff line change @@ -105,6 +105,12 @@ public function build()
105
105
'tokenizer ' => $ tokenizer ,
106
106
'filter ' => array_merge ($ filter , $ synonymFilter ),
107
107
'char_filter ' => $ charFilter ,
108
+ 'normalizer ' => [
109
+ 'folding ' => [
110
+ 'type ' => 'custom ' ,
111
+ 'filter ' => ['asciifolding ' , 'lowercase ' ],
112
+ ],
113
+ ],
108
114
],
109
115
];
110
116
You can’t perform that action at this time.
0 commit comments