|
@@ -54,7 +54,7 @@ func (this *SearchController) SearchList() {
|
|
|
}
|
|
|
|
|
|
if orderColumn == "" {
|
|
|
- orderColumn = "Comprehensive"
|
|
|
+ orderColumn = "Matching"
|
|
|
}
|
|
|
/*
|
|
|
categoryList, err := models.GetCategoryByCompanyId(user.CompanyId)
|
|
@@ -83,6 +83,7 @@ func (this *SearchController) SearchList() {
|
|
|
err = tmpErr
|
|
|
} else {
|
|
|
tmpResult, tmpTotal, tmpErr := services.EsMultiMatchFunctionScoreQuerySort(indexName, keyWord, startSize, pageSize, user.UserId, orderColumn)
|
|
|
+ //tmpResult, tmpTotal, tmpErr := services.EsMultiMatchFunctionScoreQuery(indexName, keyWord, startSize, pageSize, user.UserId)
|
|
|
result = tmpResult
|
|
|
total = tmpTotal
|
|
|
err = tmpErr
|