modified search to return data and facets, not just data