hubbledotnet 使用笔记

Hubble vs 字符串

<connectionStrings>

<add name="Search" connectionString="server=***;uid=Hubble.net;pwd=***;database=***;" providerName="Hubble.SQLClient"/>

</connectionStrings>

默认值

Dict.dct 178740

查询语句

select top 10 Score,Name,addTime from WholeSearch_CN where Name match 'uac^2^2 6000^1^1' order by Score desc ,addTime desc

分组查询

GroupBy('Count', 'ID', 'TypeID', 10)]

select between 0 to 9 ID,Name,TypeID,SEO_D,TypeName,strURL,addTime from WholeSearch_CN

where

( Name Contains 'uac^5^0 6000^1^3 uac6000^5^0'

or Name Match 'uac^5^0 6000^1^3 uac6000^5^0'

or SEO_D Contains 'uac^5^0 6000^1^3 uac6000^5^0'

or SEO_D Match 'uac^5^0 6000^1^3 uac6000^5^0')

and

(VisitLevel =''

or visitlevel='JingBiaoLevel')

order by score desc, lorder

[GroupBy('count','DocId',)]

select * from WholeSearch_CN

posted @ 2016-12-20 09:29  爱笑的3  阅读(268)  评论(0编辑  收藏  举报