I am trying to look for a smiley / emoji containing text in elasticsearch. I used to embed tweets in ES. Now I want to find an example of smiles or sad faces associated with tweets. I tried the following
1) used the equivalent of unicode smile values, but did not work. Results were not returned.
GET /myindex/twitter_stream/_search { "query": { "match": { "text": "\u1f603" } } }
How to set up emoji search in elasticsearch? Do I need to encode raw tweets before swallowing in elasticsearch? What will be the request? Any experienced approaches? Thank you
source share