Hi Jörg, Thanks for the comments. If I understand you correctly, you're saying that if I use SMILE and/or CBOR, the communication/storage won't be compressed using LZF?
- Drew On May 29, 2014, at 2:52 PM, [email protected] wrote: > 1. No (the cluster state of ES - not part of Lucene - is saved to disk in > SMILE format) > > 2. No. > > 3. Yes, you can use SMILE on XContentBuilder classes. The result can > transported to the cluster, the decoding of SMILE is done transparently. > > Because the transport is LZF compressed by default, you should consider if > disabling it for SMILE is worth it. SMILE is a compressed JSON technique but > I don't have numbers if there is any advantage about plain JSON with LZF > compressed (I doubt that SMILE is better) > > Also note, there is CBOR in latest ES releases, which seems superior to SMILE > in many aspects (compactness, speed, standardization in RFC 7049) > > https://github.com/elasticsearch/elasticsearch/pull/5509 > > Jörg > > > > On Thu, May 29, 2014 at 7:07 AM, Drew Kutcharian <[email protected]> wrote: > Hey Guys, > > I wanted to get some clarification on how Elasticsearch handles/uses Smile > binary JSON. Mainly: > > 1. Does ES convert JSON to Smile before saving into Lucene? > > 2. Does ES use Smile as the wire protocol for the Java Client? > > 3. If I wanted to have everything in Smile format (What's stored in Lucene, > fieldata, and the communication between server and client) how should I do > it? Should I just set the "source" to Smile byte array using the Java Client? > > Note that I use the Java Client and don't really use the REST API, except for > debugging. > > Best, > > Drew > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/4D73E3EC-83A6-459F-AB2B-F6540D5BE3BD%40venarc.com. > For more options, visit https://groups.google.com/d/optout. > > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGUzf_bz_LgHZzhrMDMf1AZ5t7eZ_HKAYrSMpm3%3D4hZMg%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6C7EC494-EE35-4158-9127-FE590D64C6D7%40venarc.com. For more options, visit https://groups.google.com/d/optout.
