Relevanssi - A Better Search
Can I manually determine the relevance score (2 posts)

  1. Rafael_Magnvs
    Posted 3 years ago #

    I want to know if it would be possible for me to manually determine the relevance score of the posts? My goal is to be able to have the search results displayed in a specific order.. Has anyone done that?


  2. Mikko Saari
    Plugin Author

    Posted 3 years ago #

    Yes, it's possible. Relevanssi has useful filter hooks you can use. relevanssi_hits_filter is good, as is relevanssi_match. For sorting out posts in particular order, I usually use relevanssi_hits_filter.

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