Copied to clipboard

Flag this post as spam?

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


  • Fai 3 posts 23 karma points
    Sep 30, 2013 @ 12:53
    Fai
    0

    Search fails in RTE

    Hi

    I have a problem with Examine and the RTE.

    If I type a short word in RTE and press shift+enter, the word is not found in the frontend:


    But if I type press spacebar before hitting Shift+Enter, the word is found. 

     

    Is this a problem with this implementation, a problem with Examine, or something else?

    Thanks in advance.

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Sep 30, 2013 @ 13:02
    Ismail Mayat
    0

    Fai,

    I don't think its examine as such but in the mvc starterkit if you look at the search razor file in views line 36 you have

            var query = searchCriteria.GroupedOr(
            new string[] { "nodeName", "bodyText", "panelContent1", "panelContent2", "panelContent3", "articleSummary"},searchTerm.Fuzzy(0.7f))
            .Compile();
    

    I suspect its the fuzzy that is causing the issue try taking the .Fuzzy bit out see what happens.

    Regards

    Ismail

  • Fai 3 posts 23 karma points
    Sep 30, 2013 @ 13:27
    Fai
    0

    Hi, Ismail

    Thank you for your answer.

    I try following your suggestion by decreasing fuzzy value to be 0.3f, and the word can be found.

    But in this case I search by the exact keyword and different only space and breakline, why the word is not found.

    I set the fuzzy value as 0.5f.

     

    Best Regards,

    Fai

     

     

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Sep 30, 2013 @ 13:48
    Ismail Mayat
    0

    Fai,

    No idea but replace the fuzzy with wildcard e.g

    searchTerm.MultipleCharacterWildcard()
    

    Regards

    Ismail

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies