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

ASP
bbs的数据结构和存储过程(二)
bbs的数据结构和存储过程(三)
聊天室自做 Follow Me
动态按钮生成器(上)
动态按钮生成器(下)
ASP直接调用EXCEL数据的例子(不用ODBC)
asp自动生成javascript检验函数
用Jmail做收取邮件附件的程序
简单的浮点论坛
ASP数据库恢复的代码
限制只能中文输入的方法
产生密码,记录到数据库,然后发送给用户。
一个基于web的QQ程序 1(xml+asp)
利用ASP生成EXECL文档
用ASP让用户访问指定页面
使用ASP程序对“HTML炸弹”进行屏蔽
实现ASP文件在线发邮件
用ASP+SQL Server为网页建一道防火墙
用Delphi开发ASP分页组件
如何在DataGrid控件中隐藏列

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 35 ::
收藏到网摘: 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