⚡
Blazing Fast
Get instant search results with typo tolerance, relevance ranking, and faceted filtering
Replace WordPress's default search with powerful, modern search engines
Replace WordPress search in minutes:
// 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);