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

Bastiaan Verhoef updated SOLR-2902:
-----------------------------------

    Attachment: SpellCheckResponse.java.patch

setCollationQueryString((String) *sugg.getVal(i)*));

should become                   setCollationQueryString((String) *o*));
                
> List of collations are wrong parsed in SpellCheckResponse
> ---------------------------------------------------------
>
>                 Key: SOLR-2902
>                 URL: https://issues.apache.org/jira/browse/SOLR-2902
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 3.4
>         Environment: windows xp.
>            Reporter: Bastiaan Verhoef
>         Attachments: SpellCheckResponse.java.patch
>
>
> When I do a search query which {{spellcheck=on}} I get more then one 
> collation in the solr response:
>                       {{<str name="collation">kaart</str>}}
>                       {{<str name="collation">maart</str>}}
>                       {{<str name="collation">vaart</str>}}
>                       {{<str name="collation">staart</str>}}
>                       {{<str name="collation">baart</str>}}
>                       {{<str name="collation">komkaart</str>}}
>                       {{<str name="collation">dagvaart</str>}}
> The SpellCheckResponse gives me only the collation 'dagvaart':
> {{getCollatedResults()}} gives a list of 7 items that contains only Collation 
> objects with 'dagvaart'.
> {{getCollatedResult()}} gives a string with the value 'dagvaart'.

--
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