bug ai_json_move_to_index
This commit is contained in:
+9
-5
@@ -11,8 +11,8 @@ from app.temp_refactor_gn_dataset import *
|
||||
load_dotenv(dotenv_path="config.env")
|
||||
|
||||
|
||||
host = os.getenv("HOST_160")
|
||||
password = os.getenv("HOST_160_PASS")
|
||||
# host = os.getenv("HOST_160")
|
||||
# password = os.getenv("HOST_160_PASS")
|
||||
|
||||
# host=os.getenv('HOST_112')
|
||||
# password=os.getenv('HOST_112_PASS')
|
||||
@@ -23,8 +23,8 @@ password = os.getenv("HOST_160_PASS")
|
||||
# host=os.getenv('HOST_118')
|
||||
# password=os.getenv('HOST_118_PASS')
|
||||
|
||||
# host=os.getenv('HOST_60')
|
||||
# password=os.getenv('HOST_60_PASS')
|
||||
host=os.getenv('HOST_60')
|
||||
password=os.getenv('HOST_60_PASS')
|
||||
|
||||
# host=os.getenv('HOST_161')
|
||||
# password=os.getenv('HOST_161_PASS')
|
||||
@@ -45,9 +45,13 @@ elastic = ElasticHelper(host, password, "elastic", path_base_map)
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111/haditha", "dh_volume")
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111/haditha", "dh_haditha")
|
||||
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111", "mn_spr_sanad")
|
||||
# elastic.createIndex( 'mn_spr_sanad', 'monir', 'mn_spr_sanad')
|
||||
elastic.restorFileToElastic2('G:/Project2/111/mn_spr_sanad.zip', 'mn_spr_sanad', 'monir', False, 'mn_spr_sanad')
|
||||
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111", "mj_qa_domain")
|
||||
# elastic.createIndex( 'mj_qa_domain', 'majles', 'mj_domain')
|
||||
# elastic.restorFileToElastic2('G:/Project2/111/mj_qa_domain.zip', 'mj_qa_domain', 'majles', False, 'mj_domain')
|
||||
# elastic.restorFileToElastic2('G:/Project2/111/mj_qa_domain_base1.zip', 'mj_qa_domain', 'majles', False, 'mj_qa_domain')
|
||||
|
||||
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111", "mj_qa_section-m1")
|
||||
|
||||
Reference in New Issue
Block a user