Tag Archives: elasticsearch-rails

Elasticsearch – Creating an english analyzer with asciifolding

When using the english analyzer with my Elasticsearch index I also wanted to use the asciifolding filter to remove accents. I couldn’t find a simple way to do this so I ended up just replicating the existing english analyzer, and then adding asciifolding to the list of filters. See below: