[#1149] Totally refactor search faceting.