functions.php
/** FacetWP index attachments */
function my_facetwp_indexer_query_args( $args ) {
    $args['post_status'] = array( 'publish', 'inherit' );
    return $args;
}

add_filter( 'facetwp_indexer_query_args', 'my_facetwp_indexer_query_args' );
/** FacetWP */

facet Template

<?php
return array(
'post_type' => 'any',
'post_status' => array('publish', 'inherit'),
'posts_per_page' => 25,
'tax_query' => array(
 array(
 'taxonomy' => 'category',
 'field' => 'slug',
 'terms' => array('2016','2015','2014', '2013','2012','2011','2010','2009','2008','2007','2006')
 )
 )
);

 

facet
facet_categories