Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)