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] [Created] (SOLR-7340) Collationions output changed for suggestions, SolrJ can't read collations anymore
Date Thu, 02 Apr 2015 13:51:52 GMT
Jeroen Steggink created SOLR-7340:
-------------------------------------

             Summary: Collationions 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