A XenForo addon that extends ElasticSearch Essentials to correctly tokenize dot-separated usernames (e.g. Molitor.K) in search.
Without this addon, usernames like Molitor.K are indexed as a single token molitor.k. Searching for molitor returns no results.
Injects a pattern_replace char filter into the ElasticSearch analyzer that splits dots between alphanumeric characters into spaces before tokenization. Molitor.K becomes Molitor K, producing tokens molitor and k — so searching for molitor, k, or molitor.k all match.
- XenForo Enhanced Search (XFES) 2.1.0+
- ElasticSearch Essentials 1.0.0+
- Upload the
Cav7/DotTokenFixdirectory to your XenForosrc/addons/folder. - Install the addon via the XenForo Admin CP.
- Rebuild the search index.
MIT