SearchWP

News

Prior to version 3.1 of SearchWP (and also in Term Synonyms when it was a standalone Extension) Synonyms were handled differently than they are in version 3.1 and later.

Previously, the implementation of Synonyms was a bit short sighted in that it assumed the source would be a single term. It turns out that there are many cases where the source should be multiple terms and handled accordingly.

SearchWP 3.1 has learned this.

Secondly, term replacement was too aggressive in the initial implementation, and replacements were made as each Synonym was processed. In some cases this resulted in a resulting search string that was far too limited and/or abstract to be useful any longer.

SearchWP 3.1 has learned from this.

Synonym processing in SearchWP 3.1 is much better for the end result. Multiple source terms now work as expected, and replacements are handled in such a way that aims to end up with the search string that will generate the best results for your visitors.

You can ‘revert’ to the previous implementation of Synonym handling with the following hook:

<?php
add_filter( 'searchwp_synonyms_aggressive', '__return_true' );
view raw functions.php hosted with ❤ by GitHub

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

  • “Easy to setup and tweak to your needs. Hooks and filters make it easily extendable.”

  • “We needed to index a website with lots of page content and woocommerce products. SearchWP delivers a lot of useful default functions and setting up was easy with the help of the extensive documentation.”

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