add DRY in helpers [query, facets, mapping, search] #65