lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3029) Poor json formatting of spelling collation info
Date Tue, 27 Mar 2012 23:28:31 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13240055#comment-13240055
] 

Yonik Seeley commented on SOLR-3029:
------------------------------------

Any objections to changing this for both 3.6 and 4.0?
It's technically a back compat break, but it was messed up to begin with (and the change should
not affect clients using javabin or xml).
                
> 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
>            Reporter: Antony Stubbs
>         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: 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message