Deprecate facets

Facets are deprecated and will be removed in a future release. You are
encouraged to migrate to aggregations instead.

#911