最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
index server example
时间:2022-06-30 09:35:11 编辑:袖梨 来源:一聚教程网
The iskeywordrespond.asp looks like this:
Set objQuery = Server.CreateObject("ixsso.query")
Set objUtil = Server.CreateObject("ixsso.util")
my_keyword=request("keyword")
objquery.catalog="learnasp"
' keyword search
myquery=myquery & "$contents " & my_keyword
' Exclude specific folders
%>
' Exclude specific filenames
myquery=myquery & " and not #filename indexmaster.asp"
myquery=myquery & " and not #filename index.asp"
myquery=myquery & " and not #filename indexold.asp"
' Exclude specific extensions
myquery=myquery & " and not #filename *.|(txt|,inc|,htm|,mdb|,cnt|,class|,toc|,html|,css|)"
objQuery.Query=myQuery
objQuery.Columns = "Vpath, DocTitle, Filename, Characterization, Contents,DocKeyWords, Rank"
objQuery.SortBy = "Rank [d]"
objQuery.MaxRecords = 50
objUtil.AddScopeToQuery objQuery, "/", "DEEP"
linebr="
" & vbcrlf
Set rstemp = objQuery.CreateRecordSet("nonsequential")
DO UNTIL rstemp.eof
FOR EACH key in rstemp.fields
相关文章
- 洛克王国世界绿耳松鼠技能怎么搭配 绿耳松鼠技能搭配推荐 10-09
- 三国谋定天下箕型阵怎么配队 箕型阵配队攻略 10-09
- 鹅鸭杀呆呆鹅怎么玩 呆呆鹅玩法胜利条件介绍 10-09
- 鹅鸭杀丘比特技能是什么 丘比特技能效果解析 10-09
- 华夏绘世录龟甲怎么获得 龟甲获取攻略 10-09
- 嘟嘟脸恶作剧康娜技能是什么 康娜技能介绍一览 10-09