@core_helper
def facets():
 return config.get(u'search.facets', DEFAULT_FACET_NAMES).split()

@ core_helper def facets ( ) : return config . get ( u'search.facets' , DEFAULT_FACET_NAMES ) . split ( )
returns a list of the current facet names .