move tanghih codes

This commit is contained in:
hsafaei
2025-04-05 15:42:26 +03:30
parent 3018c08e38
commit c84c635055
10 changed files with 644 additions and 422 deletions
+1
View File
@@ -169,6 +169,7 @@ class ElasticHelper():
if fields :
item2={}
item2['id']=item['_id']
item2['_source']={}
for kf in fields :
if kf in item['_source'] :
item2['_source'][kf] = item['_source'][kf]