lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen Steggink (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-7340) Collations output changed for suggestions, SolrJ can't read collations anymore
Date Thu, 02 Apr 2015 14:04:52 GMT

     [ https://issues.apache.org/jira/browse/SOLR-7340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jeroen Steggink resolved SOLR-7340.
-----------------------------------
    Resolution: Won't Fix

Never mind, SolrJ was version 4.10, which explains it can't read from Solr 5. I guess this
isn't backwards compatible.

> Collations output changed for suggestions, SolrJ can't read collations anymore
> ------------------------------------------------------------------------------
>
>                 Key: SOLR-7340
>                 URL: https://issues.apache.org/jira/browse/SOLR-7340
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrJ
>    Affects Versions: 5.0
>            Reporter: Jeroen Steggink
>
> The output for the collations changed in the suggester. SolrJ can no longer read the
collations part and always returns null.
> Version 4.10:
> {code:JavaScript}
> {
>   "responseHeader":{
>     "status":0,
>     "QTime":3},
>   "spellcheck":{
>     "suggestions":[
>       "innovatie",{
>         "numFound":9,
>         "startOffset":0,
>         "endOffset":9,
>         "suggestion":["innovatieagenda",
>           "innovatieagenda’s",
>           "innovatieattaché",
>           "innovatiebehoefte",
>           "innovatiebeleid",
>           "innovatiebox",
>           "innovatiecatalogus",
>           "innovatief",
>           "innovatiefinanciering"]},
>       "correctlySpelled",false,
>       "collation","innovatieagenda",
>       "collation","innovatieagenda’s",
>       "collation","innovatieattaché",
>       "collation","innovatiebehoefte",
>       "collation","innovatiebeleid",
>       "collation","innovatiebox",
>       "collation","innovatiecatalogus",
>       "collation","innovatief",
>       "collation","innovatiefinanciering"]},
>   "response":{"numFound":1070,"start":0,"docs":[]
>   }}
> {code}
> vs version 5.0.0
> {code:JavaScript}
> {
>   "responseHeader":{
>     "status":0,
>     "QTime":3},
>   "spellcheck":{
>     "suggestions":[
>       "innovatie",{
>         "numFound":9,
>         "startOffset":0,
>         "endOffset":9,
>         "suggestion":["innovatieagenda",
>           "innovatieagenda’s",
>           "innovatieattaché",
>           "innovatiebehoefte",
>           "innovatiebeleid",
>           "innovatiebox",
>           "innovatiecatalogus",
>           "innovatief",
>           "innovatiefinanciering"]}],
>     "correctlySpelled":false,
>     "collations":[
>       "collation","innovatieagenda",
>       "collation","innovatieagenda’s",
>       "collation","innovatieattaché",
>       "collation","innovatiebehoefte",
>       "collation","innovatiebeleid",
>       "collation","innovatiebox",
>       "collation","innovatiecatalogus",
>       "collation","innovatief",
>       "collation","innovatiefinanciering"]},
>   "response":{"numFound":1070,"start":0,"docs":[]
>   }}
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message