• Resolved oralunal

    (@oralunal)


    First, please check the link. In that search there are 3 products found but there should be more. Why it doesn’t show me these products:

    • MAX4558CSE+T
    • MAX4558CEE+
    • MC4558CDT

    My settings:

    • default operator: AND
    • fall back to OR
    • Order relevance
    • Keyword matching: Partial

    When I search with term “4558”, relevanssi brings all of my products but when i search with “4558C” relevanssi doesn’t show some couple of products which are listed above.

    • This topic was modified 5 years, 3 months ago by oralunal. Reason: writing mistake
    • This topic was modified 5 years, 3 months ago by oralunal.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Partial matching doesn’t match inside words. It only matches beginnings and ends. MAX4558CSE+T is found with “4558”, because that matches the end of the the base part number “MAX4558” and Relevanssi finds that, but “4558C” only appears in the middle of the name, and thus cannot be found.

    If you want inside-the-word matching, you need to add this to your theme functions.php:

    add_filter( 'relevanssi_fuzzy_query', function() { return "(term LIKE '%#term#%')"; } );

    • This reply was modified 5 years, 3 months ago by Mikko Saari.
    Thread Starter oralunal

    (@oralunal)

    Thank you Mikko, if my sales raises I’ll buy relavanssi to support you. You saved me!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Relavanssi Doesn’t Show All Results’ is closed to new replies.