This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
测试搜索。
Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/1788/head
zouap
3 years ago
parent
61dc241387
commit
57e6714fea
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
routers/search.go
+ 1
- 1
routers/search.go
View File
@@ -50,7 +50,7 @@ func Search(ctx *context.Context) {
}
} else {
log.Info("query all content.")
res, err := client.Search(TableName+"-es-index"
).Sort("updated_unix", false
).Do(ctx.Req.Context())
res, err := client.Search(TableName
+
"-es-index").Do(ctx.Req.Context())
if err == nil {
ctx.JSON(200, res)
}
Write
Preview
Loading…
Cancel
Save