You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Bill Bell (JIRA)" <ji...@apache.org> on 2015/07/24 06:30:04 UTC

[jira] [Created] (SOLR-7827) BSON Response Writer

Bill Bell created SOLR-7827:
-------------------------------

             Summary: BSON Response Writer 
                 Key: SOLR-7827
                 URL: https://issues.apache.org/jira/browse/SOLR-7827
             Project: Solr
          Issue Type: New Feature
            Reporter: Bill Bell


Why not support BSON (we recently added SMILE).

BSON and Smile are two distinct binary formats.  They are related in that they are both based on the logical format of JSON (i.e., key-value objects) but they are distinct in that they write incompatible binary formats (you can neither directly read Smile as BSON nor vice-versa.)  They also have different incompatible features (e.g., BSON defines a date type, while Smile does not as far as I can tell.)

BSON is the binary serialization used by MongoDB for network transfer and disk serialization.  Smile is the binary JSON format used by the Jackson project.  I don't know why these two projects created different binary formats with such similar purposes.  One reason might be that the MongoDB project required dates for their particular application, whereas the JSON format lacks a date type, and adherance to the JSON format may have been the reason that the Smile format does not include a date type.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org