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 elisabeth benoit <el...@gmail.com> on 2014/05/14 14:00:37 UTC

permissive mm value and efficient spellchecking

Hello,

I'm using solr 4.2.1.

I use a very permissive value for mm, to be able to find results even if
request contains non relevant words.

At the same time, I'd like to be able to do some efficient spellcheking
with solrdirectspellchecker.

So for instance, if user searches for "rue de Chraonne Paris", where
Chraonne is mispelled, because of my permissive mm value I get more than
100 000 results containing words "rue" and "Paris" ("de" is a stopword),
which are very frequent terms in my index, but no spellcheck correction for
Chraonne. If I set mm=3, then I get the expected spellcheck correction
value: "rue de Charonne Paris".

Is there a way to achieve my two goals in a single solr request?

Thanks,
Elisabeth

Re: permissive mm value and efficient spellchecking

Posted by elisabeth benoit <el...@gmail.com>.
ok, thanks a lot, I'll check that out.


2014-05-14 14:20 GMT+02:00 Markus Jelsma <ma...@openindex.io>:

> Elisabeth, i think you are looking for SOLR-3211 that introduced
> spellcheck.collateParam.* to override e.g. dismax settings.
>
> Markus
>
> -----Original message-----
> From:elisabeth benoit <el...@gmail.com>
> Sent:Wed 14-05-2014 14:01
> Subject:permissive mm value and efficient spellchecking
> To:solr-user@lucene.apache.org;
> Hello,
>
> I'm using solr 4.2.1.
>
> I use a very permissive value for mm, to be able to find results even if
> request contains non relevant words.
>
> At the same time, I'd like to be able to do some efficient spellcheking
> with solrdirectspellchecker.
>
> So for instance, if user searches for "rue de Chraonne Paris", where
> Chraonne is mispelled, because of my permissive mm value I get more than
> 100 000 results containing words "rue" and "Paris" ("de" is a stopword),
> which are very frequent terms in my index, but no spellcheck correction for
> Chraonne. If I set mm=3, then I get the expected spellcheck correction
> value: "rue de Charonne Paris".
>
> Is there a way to achieve my two goals in a single solr request?
>
> Thanks,
> Elisabeth
>

RE: permissive mm value and efficient spellchecking

Posted by Markus Jelsma <ma...@openindex.io>.
Elisabeth, i think you are looking for SOLR-3211 that introduced spellcheck.collateParam.* to override e.g. dismax settings.

Markus
 
-----Original message-----
From:elisabeth benoit <el...@gmail.com>
Sent:Wed 14-05-2014 14:01
Subject:permissive mm value and efficient spellchecking
To:solr-user@lucene.apache.org; 
Hello,

I'm using solr 4.2.1.

I use a very permissive value for mm, to be able to find results even if
request contains non relevant words.

At the same time, I'd like to be able to do some efficient spellcheking
with solrdirectspellchecker.

So for instance, if user searches for "rue de Chraonne Paris", where
Chraonne is mispelled, because of my permissive mm value I get more than
100 000 results containing words "rue" and "Paris" ("de" is a stopword),
which are very frequent terms in my index, but no spellcheck correction for
Chraonne. If I set mm=3, then I get the expected spellcheck correction
value: "rue de Charonne Paris".

Is there a way to achieve my two goals in a single solr request?

Thanks,
Elisabeth