New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emoji support #571
Comments
@mausch Do you have any guidance on this? |
I just added a test that passed. |
Yes, the test passes, but it does not index properly on the solr side, this is what I want to talk about. Did you test like this? I tested it and the result is as follows. Since we collect content from social media, emojis cause problems for us, so I wanted to open this topic.
|
@mausch |
HakanKaraoglu just to make sure: |
The code I wrote for the test is as above. If you see a mistake, I can correct it and try again. |
My point is: In a setup with a client-library(SolrNet) and a server(solr) it can seem unfair to blame the client without verifying that the server is doing what it's supposed to do so have you tried to inject a sample doc with emojis into solr either via solr UI or the cli tool $solrhome/bin/post ? I haven't tried it but i would also suppose that since your emoji list includes some of the newer emojis, your solr installation would need to be based on at least java11 where unicode 10 was added |
yes, emojis appear when I update to the same document from the Solr UI. Even emojis appear when I throw them with http client. |
@mausch HakanKaraoglu might have a point |
Yep, I have also confirmed the issue a couple of days ago... very strange! |
@mausch any update ? |
Any updates on this issue? |
Currently accepting PRs with a test+fix for this. |
I updated the SolrNet.Core library. 1.0.19->1.1.1, but the problem still persists. |
I am trying to index the following twitter data in two different ways. The first option is a simple index option with the SolrNet library. When I do this the emojis don't show up properly in solr.
Tweet: "aşı oluyorum 😀😁😍😆😟😱😼😻🙌😀🤲😹🧠🤤 test yenisi"
however, I noticed that when I send the json with an httpclient, which is the other option, it looks fine in solr.
How can I fix this problem? So somehow the solrnet library can corrupt these emojis?
Solr version: 7.1.0
SolrNet version: 1.0.19
The text was updated successfully, but these errors were encountered: