Highlight hits within attachment content with ElasticSearch
Turns out that you can't overwrite mapper configurations using PUT
. You need to delete the existing configuration first (I actually had delete the entire database, DELETE
on the configuration didn't seem to have any effect). Once the mapper configuration was actually updated, highlighting works fine.