lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ale42 <alexandre.faye...@etu.esisar.grenoble-inp.fr>
Subject RE: Check the return of suggestions
Date Mon, 09 Mar 2015 14:29:21 GMT
Thanks for your answer Charlie,


Reitzel, Charles wrote
> 
/
> It looks like your search term and index are both subject to a stem
> filter.  Is that right?
/
> 
> Yes, that is right and that is what I want !
/
> To avoid the default query parser for spellcheck purposes, you might try
> spellcheck.q=cartouche.   But that may not be sufficient if the spellcheck
> field is also "aggressively" stemmed.   I.e. try
> solr.EnglishMinimalStemFilterFactory vs. solr.PorterStemFilterFactory.
> Worst case, you may need to copy values to a separate spellcheck field
> with less aggressive stemming.
/
> 
> 
> My spellcheck field is not agressive. It doesn't use stem, just 
*
> WhitespaceTokenizer
*
> , 
*
> StopFilter
*
> , 
*
> WordDelimiterFilter
*
> , 
*
> LowerCaseFilter 
*
> and 
*
> ASCIIFoldingFilter
*
> .
> I am using my website in France, so I don't think I can use 
*
> solr.EnglishMinimalStemFilterFactory
*
> .
/
> It seems unlikely, to me, that "touches" and "cartouche" would have the
> same stem.   But "touches" may or may not be an ok spellcheck correction
> for your app.    You can tweak the accuracy parameter.  Also, if using
> DirectSolrSpellChecker, check maxEdits.
/
> 
> Yes, I success to get around the problem by using threshold and acuracy
> but it is not a perfect way for me, because it can miss few usefull
> suggestions if these one are not well represented in the corpus...

Thanks for your help.



--
View this message in context: http://lucene.472066.n3.nabble.com/Check-the-return-of-suggestions-tp4191383p4191856.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message