[ 
https://issues.apache.org/jira/browse/SOLR-4891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13676029#comment-13676029
 ] 

Steve Rowe edited comment on SOLR-4891 at 6/5/13 3:30 PM:
----------------------------------------------------------

Committed:

- trunk: [r1489914|http://svn.apache.org/viewvc?view=rev&rev=1489914]
- branch_4x: [r1489915|http://svn.apache.org/viewvc?view=rev&rev=1489915]
                
      was (Author: steve_rowe):
    Committed:

- trunk: [r1489914|http://svn.apache.org/viewvc?view=rev?rev=1489914]
- branch_4x: [r1489915|http://svn.apache.org/viewvc?view=rev?rev=1489915]
                  
> JsonLoader should preserve field value types from the JSON content stream
> -------------------------------------------------------------------------
>
>                 Key: SOLR-4891
>                 URL: https://issues.apache.org/jira/browse/SOLR-4891
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>            Reporter: Steve Rowe
>            Assignee: Steve Rowe
>            Priority: Minor
>             Fix For: 4.4
>
>         Attachments: SOLR-4891-BigInteger-bugfix.patch, SOLR-4891.patch
>
>
> JSON content streams carry some basic type information for their field 
> values, as parsed by Noggit: LONG, NUMBER, BIGNUMBER, and BOOLEAN.  
> {{JsonLoader}} should set field value object types in the 
> {{SolrInputDocument}} according to the content stream's data types. 
> Currently {{JsonLoader}} converts all non-{{String}}-typed field values to 
> {{String}}-s.
> There is a comment in {{JsonLoader.parseSingleFieldValue()}}, where the 
> convert-everything-to-string logic happens, that says "for legacy reasons, 
> single values s are expected to be strings", but other content streams' type 
> information is not flattened like this, e.g. {{JavabinLoader}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to