|
@@ -132,12 +132,12 @@ func SearchReport(keyWord string, classifyIdFirsts []int, classifyIdSeconds []in
|
|
|
|
|
|
source["sort"] = []map[string]interface{}{
|
|
|
map[string]interface{}{
|
|
|
- "_score":map[string]interface{}{
|
|
|
+ "PublishTime.keyword":map[string]interface{}{
|
|
|
"order":"desc",
|
|
|
},
|
|
|
},
|
|
|
map[string]interface{}{
|
|
|
- "PublishTime.keyword":map[string]interface{}{
|
|
|
+ "_score":map[string]interface{}{
|
|
|
"order":"desc",
|
|
|
},
|
|
|
},
|
|
@@ -271,12 +271,12 @@ func ReportListSearch(keyWord string, classifyIdFirst int, classifyIdSeconds []i
|
|
|
|
|
|
source["sort"] = []map[string]interface{}{
|
|
|
map[string]interface{}{
|
|
|
- "_score":map[string]interface{}{
|
|
|
+ "PublishTime.keyword":map[string]interface{}{
|
|
|
"order":"desc",
|
|
|
},
|
|
|
},
|
|
|
map[string]interface{}{
|
|
|
- "PublishTime.keyword":map[string]interface{}{
|
|
|
+ "_score":map[string]interface{}{
|
|
|
"order":"desc",
|
|
|
},
|
|
|
},
|