Hi all,

I am wondering about the encoding of ES. What kind of the encoding is of 
the ES storage? And what's the encoding during the operations?

Through the REST API, any json document can be sent to insert into ES. So 
if I sent an document as follows

curl -XPOST 'http://192.168.50.7:9200/data/main/' -d '{"name":"蒼天", 
 "type":"file", "extension":"tmp", "mime_type": "application/text"}'

As we can see the "name" field is not ascii and assume my native encoding 
is UTF8. What happened during the insertion?
Does it store the original string which is utf8 inside into ES? If the 
native encoding is not common, ex. Latin, what would happen?

Ideas?

Regards

Ivan

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/07c0ba7b-a5c5-494b-9894-28803c519d34%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to