Re: permissive mm value and efficient spellchecking
ok, thanks a lot, I'll check that out. 2014-05-14 14:20 GMT+02:00 Markus Jelsma markus.jel...@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 elisaelisael...@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
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 elisaelisael...@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
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