def search_collections(query, limit, sort=None, cursor=None):
 return search_services.search(query, SEARCH_INDEX_COLLECTIONS, cursor, limit, sort, ids_only=True)

def search_collections ( query , limit , sort = None , cursor = None ) : return search_services . search ( query , SEARCH_INDEX_COLLECTIONS , cursor , limit , sort , ids_only = True )
searches through the available collections .