SearchWP

SearchWP instantly improves your site search without writing a line of code.

Unlike native WordPress search, SearchWP returns relevant results. It’s also highly configurable, allowing you to search through post data, taxonomies, custom fields, eCommerce data and even PDFs.

SearchWP

Usage

FacetWP includes built-in integration with SearchWP

When SearchWP is installed, your Search facets will have additional options under the “Search Engine” setting. Simply choose the desired SearchWP search engine from the dropdown.

Buy SearchWP

Removing the post limit

By default, FacetWP fetches a maximum of 200 results from SearchWP. Add the following code to remove this limit:

add_filter( 'searchwp_swp_query_args', function( $args ) {
    if ( isset( $args['facetwp'] ) ) {
        $args['posts_per_page'] = -1;
    }
    return $args;
} );