Exemplo n.º 1
0
def init_elasticsearch():
    from memex.search import init, _get_client
    client = _get_client(TEST_SETTINGS)
    _drop_indices(TEST_SETTINGS)
    init(client)
Exemplo n.º 2
0
Arquivo: conftest.py Projeto: nlisgo/h
def init_elasticsearch():
    from memex.search import configure_index, _get_client
    client = _get_client(TEST_SETTINGS)
    _drop_indices(TEST_SETTINGS)
    configure_index(client)
Exemplo n.º 3
0
def init_elasticsearch():
    from memex.search import configure_index, _get_client
    client = _get_client(TEST_SETTINGS)
    _drop_indices(TEST_SETTINGS)
    configure_index(client)