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

[jira] [Resolved] (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:all-tabpanel ]

Hoss Man resolved SOLR-5777.
----------------------------

       Resolution: Fixed
    Fix Version/s: 5.0
                   4.8

> 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
>             Fix For: 4.8, 5.0
>
>         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