You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by David Philip <da...@gmail.com> on 2014/10/24 19:27:53 UTC
Spell Check for Multiple Words
Hi,
I am trying to obtain multi-word spellcheck suggestions. For eg., I have
a title field with content as "Indefinite and fictitious large numbers" and
user searched for "larg numberr", in that case, I wanted to obtain "large
number" as suggestion from spell check suggestions. Could you please tell
me what should be the configuration to get this?
The field type is text_general [that which is defined in example schema.xml]
Thanks
David.
Re: Spell Check for Multiple Words
Posted by Bob Laferriere <sp...@icloud.com>.
You need to have collations=true and have large and number in your dictionary. Then the collation should return what you desire.
-Bob
> On Oct 24, 2014, at 12:27 PM, David Philip <da...@gmail.com> wrote:
>
> Hi,
>
> I am trying to obtain multi-word spellcheck suggestions. For eg., I have
> a title field with content as "Indefinite and fictitious large numbers" and
> user searched for "larg numberr", in that case, I wanted to obtain "large
> number" as suggestion from spell check suggestions. Could you please tell
> me what should be the configuration to get this?
>
> The field type is text_general [that which is defined in example schema.xml]
>
>
> Thanks
> David.