lucene-dev mailing list archives

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


James Dyer commented on SOLR-2902:

This same bug was previously mentioned on the User List.  

See thread:

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:
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 3.4
>         Environment: windows xp.
>            Reporter: Bastiaan Verhoef
>         Attachments:
>   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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message