lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Dyer (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2902) List of collations are wrong parsed in SpellCheckResponse
Date Wed, 16 Nov 2011 15:16:51 GMT

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

James Dyer commented on SOLR-2902:
----------------------------------

This same bug was previously mentioned on the User List.  

See thread:  http://lucene.472066.n3.nabble.com/SpellCheck-Print-Multiple-Collations-td3358391.html

Thank you Bastiaan for opening this issue and providing a patch.  Your fix is indeed correct.
 In case you haven't noticed, you can work around this issue for now by specifying spellcheck.collateExtendedResults=true,
as the separate branch in SpellCheckResponse for extended results does not have the bug. 
While I hope a committer will take this one up sometime soon for both 4.x and 3.x, I wouldn't
classify this as "Major" in priority as there is a good workaround.
                
> 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
>
>   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


Mime
View raw message