开发者

Unicode error with Solr

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜