[
https://issues.apache.org/jira/browse/SOLR-3029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13583242#comment-13583242
]
Dominique Béjean commented on SOLR-3029:
----------------------------------------
What about this issue ? It looks like nothing append during the last year.
Here is a sample of an invalid json response for the collation with Solr 4.1
{code}
"spellcheck":{
"suggestions":{
...
"correctlySpelled":false,
"collation":"lang louis",
"collation":"long loic",
"collation":"land loic"}},
...
{code}
Collation should be an array
{code}
...
"collation": [
"land loic",
"long loic",
"land loic"
]
...
{code}
+1 !
> Poor json formatting of spelling collation info
> -----------------------------------------------
>
> Key: SOLR-3029
> URL: https://issues.apache.org/jira/browse/SOLR-3029
> Project: Solr
> Issue Type: Bug
> Components: spellchecker
> Affects Versions: 4.0-ALPHA
> Reporter: Antony Stubbs
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3029.patch
>
>
> {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
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]