Improve Facets functions. (not supported in preprocessFilter)

do we have any plan to fix it ?