On 7/18/2019 3:01 AM, Doris Peter wrote:
So, the mappingCharFilter seems to be executed at first, no matter which 
position it has in the configuration?

CharFilters are always executed first. Then one Tokenizer, then Filters. This will always be the case, even if you order the config so that the Tokenizer and one or more Filters are listed before CharFilter entries. It's one of the quirks of analysis definitions.

The fix for this would be to see if there is a regular Filter that does what the CharFilter you're using does and use that filter instead.

If it were me, I would likely use ICUFoldingFilterFactory rather than MappingCharFilterFactory. The ICU analysis components do require installing contrib jars into Solr.

https://lucene.apache.org/solr/guide/8_1/filter-descriptions.html#icu-folding-filter

Thanks,
Shawn

Reply via email to