stemmer
This commit is contained in:
+34
-7
@@ -25,6 +25,9 @@ password=os.getenv('HOST_160_PASS')
|
||||
# host=os.getenv('HOST_60')
|
||||
# password=os.getenv('HOST_60_PASS')
|
||||
|
||||
# host=os.getenv('HOST_80')
|
||||
# password=os.getenv('HOST_80_PASS')
|
||||
|
||||
|
||||
print(host)
|
||||
# print(password)
|
||||
@@ -34,20 +37,44 @@ elastic = ElasticHelper(host, password, "elastic", path_base_map)
|
||||
|
||||
#-------------------------------------------------------
|
||||
##
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111", "dh_parag_bge")
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111", "gn_dataset")
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111", "mj_qa_section_ai")
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111", "mn_crition")
|
||||
#moveDataset1(elastic, "G:/Project2/111/gn_dataset_14031125.zip", "gn_dataset2")
|
||||
|
||||
#-------------------------------------------------------
|
||||
## backup from hamfahmi.ir
|
||||
#-------------------------------------------------------
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111/server3", "gn_bayanat")
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111/server3", "gn_log_search")
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111/server3", "gn_log_change")
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111/server3", "gn_calendar")
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111/server3", "gn_entity")
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111/server3", "gn_setting")
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111/server3", "gn_research")
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111/server3", "gn_synonym")
|
||||
|
||||
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111/server3", "mn_jahat")
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111/server3", "mn_crition")
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111/server3", "mn_sanad")
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111/server3", "mn_steps")
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111/server3", "mn_nesha")
|
||||
|
||||
#-------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
#-------------------------------------------------------
|
||||
##
|
||||
|
||||
|
||||
# ## کد نمونه بازیابی از فایل
|
||||
# path_back = 'G:/Project2/111/gn_dataset_14031125.zip'
|
||||
# elastic.createIndex('gn_dataset')
|
||||
# elastic.zipFileToElastic(path_back, 'gn_dataset')
|
||||
#path_back = 'G:/Project2/111/mj_qa_section.zip'
|
||||
# elastic.createIndex('mj_qa_section', 'majles', 'mj_qa_section')
|
||||
# elastic.zipFileToElastic(path_back, 'mj_qa_section')
|
||||
|
||||
|
||||
|
||||
# elastic.backupIndexToZipfile("G:/Project2/111", "mj_qa_section")
|
||||
elastic.backupIndexToZipfile("G:/Project2/111", "mj_qa_section")
|
||||
#elastic.backupIndexToZipfile("G:/Project2/111", "mj_qa_section_ai")
|
||||
#elastic.restorFileToElastic("G:/Project2/111", "mj_qa_section_ai", 'majles', True, "mj_qa_section")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user