WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. SRES
    Member
    Posted 1 year 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.

    http://wordpress.org/extend/plugins/relevanssi/

  2. Mikko Saari
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Plugin Author

    Posted 1 year 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

About this Topic

Tags