Relevanssi - A Better Search
fuzzy logic slow down search (4 posts)

  1. SRES
    Posted 3 years ago #

    I have noticed when is fuzzy logic used 'allways' searching is dramaticaly slowdown. I have no idea why i was looking in your source and place some alerts code to be noticed when relevansi jump in search parts and slowdown is happen before any query. Please be so kind and help me to understand why this happen and maybe help to resolve this issue.


  2. Mikko Saari
    Plugin Author

    Posted 3 years ago #

    Before any queries? Then I have no idea. The only difference is the way the search MySQL query is built, it uses LIKE instead of exact match.

  3. SRES
    Posted 3 years ago #

    Thank You, BTW for now sorting order is by collected hit points, is there any chance to group search results in order:
    1. results for AND option (internal order by colected hit points)
    2. results for OR -||-
    3. fuzzy -||-

  4. Mikko Saari
    Plugin Author

    Posted 3 years ago #

    No, that's a bit too complicated for default behaviour. I suppose it might be possible to do this using a filter function on relevanssi_hits_filter, but it's going to be a bit complicated.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Relevanssi - A Better Search
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic