You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/02/26 22:26:21 UTC

[jira] [Commented] (SOLR-5777) JsonLoader: field values get out of order when fieldname key is repeated

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

ASF subversion and git services commented on SOLR-5777:
-------------------------------------------------------

Commit 1572262 from hossman@apache.org in branch 'dev/trunk'
[ https://svn.apache.org/r1572262 ]

SOLR-5777: Fix ordering of field values in JSON updates where field name key is repeated

> JsonLoader: field values get out of order when fieldname key is repeated
> ------------------------------------------------------------------------
>
>                 Key: SOLR-5777
>                 URL: https://issues.apache.org/jira/browse/SOLR-5777
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>         Attachments: SOLR-5777.patch, SOLR-5777.patch
>
>
> while working on a test for SOLR-5183 i discovered a bug in the way field values are ordered when the fieldname key is repeated.
> ie, these two docs should wind up having identical values for the field "f", but currently the order of the values gets swapped in doc #2...
> {noformat}
> {"add":[
>    {"id":"1", 
>     "f":[45,67]
>    },
>    {"id":"2", 
>     "f":45,
>     "f":67
>    }
> ]}
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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