Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4666

JSON Formating

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Linux server with Tomcat as application server

      Description

      Dear,

      We discover that some fields (not multivalued) was formated as multivalued for JSON output when on our schema we add :

      <dynamicField name="*" type="ignored" multiValued="true" />

      in other terms, an internal field like score will be displayed as :

      "score":[2.9204934],

      and not :

      "score":4.5376997,

      there is no problem with xml output.

        Attachments

        1. schema.xml
          55 kB
          nihed mbarek

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nihed nihed mbarek
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: