Version 4.1.17 of SearchWP has been released and is a recommended update for all license holders. The integration with WP All Import has been refactored to be more stable and faster ?.

The other change in 4.1.17 is the addition of the relevance() method on Mods. Mods are responsible for modifying SearchWP queries.

Since SearchWP 4 was released a weight() method was available which facilitated manipulation of the calculated weight per search result. This method was integrated into the search algorithm that also accounted for how many times a search term appeared. Using the weight() method, your modification would also be influenced by the occurrence of search terms.

The relevance() method applies to the overall relevance calculation, allowing for a more consistent modification application without being influenced by the number of search term occurrences found. This improves relevance modifications in many cases such as:

If you are using any of those modifications you are welcome to update to the relevance() method after updating to SearchWP 4.1.17 if you’d like.

Any usage of weight() will continue to operate as it has since SearchWP 4 was released.

Full changelog:


  • [New] Added relevance() method to Mods to allow additional manipulation of relevance calculation during searches
  • [Improvement] Refactored WP All Import integration
  • [Fix] Character encoding when finding global excerpts in some cases

Want to make your search awesome right now?

More than 30,000 sites have chosen SearchWP!

You can utilize all of the content that’s gone unrecognized by native WordPress keyword search instantly with SearchWP.

Get SearchWP for just $99

  • Committed Support
    If you need help, support is fast, friendly, and here for you
  • Streamlined Setup
    Installation and setup that’s optimized for speed
  • Great Documentation
    Helpful, clear, and usable documentation is a priority

See what SearchWP customers have to say

  • “Jonathan, the developer, was very responsive to my questions and even made me some custom code modifications. Wonderful service!”

  • “What I like is that SearchWP has an easy setup and offers immediate improvement. I also like that Jonathan is honest about the limitations of the product. Over 20K posts/pages and he recommends you look elsewhere for reasonable performance.”

  • “Powerful and flexible; excellent for building custom search engines and extending search across custom post types and fields. Intuitive and user-friendly interface; lots of add-ons; excellent API, documentation, and customer support to boot.”

[wpforms id="3080"]