genlong 10 달 전
부모
커밋
82f6267f02
1개의 변경된 파일0개의 추가작업 그리고 14개의 파일을 삭제
  1. 0 14
      common/component/es/es.go

+ 0 - 14
common/component/es/es.go

@@ -199,13 +199,6 @@ func (req *ESQueryRequest) parseJsonQuery() (queryMap map[string]interface{}) {
 					req.Column: req.Key,
 				},
 			},
-			"highlight": map[string]interface{}{
-				"fields": map[string]interface{}{
-					req.Column: map[string]interface{}{},
-				},
-				"pre_tags":  []string{"<span style='color:#0078E8'>"},
-				"post_tags": []string{"</span>"},
-			},
 		}
 		return
 	case MatchAllByCondition:
@@ -226,13 +219,6 @@ func (req *ESQueryRequest) parseJsonQuery() (queryMap map[string]interface{}) {
 					},
 				},
 			},
-			"highlight": map[string]interface{}{
-				"fields": map[string]interface{}{
-					req.Column: map[string]interface{}{},
-				},
-				"pre_tags":  []string{"<span style='color:#0078E8'>"},
-				"post_tags": []string{"</span>"},
-			},
 		}
 		return
 	case Match: