You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "nihed mbarek (JIRA)" <ji...@apache.org> on 2013/04/04 10:27:16 UTC

[jira] [Commented] (SOLR-4666) JSON Formating

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

nihed mbarek commented on SOLR-4666:
------------------------------------

[~hossman] for me the problem is not limited to the field score but many with different standard type (string, int, float, ...) 
I'm trying to reproduce the problem with a new schema for a sample set of data. 

Sorry, I can't communicate my actual schema/result for confidentiality issues 
                
> JSON Formating
> --------------
>
>                 Key: SOLR-4666
>                 URL: https://issues.apache.org/jira/browse/SOLR-4666
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>         Environment: Linux server with Tomcat as application server 
>            Reporter: nihed mbarek
>
> Dear, 
> We discover that some fields (not multivalued) was formated as multivalued for JSON output when on our schema we add : 
> bq.   ??<dynamicField name="*" type="ignored" multiValued="true" />??
> in other terms, an internal field like score will be displayed as : 
> bq. ??"score":[2.9204934],??
> and not :
> bq. ??"score":4.5376997,??
> there is no problem with xml output.

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org