[#997] Refactor search facet code for UKLP faceting.