I've noticed a few things with the new spellcheck component that seem a little strange.

Here's my document:

<doc>
  <field name="id">5</field>
<field name="spell">wii blackberry blackjack creative labs zen ipod video nano</field>
</doc>

Some sample queries:

http://localhost:8983/solr/core1/spellCheckCompRH?q=blackberri+wi&spellcheck=true&spellcheck.collate=true

http://localhost:8983/solr/core1/spellCheckCompRH?q=blackberr+wi&spellcheck=true&spellcheck.collate=true

http://localhost:8983/solr/core1/spellCheckCompRH?q=blackber+wi&spellcheck=true&spellcheck.collate=true

When spellchecking 'blackberri wi', the collation returned is 'blackberry wii'. When spellchecking 'blackberr wi', the collation returned is 'blackberrywii'. 'blackber wi' returns 'blackberrwiiwi'.

Doug

Reply via email to