소스 검색

Merge branch 'hotfix/bug_jb' into debug

# Conflicts:
#	services/elastic/elastic.go
xyxie 1 일 전
부모
커밋
7ac4b8c335
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      services/elastic/elastic.go

+ 1 - 1
services/elastic/elastic.go

@@ -1941,7 +1941,7 @@ func EsAddOrEditDataSourceIndex(indexName, docId string, item *dataSourceModel.S
 	}()
 	client := utils.EsClient
 
-	resp, e := client.Index().Index(indexName).Id(docId).BodyJson(item).Refresh("true").Do(context.Background())
+	resp, e := client.Index().Index(indexName).Id(docId).BodyJson(item).Do(context.Background())
 	if e != nil {
 		err = fmt.Errorf("resp err, %v", e)
 		return