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

JSON Formating

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0
    • None
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: