Forums / Extensions / eZ Find and spellcheck

eZ Find and spellcheck

Author Message

Philippe VINCENT-ROYOL

Tuesday 21 June 2011 3:58:07 am

Hi guys,

  I'm using eZ 4.1 and eZ Find 2.3. I would like to control spellcheking result : have a suggestion which have results. 

For example: we search "percussions". By default, eZ find suggest me "percussion" which have no result. If i search "percussion", eZ Find suggest me "repercussion" which have results. Better way would be, when you search "percussions" suggest me "repercussion" because we have results !

Is it possible to solr to control result suggestion before showing it on website ?

Cheers

Philippe

Certified Developer (4.1): http://auth.ez.no/certification/verify/272607
Certified Developer (4.4): http://auth.ez.no/certification/verify/377321

G+ : http://plus.tl/dspe
Twitter : http://twitter.com/dspe

Paul Borgermans

Tuesday 21 June 2011 6:05:27 am

The version of Solr in eZ Find 2.3 does not allow for sophisticated tuning (newer releases do, as well as some Solr non-default contributions).

You could tweak solrconf.xml with the following parameters for the spell check component, but I doubt it will matter much (try out different values):

<str name="accuracy">0.8</str>


<float name="thresholdTokenFrequency">.005</float>

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Philippe VINCENT-ROYOL

Tuesday 21 June 2011 7:45:39 am

Thanks Paul,

I can't upgrade solr and ezfind due to a limitation we have.

So i ll try your tips, else i ll propose a spellcheck dictionnary they ll update.. 

Certified Developer (4.1): http://auth.ez.no/certification/verify/272607
Certified Developer (4.4): http://auth.ez.no/certification/verify/377321

G+ : http://plus.tl/dspe
Twitter : http://twitter.com/dspe