(es, index)
return ElasticsearchInterface(es).update_index_settings(index, INDEX_REINDEX_SETTINGS)
Set a more optimized setting setup for fast reindexing
Set a more optimized setting setup for fast reindexing
Set a more optimized setting setup for fast reindexing
def set_index_reindex_settings(es, index):
    """
    Set a more optimized setting setup for fast reindexing
    """
    from pillowtop.index_settings import INDEX_REINDEX_SETTINGS
    return ElasticsearchInterface(es).update_index_settings(index, INDEX_REINDEX_SETTINGS)
def set_index_reindex_settings ( es , index ) : from pillowtop . index_settings import INDEX_REINDEX_SETTINGS return ElasticsearchInterface ( es ) . update_index_settings ( index , INDEX_REINDEX_SETTINGS )