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 20:05:19 UTC
[jira] [Updated] (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 updated SOLR-5777:
---------------------------
Attachment: SOLR-5777.patch
patch showing simple fix, and test ... running full regression now.
> 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
>
>
> 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