jetpack icon indicating copy to clipboard operation
jetpack copied to clipboard

Search: Emoji searches do not return results

Open jeherve opened this issue 8 years ago • 8 comments

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.

jeherve avatar Feb 05 '18 20:02 jeherve

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.

gibrown avatar Feb 05 '18 20:02 gibrown

https://github.com/jolicode/emoji-search would probably be the best solution.

gibrown avatar Mar 29 '18 14:03 gibrown

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.

stale[bot] avatar Sep 25 '18 15:09 stale[bot]

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

jenkoian avatar Nov 22 '18 10:11 jenkoian

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.

stale[bot] avatar May 21 '19 10:05 stale[bot]

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

muffinpeace avatar May 25 '21 19:05 muffinpeace

I am happy to report that emoji search now works! Here's an example from whatemoji.org Bildschirmfoto 2022-03-25 um 15 34 36

I think we can probably finally close this ticket.

robfelty avatar Mar 25 '22 19:03 robfelty

Woohoo! Closing.

gibrown avatar Mar 30 '22 16:03 gibrown