Reply To: Relevance sorting


Ernest Marcinko

Hi Eno!

Thank you very much for recommending my plugin!

The secondary ordering kicks in when the relevance is exactly the same. The problem is that the search does not count the occurrences of the words (it could, but it would kill the performance), so in this case the occurrence does not matter.

Fulltext might take this into account, but then again the relevance values are not adjustable there.

I'll try to consult with the folks on stackoverflow to see if anyone knows an efficient way of counting string occurrences without inflicting the performance greatly. This would definitely benefit the search greatly.

Until then, the only solution I can suggest is to use the priority submenu to prioritize more inportant posts.

Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)