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 Rajdeep Sahoo <ra...@gmail.com> on 2018/09/12 19:01:16 UTC

Solr File based spellchecker is not returning expected result

Hi ,
I am using solr 4.6 version.
My document is having a "iphone 7" but when I am searching with with
"iphone7" I am getting the result because here worddelimiterfilterfactory
is taking care by slipt on numerics functionality.
  (Iphone7-->iphone 7)
But I want solr to return a spellcheck suggestion as "iphone 7" .
When I am configuring "Iphone 7" in the spellings.txt file it is not
returning expected result which i slike
iphone7--->"iphone 7" 7

Another problem is how can I use filebasedspellchecke ,   wordbreak
spellchecke and directsolrspellchecker at the same time.Here getting error
for distanceMeasure param

  please help.Thanks in advance

Re: Solr File based spellchecker is not returning expected result

Posted by Rajdeep Sahoo <ra...@gmail.com>.
Another ask is , how can  I use multiple spellchecker at the same time
based on condition
Currently we are using two spellchecker   [spellcheck.dictionary=
wordbreak  , spellcheck.dictionary=en ]
 If wordbreak dictionary is having suggesion it will make a second call for
fethching the result and in the same call we are using direct solr
spellchecker
  If we are not getitng some result in the second call we are using
directsolr spellchecker.

How can I write a function query for getting suggestion against multiple
spellchecker?




On Thu, Sep 13, 2018 at 12:31 AM Rajdeep Sahoo <ra...@gmail.com>
wrote:

> Hi ,
> I am using solr 4.6 version.
> My document is having a "iphone 7" but when I am searching with with
> "iphone7" I am getting the result because here worddelimiterfilterfactory
> is taking care by slipt on numerics functionality.
>   (Iphone7-->iphone 7)
> But I want solr to return a spellcheck suggestion as "iphone 7" .
> When I am configuring "Iphone 7" in the spellings.txt file it is not
> returning expected result which i slike
> iphone7--->"iphone 7" 7
>
> Another problem is how can I use filebasedspellchecke ,   wordbreak
> spellchecke and directsolrspellchecker at the same time.Here getting error
> for distanceMeasure param
>
>   please help.Thanks in advance
>

Re: Solr File based spellchecker is not returning expected result

Posted by Rajdeep Sahoo <ra...@gmail.com>.
can anyone please help me regarding spell checking issue what I have
mentioned?

On Thu, Sep 13, 2018 at 12:31 AM Rajdeep Sahoo <ra...@gmail.com>
wrote:

> Hi ,
> I am using solr 4.6 version.
> My document is having a "iphone 7" but when I am searching with with
> "iphone7" I am getting the result because here worddelimiterfilterfactory
> is taking care by slipt on numerics functionality.
>   (Iphone7-->iphone 7)
> But I want solr to return a spellcheck suggestion as "iphone 7" .
> When I am configuring "Iphone 7" in the spellings.txt file it is not
> returning expected result which i slike
> iphone7--->"iphone 7" 7
>
> Another problem is how can I use filebasedspellchecke ,   wordbreak
> spellchecke and directsolrspellchecker at the same time.Here getting error
> for distanceMeasure param
>
>   please help.Thanks in advance
>