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

    (@msaari)

    That’s not how fuzzy search is supposed to work.

    Fuzzy search means that if you have partial matching enabled and you search for “difenbach”, it’ll find the posts that have “difenbachija” in them. If the search term matches the beginning or the end of the word, it’ll match. With non-fuzzy searching, you need to match the whole word.

    Thread Starter adriana0

    (@adriana0)

    Hello and thank you for your quick response!

    In general, it is how it could work. I just couldn’t find this information in your documentary. Thank you for your clarification.

    Do you have any tips on how could I try to implement any of this?
    https://en.m.wikipedia.org/wiki/Approximate_string_matching

    Plugin Author Mikko Saari

    (@msaari)

    Let’s just say it’s not easy. The problem is there are so many possible ways a word can be modified that taking care of all of them is very costly. A search that would be fuzzy in that way would be really slow, if implemented in the way Relevanssi is done. It’s different for the big guns like Elastic or Solr, which are running on separate, dedicated servers.

    However, what you can do is to buy Relevanssi Premium, which has a fairly good “Did you mean” feature that compares the words that don’t find any results to the words that appear in your database, and that would be able to suggest “difenbachija” as the correct spelling for “dyfenbachija”. It can be made automatic as well, in which case a zero-hit search for “dyfenbachija” would result in a search for “difenbachija” instead. So that’s actually pretty much what you’re looking for here.

    The free version also has a “Did you mean” feature, but it’s not as good, because it uses the user search logs as source material. Premium uses the actual words in your database, which is much more reliable.

    Thread Starter adriana0

    (@adriana0)

    I read about “Did you mean” but it never appeared on my website, nor I could find any settings for it at the backend. Am I missing something? Do you have a test case where I could get the result in action?

    P.S. I’m seriously considering a premium version as this is the best search plugin I’ve tried so far and it almost has all I need. The main setback for me is that my top income generating websites cannot be indexed. (Not the plugins fault, I use a lot of custom methods to serve content so the only way I could be indexed is an external crawler).

    Thread Starter adriana0

    (@adriana0)

    Found it! Implementing “Did you mean” is documented here:
    https://www.relevanssi.com/knowledge-base/did-you-mean-suggestions/

    Thanks again!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘fuzzy search does not work’ is closed to new replies.