SearchWP

Class: Query

Controls the threshold that SearchWP considers when deciding whether to perform an AND logic pass. AND logic can be problematic resource-wise and in some cases result in long query times. Because of SearchWP’s relevance algorithm, skipping AND logic because there are too many search terms will not degrade the quality of results as the most […]

Fires immediately before a \SearchWP\Query query is executed, before Mod(s) have been set up.

Using this hook you can directly manipulate the search query itself.

Control whether AND logic is performed. Note: By default AND logic will be skipped if the token threshold is breached. The default threshold is 5 but can be customized with the searchwp\query\logic\and\token_threshold hook.

Control whether SearchWP loads all Entry Attribute data for search results. Note: When this functionality is enabled, all registered Attribute data will be loaded. See also searchwp\query\result\load_data

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

  • “I like SearchWP because its intuitive to use. It has simple straight forward settings. Its fast and it works. The results are great, and I also recognize that other value-add plugins are integrating with SearchWP. I have received great support.”

  • “With SearchWP, you can add weight to categories, tags, taxonomies and even custom fields. This yields a much better and richer search than the basic WP search. My clients love it.”

  • “Great plugin! I implemented a bulk product search option for my wholesale platform. I was supported very quickly by the SearchWP team, and we met our complex goals. Recommended!”