Пример #1
0
def resetsearch():
    """ Reset the elatic search index (without rebuilding). """
    from datahub.logic.search import reset_index
    reset_index()
Пример #2
0
def tear_down_test_app():
    core.db.session.rollback()
    core.db.drop_all()
    from datahub.logic import search
    search.reset_index()
Пример #3
0
def resetsearch():
    """ Reset the elatic search index (without rebuilding). """
    from datahub.logic.search import reset_index
    reset_index()