user349026
user349026

Reputation:

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 problem could be?

Upvotes: 1

Views: 235

Answers (2)

user349026
user349026

Reputation:

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

Upvotes: 0

Aaron D
Aaron D

Reputation: 5876

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.

Upvotes: 1

Related Questions