ft:facet-search xquery function