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

Poor json formatting of spelling collation info

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 5.0, 6.0
    • Component/s: spellchecker
    • Labels:
      None

      Description

      "spellcheck": {
          "suggestions": [
          "dalllas",
          {
      <snip>
              {
                  "word": "canallas",
                  "freq": 1
              }
              ]
          },
          "correctlySpelled",
          false,
          "collation",
          "dallas"
          ]
      }
      

      The correctlySpelled and collation key/values are stored as consecutive elements in an array - quite odd. Is there a reason isn't not a key/value map like most things?

        Attachments

        1. SOLR-3029.patch
          28 kB
          James Dyer
        2. SOLR-3029.patch
          30 kB
          Nalini Kartha
        3. SOLR-3029.patch
          0.8 kB
          Rafał Kuć

          Issue Links

            Activity

              People

              • Assignee:
                jdyer James Dyer
                Reporter:
                astubbs Antony Stubbs
              • Votes:
                3 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: