lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Runo (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-732) Collation bug
Date Wed, 27 Aug 2008 16:53:44 GMT

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

Matthew Runo commented on SOLR-732:
-----------------------------------

Here are the parameters I  was using...

query.set("spellcheck", true);
query.set("spellcheck.count", 3);
query.set("spellcheck.onlyMorePopular", true);
query.set("spellcheck.collate", true);
query.set("spellcheck.q", queryInput);

Where queryInput is simply what the user typed in with some escaping..

> Collation bug
> -------------
>
>                 Key: SOLR-732
>                 URL: https://issues.apache.org/jira/browse/SOLR-732
>             Project: Solr
>          Issue Type: Bug
>          Components: spellchecker
>    Affects Versions: 1.3
>            Reporter: Matthew Runo
>            Priority: Minor
>
> Search term: Quicksilver... I get two suggestions...
> <lst name="suggestion">
> <int name="frequency">2</int>
> <str name="word">Quicksilver</str>
> </lst>
> <lst name="suggestion">
> <int name="frequency">220</int>
> <str name="word">Quiksilver</str>
> </lst>
> ...and it's not correctly spelled...
> <bool name="correctlySpelled">false</bool>
> ...but the collation is of the first term - not the one with the highest frequency?
> <str name="collation">Quicksilver</str>
> Other collations, for example, 'runnning' come up with more than one suggestion (cunning,
running) but properly pick the 'best bet' based on frequency. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message