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?

Drop us a note.

No matter where you are in the planning process, we’re happy to help, and we’re actual humans here on the other side of the form. 👋 We’re here to discuss your challenges and plans, evaluate your existing resources or a potential partner, or even make some initial recommendations. And, of course, we’re here to help any time you’re in the market for some robust WordPress awesomeness.