Thanks, I'll take a look.
Sent by iPhone
Il giorno 29/apr/2010, alle ore 22.21, Shay Banon <email@example.com
BSon might also be supported, but I don't really like the format as
its not aimed at streaming data (pull parsing). For example, you
need to write the size of the array before you write all its
elements. This is an aspect of JSON that I really wanted to preserve.
Also, BSON is a superset of JSON, while XSON is exactly like JSON.
On Thu, Apr 29, 2010 at 11:19 PM, Sergio Bossa
sounds very cool, but why didn't you use BSON (http://bsonspec.org),
rather than your own binary format?
On Thu, Apr 29, 2010 at 10:14 PM, Shay Banon
Basically, the idea I had is to create a wrapper on top of how
handles JSON allowing for other wire formats (with same JSON
characteristics) to be supported. The first implementation aside
is XSON, which is an optimized binary format of JSON (I will doc
A note for Java API users, some classes have been renamed. The
JsonXXX have been removed and renamed. Also, by default, the
query / filter
builders and the search source builders use the XSON format which
faster operations :). It is up to you to decide how to encode the
data, either using JSON or XSON. ElasticSearch will automatically