SearchWP Archive

Class: Query

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

Control whether SearchWP loads applicable Entry Attribute data for search results. Note: When this functionality is enabled, only the Attribute data added to the Engine will be loaded. See also searchwp\query\result\load_data\all_attributes

Customize the \SearchWP\Mods applied during a search. Note: There are some internal \SearchWP\Mods that may be present for the query. This hook does not allow filtration of those mission critical \SearchWP\Mods, only user-defined \SearchWP\Mods. See also searchwp\query\do_source_db_where for internals.

Control whether SearchWP considers the db_where() criteria for Sources. This functionality adds a layer of protection against content edits that were made in such a way that SearchWP’s indexer was not able to capture. If you are confident that your content edits are all taking place through APIs as captured by the Sources you’re using […]

Customize how many results are returned per page.

Customize the arguments for a \SearchWP\Query which is used to perform all search queries.

Influence how SearchWP works through its various logic passes when performing searches. By default SearchWP will iterate through a series of logic passes when performing searches in this order: phrase (i.e. “quoted”, sentence searches) and (i.e. all search terms present in all results) or (i.e. any search terms present in any result) After each pass, […]

Control whether exact matches are given extra relevance weight when performing partial match logic.

Create a Better WordPress Search Experience Today

Never lose visitors to unhelpful search results again. SearchWP makes creating your own smart WordPress search fast and easy.

Get SearchWP Now
Multiple Search Engines Icon