Skip to content

CelerSearchLightning-fast search for WordPress

Replace WordPress's default search with powerful, modern search engines

Quick Example

Replace WordPress search in minutes:

php
// Filter which posts are indexed
add_filter('celersearch_should_sync_post', function($should_sync, $post, $index) {
    // Exclude private posts from search
    if (get_post_meta($post->ID, 'exclude_from_search', true)) {
        return false;
    }
    return $should_sync;
}, 10, 3);

// Customize search results
add_filter('celersearch_search_params', function($params, $query, $index) {
    // Add custom sorting
    $params['sort'] = ['created_at:desc'];
    return $params;
}, 10, 3);

Released under the GPL License.