def search_golr_wrap(id, category, **args):
    """
    performs searches in both directions
    """
    #assocs1 = search_associations_compact(object=id, subject_category=category, **args)
    #assocs2 = search_associations_compact(subject=id, object_category=category, **args)
    assocs1, facets1 = search_compact_wrap(object=id, subject_category=category, **args)
    assocs2, facets2 = search_compact_wrap(subject=id, object_category=category, **args)
    facets = facets1
    if len(assocs2) > 0:
        facets = facets2
    return assocs1 + assocs2, facets
performs searches in both directions