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

2016-01-29 17:30 1 1 收藏

用asp怎样编写文档搜索页面(4),用asp怎样编写文档搜索页面(4)

【 tulaoshi.com - ASP 】

  td valign="top"<code@contents apple tree</code</td
<td valign="top"同上</td
</tr
<tr
<td valign="top"<codeMicrosoft 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

来源:https://www.tulaoshi.com/n/20160129/1501667.html

延伸阅读
标签: Web开发
假如你拥有一个庞大的网站,内容又多,那么来访者往往很难找到自己所需要的东东,这时候你就需要一个站内搜索来帮助来访者更快的找到索要的资料了!现在你就可以用asp轻易的实现这种功能,何况现在支持asp的站点这么多,利用这个搜索引擎可以搜索到你的主页里面任何一个文件或者软件资料,它可以精确到每个字!说了这么多你是不是怦然心动...
标签: ASP
  现在我们建立第一个ASP页 <%@Language=PerlScript% <HTML <TITLE PerlScript Test </TITLE <% for($i=0; $i<=10; $i+=2) { $Response-Write(""); $Response-Write("Hello World! "); } % </HTML 在这里大家一定要注意 "$Response-Write("");"为什么不用prin...
标签: ASP
  一个网站有许多页面,如果用户知道某个页面的链接,可以在浏览器中直接输入url访问它。但这在一个要求有安全性的站点上是不允许的。我们要求用户必须登录以后才能访问各级页面,有时也确实希望用户总是先看到站点的主页。这两种要求可以通过在asp的global.asa中对session对象编程来实现。 1.用户必须从主页开始浏览 如果仅希望用户每...
标签: ASP
  ASP是目前一种广为应用的用来快速构建动态WEB站点的编程语言,默认的内置开发语言是VBScript,由于ASP和微软Windows系列操作系统的结合非常的好,使得ASP已经成为了NT开发平台上面进行WEB开发的首选语言和环境。他有着简单易学,方便快速开发的种种优点,但是他也有着致命的弱点,就是他是脚本语言解释执行的,速度会受到一定的影响,更...
标签: ASP
1、用Access建造一个数据库data.mdb,建立表Guest,结构如下: ID 自动编号 标题 字符串 署名 字符串 正文 备注。   2、guest.aspx   <%@ Import Namespace="System.Data" %   <%@ Import Namespace="System.Data.OleDb" %   <html<head   <style &n...

经验教程

411

收藏

8
微博分享 QQ分享 QQ空间 手机页面 收藏网站 回到头部