def findRelations(query=(), maxDepth=None, filter=None, targetQuery=None,
    targetFilter=None, queryFactory=None, ignoreSearchIndex=False):
    """Given a single dictionary of {indexName: token}, return an iterable
        of relations that match the query"""
