开发者

Unicode error with Solr

开发者 https://www.devze.com 2023-01-14 19:10 出处:网络
I have an index that takes textual description and places it in the index. I build XML object to pass them on to Solr where indexing is done. Now when I search in chinese text, I get back question mar

I have an index that takes textual description and places it in the index. I build XML object to pass them on to Solr where indexing is done. Now when I search in chinese text, I get back question marks for the indexed text whose XML was fine.

Any idea where the p开发者_如何学Pythonroblem could be?


Check the actual text going over the wire to SOLR using a tool like Fiddler. I would bet that you are not sending what you think you are sending.


Using C#'s weblclient, had to enable unicode encoding prior to sending it to Solr.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号