You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/17 10:02:51 UTC

[jira] [Resolved] (SOLR-2902) List of collations are wrong parsed in SpellCheckResponse

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

Simon Willnauer resolved SOLR-2902.
-----------------------------------

    Resolution: Fixed

committed to trunk and 3.x. I also added a changes.txt entry. thank you Bastiaan & James
                
> 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
>            Assignee: Simon Willnauer
>             Fix For: 3.5, 4.0
>
>         Attachments: SOLR-2902.patch, SpellCheckResponse.java.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org