Search: Emoji searches do not return results
Steps to reproduce:
1.First ensure the “Jetpack (Search)” widget settings have Posts, Pages, and Media checked for “Post types to search.” 2. Create and publish a post with 🌯 in the title. 3. Go to the home page and search for “🌯” using the “Jetpack (Search)” widget.
Just noting that this requires better Elasticsearch analyzers that can handle properly tokenizing handle emoji. Right now they all strip the emoji.
It looks like ES 6.0 has finally upgraded the ICU analyzer: https://github.com/elastic/elasticsearch/issues/21425
I think ICU (which we use) probably has better emoji support, but haven't tested it. Also, we would need to upgrade to ES 6.0.
https://github.com/jolicode/emoji-search would probably be the best solution.
This issue has been marked as stale. This happened because:
- It has been inactive in the past 6 months.
- It hasn’t been labeled `[Pri] Blocker`, `[Pri] High`.
No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.
Just an update if you still wanted to implement this, it looks like ES/Lucene now supports this, see https://jolicode.com/blog/elasticsearch-icu-now-understands-emoji
This issue has been marked as stale. This happened because:
- It has been inactive in the past 6 months.
- It hasn’t been labeled `[Pri] Blocker`, `[Pri] High`.
No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.
Reviving this as it looks like we have a user who needs this feature with Jetpack Search, as WordPress was initially handling it before.
4017603-zen
I am happy to report that emoji search now works! Here's an example from whatemoji.org

I think we can probably finally close this ticket.
Woohoo! Closing.