WordPress.com VIP Search Add-On

Improve the relevance and quality of your search results with the WordPress.com VIP search add-on powered by Elasticsearch technology.

Configuration is as simple as activating the plugin. With an index configured, your search results will be automatically filtered to deliver ElasticSearch goodness.

Define facets and add the sidebar widget so viewers can easily narrow down to the exact result they want. Here’s an example of the facets powering this site’s search:

// Sets ElasticSearch facets
add_action( 'after_setup_theme', function() {

	if ( ! function_exists( 'WPCOM_elasticsearch' ) )
		return;

	WPCOM_elasticsearch()->set_facets( array(
		'Content Type' => array(
			'type'     => 'post_type',
			'count'    => 10,
		),
		'Categories' => array(
			'type'     => 'taxonomy',
			'taxonomy' => 'category',
			'count'    => 10,
		),
		'Tags' => array(
			'type'     => 'taxonomy',
			'taxonomy' => 'post_tag',
			'count'    => 10,
		),
		'Year' => array(
			'type'     => 'date_histogram',
			'field'    => 'post_date',
			'interval' => 'year',
			'count'    => 10,
		),
		'Month' => array(
			'type'     => 'date_histogram',
			'field'    => 'post_date',
			'interval' => 'month',
			'count'    => 10,
		),
	) );
});

Ready to get started?

Tell us about your needs

Let us lead the way. We’ll help you select a top tier development partner. We’ll train your developers, operations, infrastructure, and editorial teams. We’ll coarchitect your deployment processes. We will provide live support for peak events. We’ll help your people avoid dark alleys and blind corners, and reduce wasted cycles.