Skip to content
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

支持自定义实体么 #22

Closed
shenglingshi opened this issue May 18, 2023 · 1 comment
Closed

支持自定义实体么 #22

shenglingshi opened this issue May 18, 2023 · 1 comment

Comments

@shenglingshi
Copy link

是否支持不使用数据库实体,而使用自定义的聚合实体。有的查询关键词会涉及多个表里的多个字段。需要聚合为一个实体作为结果返回。

@ldqk
Copy link
Owner

ldqk commented May 18, 2023

这种情况你通过二次查询就可以实现了,利用搜索引擎的结果作为数据库查询的条件就行了,比如你通过关键词xxx搜索到id为1,3,4,5,8的结果,然后你再用这几个id作为数据库查询的条件,就实现了

@ldqk ldqk closed this as completed Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants