开发者网络 动网主机 支持论坛 邮局 帮助
当前位置:网络学院ASP技术全文检索 → 用asp怎样编写文档搜索页面(4)
用asp怎样编写文档搜索页面(4)
日期:2001年6月7日 作者:VFan 人气:     [ ]
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® 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%>文档的描述或摘要,由 Index Server 使用。</td>
</tr>
<tr>
<td valign="top">Contents</td><td valign="top">(不适用)</td>
<td valign="top" width=65%>文件的主要内容。可以查询,但不能检索。</td>
</tr>
<tr>
<td valign="top">Create</td><td valign="top">VT_FILETIME</td>
<td valign="top" width=65%>文件的创建时间。</td>
</tr>
<tr>
<td valign="top">Directory</td><td valign="top">DBTYPE_WSTR |
DBTYPE_BYREF</td>
<td valign="top" width=65%>文件的物理路径,不包含文件名。</td>
</tr>
<tr>
<td valign="top">DocAppName</td><td valign="top">DBTYPE_WSTR |
DBTYPE_BYREF</td>
<td valign="top" width=65%>创建文件的应用程序的名称。</td>
</tr>
<tr>
<td valign="top">DocAuthor</td><td valign="top">DBTYPE_WSTR |
DBTYPE_BYREF</td>
<td valign="top" width=65%>文档的作者。</td>
</tr>
<tr>
<td>DocByteCount</td><td>DBTYPE_14</td><td>文档的字节数。</td>
</tr>
<tr>
<td>DocCategory</td><td>DBTYPE_STR |
DBTYPE_BYREF</td><td>文档的类别,如备忘录、计划或便笺。</td>
</tr>
<tr>
<td valign="top">DocCharCount</td><td valign="top">DBTYPE_I4</td>
<td valign="top" width=65%>文档的字符数。</td>
</tr>

(出处:Chinaasp论坛)

相关文章:
 
·Sql Server全文搜索中文出错的问题
·微软和海量科技强强合作 推企业搜索引擎新方案
·实现搜索结果的关键词变色标注的程序
·微软的站点搜索引擎内幕 (zt)
·实现支持逻辑搜索/单词搜索/词组搜索+支持OR/AND关键字的VBS CLASS
·ASP编写完整的一个IP所在地搜索类
·一个很酷的程序JavaScript做的MID歌曲搜索播放器[IE](JS)
·利用索引服务(Indexing Service)和ASP建立面向整个网站搜索程序
·用asp怎样编写文档搜索页面(6)
·用asp怎样编写文档搜索页面(5)
相关软件:
 
·K风搜索(K-Search) v2.1
·金梅全球博客搜索引擎
·搜搜搜软件搜索引擎 v1.3
·仙吻百度搜索小偷 v1.10
·So165音乐搜索 v1.0
·FTP Web浏览搜索引擎(asp) v1.0 RC2
·Flash综合搜索引擎
·顺新站内搜索引擎 v1.2(百度网页搜索小偷)
·蓝色空间站内搜索引擎
·MOMOMAN搜索第一版
说明:本站部分内容收集于网络,如有侵犯您的权益请来信告知,我们会第一时间进行处理,谢谢
 → 特别推荐
 → 热点TOP10

关于本站 | 诚聘英才 | 业务合作 | 联系我们 | 广告合作 | 收藏本站

海口动网先锋网络科技有限公司版权所有
Copyright ? 2000 - 2003 AspSky.Net
中华人民共和国电信与信息服务业务经营许可证编号 琼 ICP 020077