当前位置: 首页 > 图文教程 > 网络编程 > ASP > 用asp怎样编写文档搜索页面(4)

ASP
ASP技巧:在Access数据库中重命名表
用ASP编程实现网络内容快速查找
比较ASP生成静态HTML文件的几种方法
ASP实例:实现邮件发送普通附件和嵌入附件
如何用ASP实现去掉三个最高分和三个最低分
ASP实例:Access为后台数据库的网站统计系统
用标签替换的方法生成静态网页
例程:用ASP判断文件地址是否有效
学ASp动态网页必备:常用的38个函数
ASP教程:初次接触学习ASP脚本程序
ASPJPEG水印中关于文字水印的帮助文档(中英文对照)
ASP例子:ASP把汉字转化为拼音的函数
ASP教程:学习ASP应用Cookies的技巧
ASP入门:认识ASP程序所使用的几种脚本语言
初学者的ASP教程:常用ASP内置函数
ASP初级教程之ASP对表单和用户输入的处理
学习ASP文件引用的方法
用ASP编写更人性化的弹出窗口程序
谈谈学习ASP动态网页制作技术的编程心得
用ASP程序实现网站在线人数统计

ASP 中的 用asp怎样编写文档搜索页面(4)


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 23 ::
收藏到网摘: n/a

  td valign="top"><code>@contents apple tree</code></td>
<td valign="top">同上</td>
</tr>
<tr>
<td valign="top"><code>Microsoft and @size > 1000000</code></td>
<td valign="top">包含单词“Microsoft”,并且大于大于一兆字节的页</td>
</tr>
<tr>
<td valign="top"><code>"microsoft and @size > 1000000"</code></td>
<td valign="top">包含指定短语的页(与上面不同)</td>
</tr>
<tr>
<td valign="top"><code>#filename *.avi</code></td>
<td valign="top">视频文件(因为查询包含正则表达式,所以使用 # 前缀)</td>
</tr>
<tr>
<td valign="top"><code>@attrib ^s 32</code></td>
<td valign="top">带存档属性的页</td>
</tr>
<tr>
<td valign="top"><code>@docauthor = John Smith</code></td>
<td valign="top">由所给作者创作的页</td>
</tr>
<tr>
<td valign="top"><code>$contents why is the sky blue?</code></td>
<td valign="top">匹配查询的页</td>
</tr>
<tr>
<td valign="top"><code>@size < 100 & #filename *.gif</code></td>
<td valign="top">大于 100 字节的 GIF 文件</td>
</tr>
</table>

<h1><a name="PropertyNamesList">属性名列表</a></h1>

<p>这些属性在查询时都可用,附加的属性要看 Web 服务器的配置。</p>

<table border="1" cellpadding="4" cellspacing="1" width="100%">
<tr>
<th align="Left" valign="bottom" bgcolor="#C0C0C0" width="15%">友好名称</th>
<th align="Left" valign="bottom" bgcolor="#C0C0C0" width="20%">数据类型</th>
<th align="Left" valign="bottom" bgcolor="#C0C0C0" width="65%">属性</th></tr>
<tr>
<td valign="top">A_HRef</td>
<td valign="top">DBTYPE_WSTR |
DBTYPE_BYREF</td>
<td valign="top" width=65%>HTML HREF 的文字,该属性名由 Microsoft&reg; Site Server 创建,与 Index Server 属性名 HtmlHRef 相对。可以查询,但不能检索。</td>
</tr>
<tr>
<td valign="top">Access</td>
<td valign="top">VT_FILETIME</td>
<td valign="top" width=65%>文件的最后访问时间。</td>
</tr>
<tr>
<td valign="top">All</td><td valign="top">(不适用)</td>
<td valign="top" width=65%>搜索字符串的每一个属性。可以查询,但不能检索。</td>
</tr>
<tr>
<td valign="top">AllocSize</td><td valign="top">DBTYPE_I8</td>
<td valign="top" width=65%>为文件分配的磁盘大小。</td>
</tr>
<tr>
<td valign="top">Attrib</td><td valign="top">DBTYPE_UI4</td>
<td valign="top" width=65%>文件属性,在 Win32 SDK 文档中说明。</td>
</tr>
<tr>
<td valign="top">ClassId</td><td valign="top">DBTYPE_GUID</td>
<td valign="top" width=65%>对象的类标识,例如 WordPerfect、Word 等等。</td>
</tr>
<tr>
<td valign="top"><a name="Characterization">Characterization</a></td><td valign="top">DBTYPE_WSTR |
DBTYPE_BYREF</td>
<td valign="top" width=65%>文档的描述或摘要,由 Inde