-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用搜索功能接口异常 #71
Labels
bug
Something isn't working
Comments
感谢问题反馈,已收到,正在修复中 |
请问一下能在config.yaml里的顶部加上一个 我这边直接这样子没法复现。 |
|
由于xorm底层的union组装导致的在sqlite下的查询会产生问题,已经处理掉了,在下个版本会进行修复,感谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
镜像版本:answerdev/answer:latest
接口:/answer/api/v1/search?q=sdasd&order=relevance&page=1&size=20
返回值:
{"code":500,"reason":"base.unknown","msg":"Unknown error.","data":null}
日志:
2022-11-04 04:10:43.162 ERROR /go/src/github.com/answerdev/answer/internal/base/handler/handler.go:27 near "UNION": syntax error
/go/src/github.com/answerdev/answer/internal/controller/search_controller.go:41 github.com/answerdev/answer/internal/controller.(*SearchController).Search
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173 github.com/gin-gonic/gin.(*Context).Next
/go/src/github.com/answerdev/answer/internal/base/middleware/auth.go:47 github.com/answerdev/answer/internal/base/middleware.(*AuthUserMiddleware).Auth.func1
The text was updated successfully, but these errors were encountered: