Migrate from facets to aggregations.