cut out a lot of dead code used in the faceted search