WordPress.org

Ready to get started?Download WordPress

Forums

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

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

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

  2. Mikko Saari
    Member
    Plugin Author

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

About this Topic