Poor json formatting of spelling collatoin info
-----------------------------------------------

                 Key: SOLR-3029
                 URL: https://issues.apache.org/jira/browse/SOLR-3029
             Project: Solr
          Issue Type: Improvement
          Components: spellchecker
    Affects Versions: 4.0
            Reporter: Antony Stubbs


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

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?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to