WordPress at a glance
filter is not described

search_rewrite_rules filter-hook . WP 1.5.0

Filters rewrite rules used for search archives.

Likely search-related archives include /search/search+query/ as well as pagination and feed paths for a search.

Usage

add_filter( 'search_rewrite_rules', 'filter_function_name_1862' );
function filter_function_name_1862( $search_rewrite ){
	// filter...

	return $search_rewrite;
}
$search_rewrite(array)
The rewrite rules for search queries.

Where the hook is called

WP_Rewrite::rewrite_rules()
wp-includes/class-wp-rewrite.php 1316
$search_rewrite = apply_filters( 'search_rewrite_rules', $search_rewrite );

Where the hook is used (in WP core)

Does not used.