Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Claushingebjerg 936 posts 2571 karma points
    Nov 12, 2014 @ 10:03
    Claushingebjerg
    0

    Fuzzy doesnt seem to work...

    Thanks for a great package.

    Im having trouble getting fuzzy to work... No matter what i do, search only work on the exact word.

    I have the maco set up like this:

    @Umbraco.RenderMacro("FullTextSearch", new {
    queryType="MultiRelevance", 
    titleProperties="", 
    bodyProperties="FullTextSearch", 
    summaryProperties="", 
    titleLinkProperties="", 
    rootNodes="1051", 
    contextHighlighting="", 
    summaryLength="", 
    pageLength="", 
    fuzzyness="0.5", 
    useWildcards="0"
    })

    The site is in danish and running 7.1.6.

    Example search could be "virksomhed". I would expect pages containing both "virksomhed", "virksomheder" (plural) and "virksomheden" to be in the result when using fuzzy...

    Any help?

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Nov 12, 2014 @ 11:20
    Ismail Mayat
    0

    Claus,

    It may be worth looking into the searchresults page and see if you can write out the generated query?  Also may be the fuzziness issue is something todo with standard analyser and danish ie the fuzzy algorithm has some relation to the analyser? This is just thinking out load here so not 100% certain.

    Regards

    Ismail

  • Claushingebjerg 936 posts 2571 karma points
    Jan 19, 2015 @ 15:16
    Claushingebjerg
    100

    So after messing around with this for A LONG TIME, i found that fuzziness works!
    Only you have to set the value with a comma, not a period as stated in the documentation.

    So it should be 0,5 and not 0.5

    Please update you docs

Please Sign in or register to post replies

Write your reply to:

Draft