|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
asp,你就只能等着微软给你解决,它不乐意你就只好悲催。而且asp跑在windows服务器上,windows服务器跟linux比起来简直弱爆了!SpecifyingaCataloginASPCode(IXSSOQuery)
--------------------------------------------------------------------------------
Theinformationinthisarticleappliesto:
MicrosoftIndexServerversion2.0
--------------------------------------------------------------------------------
SYMPTOMS
Onaserverwithmultiplecatalogs,anyquerypagethatisnotqueryingthedefaultcatalogneedstospecifyinitscodethecatalogitisqueryingagainst.ThisarticleprovidesexamplesofhowtospecifythecatalogwithinASPfilesthatareusingtheIXSSOobjecttoqueryIndexServer.
RESOLUTION
NOTE:ThisexampleusestheIXSSOobjectandisbasedonQuery.asp,whichisinstalledbydefaultwiththeIndexServer.
IntheQuery.asppage,findthesectionthatlookslikethefollowing:
setQ=Server.CreateObject("ixsso.Query")
setutil=Server.CreateObject("ixsso.Util")
Q.Query=CompSearch
Q.SortBy="rank[d]"
Q.Columns="DocTitle,vpath,filename,size,write,characterization,rank"
Q.MaxRecords=300
TospecifyacatalogintheASPpage,addalinesothatsectionappearsfollows:
setQ=Server.CreateObject("ixsso.Query")
setutil=Server.CreateObject("ixsso.Util")
Q.CATALOG="<catalogname>"
Q.Query=CompSearch
Q.SortBy="rank[d]"
Q.Columns="DocTitle,vpath,filename,size,write,characterization,rank"
Q.MaxRecords=300
TheQ.CataloglinethatyouaddwillhaveavalueequaltothenameofyourcatalogasitappearsintheMicrosoftManagementConsole(MMC)forIndexServer.
Additionalquerywords:
Keywords:
Issuetype:kbprb
Technology:
</p>缺点:正版成本价格贵(盗版就不说了)、不够安全,大多数服务器用windows系统,没有linux安全 |
|