|
@@ -574,7 +574,7 @@ func EsAddOrEditComprehensiveData(item *ElasticComprehensiveDetail) (err error)
|
|
|
var script string
|
|
|
script += fmt.Sprint("ctx._source['SubjectNames'] = '", item.SubjectNames, "';")
|
|
|
script += fmt.Sprint("ctx._source['PublishDate'] = '", item.PublishDate, "';")
|
|
|
- script += fmt.Sprint("ctx._source['IsSummary'] = '", item.IsSummary, "';")
|
|
|
+ script += fmt.Sprint("ctx._source['IsSummary'] = ", item.IsSummary, ";")
|
|
|
script += fmt.Sprint("ctx._source['Abstract'] = '", item.Abstract, "';")
|
|
|
script += fmt.Sprint("ctx._source['Title'] = '", item.Title, "';")
|
|
|
script += fmt.Sprint("ctx._source['BodyText'] = '", item.BodyText, "';")
|