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
be71c637cb
commit
143c67bb2a
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
@@ -47,6 +47,6 @@ func Search(ctx *context.Context) {
boolQ.Filter(nameQuery)
boolQ.Filter(descriptionQuery)
res, err := client.Search(TableName + "-es-index").Query(
boolQ
).Do(ctx.Req.Context())
res, err := client.Search(TableName + "-es-index").Query(
nameQuery
).Do(ctx.Req.Context())
ctx.JSON(200, res)
}
Write
Preview
Loading…
Cancel
Save