Esempio n. 1
0
def create_new_index(index=None, config=None):
    if config is None:
        config = {}
    if index is None:
        index = get_alias()
    config['mappings'] = get_mappings()
    create_index(index, config)
Esempio n. 2
0
def create_new_index(index=None, config=None):
    if config is None:
        config = {}
    if index is None:
        index = get_alias()
    config['mappings'] = get_mappings()
    create_index(index, config)
Esempio n. 3
0
def create_new_index(index=None, config=None):
    if config is None:
        config = {}
    if index is None:
        index = get_alias()
    config['settings'] = {'index': INDEX_SETTINGS}
    config['mappings'] = get_mappings()
    create_index(index, config)
Esempio n. 4
0
def create_new_index(index=None, config=None):
    if config is None:
        config = {}
    if index is None:
        index = get_alias()
    config['settings'] = {'index': INDEX_SETTINGS}
    config['mappings'] = get_mappings()
    create_index(index, config)
Esempio n. 5
0
def create_new_index(index=None, config=None):
    if config is None:
        config = {}
    if index is None:
        index = get_alias()
    config["settings"] = {"index": INDEX_SETTINGS}
    config["mappings"] = get_mappings()
    create_index(index, config)