Fork me on GitHub

HubbleDotNet [UnionSelect] 联查问题

复制代码
[UnionSelect]
select top 10 title,fullname,media,userid,sharedate,abstract,score as templateid
from hub_view_sharebibliography where title match '需求^5000^0 规格^5000^2' order by score desc;

select top 10 title,Title as fullname,bibliographyid as media,useridint as userid,lastupdate as sharedate,Title as abstract,templateid
from hub_sharebibliographynote where title match '需求^5000^0 规格^5000^2' order by score desc;

select top 10 sharecardname as title,ShareCardRemarks as fullname,
ShareCardRemarks as media,shareuseridint as userid,sharedate,ShareCardRemarks as abstract,score as templateid
from hub_sharecard where sharecardname match '需求^5000^0 规格^5000^2' order by score desc;

select top 10 filename as title,FileID as fullname,FileID as media,sharepeople as userid,sharedate,FileID as abstract,score as templateid 
from hub_sharefile where filename match '需求^5000^0 规格^5000^2' order by score desc;
复制代码

这里一个容易出现的错误就是,'' as Filed.切记切记啊。
由于Hubble是一个开源项目,又只有老大一人在维护,所以在做的过程中,不免有这样那样的问题,
一点点总结,一点点记录,把问题慢慢归纳解决,那么我们的搜索就会越来越强大。

 

 

posted @   IsaacZhang  阅读(195)  评论(0编辑  收藏  举报
编辑推荐:
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
阅读排行:
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
· Ollama——大语言模型本地部署的极速利器
· DeepSeek如何颠覆传统软件测试?测试工程师会被淘汰吗?
点击右上角即可分享
微信分享提示