• Resolved syrupcore

    (@syrupcore)


    Just spent my first evening with the very impressive Relevanssi but in trying to test out how it handles plurals I started seeing something I didn’t understand.

    From my test log:

    Query	#	Hits
    ocean	3	23
    oceans	3	17
    farm	3	40
    farms	3	58

    So, I think I get why ‘oceanS’ has fewer hits than ‘ocean’ but then I look at ‘farm’ and ‘farms’ and my presumptions are blown up! Is there a blog post or something somewhere that explains this behavior? And/or fuzzy matching/plurals generally?

    Unrelated: I cleared by logs, did a single search for each of those 4 terms and it’s listing 3 has the #. Something weird in my template or is that normal?

    https://wordpress.org/plugins/relevanssi/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter syrupcore

    (@syrupcore)

    Just tried setting Fuzzy to ‘always’ and got result totals that make a little more sense.

    Query	#	Hits
    farm	2	71
    farms	2	62
    ocean	2	41
    oceans	2	23
    Plugin Author Mikko Saari

    (@msaari)

    Yes, if you don’t enable fuzzy search, “ocean” and “oceans” are two separate words to Relevanssi. There are several cases where one-letter difference changes the meaning of the word. Also, the “s” doesn’t signify plural in every language.

    Thread Starter syrupcore

    (@syrupcore)

    Cheers Mikko.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Trying to understand plural/fuzzy search’ is closed to new replies.