Hmm, sounds like a bug. A test case would be great, but at a minimum
file a JIRA.
Do those other terms that collate properly have multiple suggestions?
On Aug 25, 2008, at 6:24 PM, Matthew Runo wrote:
Hello folks!
I seem to be seeing a bug in the SpellCheckComponent..
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>
This seems to be anti-what-the-docs-say collation should do. Other,
more popular terms (shoez, runnning, etc) all seem to collate
properly. I'm hitting Solr via SolrJ and not really doing anything
too fancy - using SVN head at the moment. Just wondered if anyone
had any ideas. There are no synonyms in this system, so I don't
think that could be it. I've rebuilt the search index.
Thanks for your time!
Matthew Runo
Software Engineer, Zappos.com
[EMAIL PROTECTED] - 702-943-7833