<td valign="top"><code>@contents apple tree</code></td><br>
<td valign="top">同上</td><br>
</tr><br>
<tr><br>
<td valign="top"><code>microsoft and @size > 1000000</code></td><br>
<td valign="top">包含单词“microsoft”,并且大于大于一兆字节的页</td><br>
</tr><br>
<tr><br>
<td valign="top"><code>"microsoft and @size > 1000000"</code></td><br>
<td valign="top">包含指定短语的页(与上面不同)</td><br>
</tr><br>
<tr><br>
<td valign="top"><code>#filename *.avi</code></td><br>
<td valign="top">视频文件(因为查询包含正则表达式,所以使用 # 前缀)</td><br>
</tr><br>
<tr><br>
<td valign="top"><code>@attrib ^s 32</code></td><br>
<td valign="top">带存档属性的页</td><br>
</tr><br>
<tr><br>
<td valign="top"><code>@docauthor = john smith</code></td><br>
<td valign="top">由所给作者创作的页</td><br>
</tr><br>
<tr><br>
<td valign="top"><code>$contents why is the sky blue?</code></td><br>
<td valign="top">匹配查询的页</td><br>
</tr><br>
<tr><br>
<td valign="top"><code>@size < 100 & #filename *.gif</code></td><br>
<td valign="top">大于 100 字节的 gif 文件</td><br>
</tr><br>
</table><br>
<br>
<h1><a name="propertynameslist">属性名列表</a></h1><br>
<br>
<p>这些属性在查询时都可用,附加的属性要看 web 服务器的配置。</p><br>
<br>
<table border="1" cellpadding="4" cellspacing="1" width="100%"><br>
<tr><br>
<th align="left" valign="bottom" bgcolor="#c0c0c0" width="15%">友好名称</th><br>
<th align="left" valign="bottom" bgcolor="#c0c0c0" width="20%">数据类型</th><br>
<th align="left" valign="bottom" bgcolor="#c0c0c0" width="65%">属性</th></tr><br>
<tr><br>
<td valign="top">a_href</td><br>
<td valign="top">dbtype_wstr |<br>
dbtype_byref</td><br>
<td valign="top" width=65%>html href 的文字,该属性名由 microsoft® site server 创建,与 index server 属性名 htmlhref 相对。可以查询,但不能检索。</td><br>
</tr><br>
<tr><br>
<td valign="top">access</td><br>
<td valign="top">vt_filetime</td><br>
<td valign="top" width=65%>文件的最后访问时间。</td><br>
</tr><br>
<tr><br>
<td valign="top">all</td><td valign="top">(不适用)</td><br>
<td valign="top" width=65%>搜索字符串的每一个属性。可以查询,但不能检索。</td><br>
</tr><br>
<tr><br>
<td valign="top">allocsize</td><td valign="top">dbtype_i8</td><br>
<td valign="top" width=65%>为文件分配的磁盘大小。</td><br>
</tr><br>
<tr><br>
<td valign="top">attrib</td><td valign="top">dbtype_ui4</td><br>
<td valign="top" width=65%>文件属性,在 win32 sdk 文档中说明。</td><br>
</tr><br>
<tr><br>
<td valign="top">classid</td><td valign="top">dbtype_guid</td><br>
<td valign="top" width=65%>对象的类标识,例如 wordperfect、word 等等。</td><br>
</tr><br>
<tr><br>
<td valign="top"><a name="characterization">characterization</a></td><td valign="top">dbtype_wstr | <br>
dbtype_byref</td><br>
<td valign="top" width=65%>文档的描述或摘要,由 index server 使用。</td><br>
</tr><br>
<tr><br>
<td valign="top">contents</td><td valign="top">(不适用)</td><br>
<td valign="top" width=65%>文件的主要内容。可以查询,但不能检索。</td><br>
</tr><br>
<tr><br>
<td valign="top">create</td><td valign="top">vt_filetime</td><br>
<td valign="top" width=65%>文件的创建时间。</td><br>
</tr><br>
<tr><br>
<td valign="top">directory</td><td valign="top">dbtype_wstr | <br>
dbtype_byref</td><br>
<td valign="top" width=65%>文件的物理路径,不包含文件名。</td><br>
</tr><br>
<tr><br>
<td valign="top">docappname</td><td valign="top">dbtype_wstr | <br>
dbtype_byref</td><br>
<td valign="top" width=65%>创建文件的应用程序的名称。</td><br>
</tr><br>
<tr><br>
<td valign="top">docauthor</td><td valign="top">dbtype_wstr | <br>
dbtype_byref</td><br>
<td valign="top" width=65%>文档的作者。</td><br>
</tr><br>
<tr><br>
<td>docbytecount</td><td>dbtype_14</td><td>文档的字节数。</td><br>
</tr><br>
<tr><br>
<td>doccategory</td><td>dbtype_str | <br>
dbtype_byref</td><td>文档的类别,如备忘录、计划或便笺。</td><br>
</tr><br>
<tr><br>
<td valign="top">doccharcount</td><td valign="top">dbtype_i4</td><br>
<td valign="top" width=65%>文档的字符数。</td><br>
</tr>
用asp怎样编写文档搜索页面(使用index server)—-4
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » 用asp怎样编写文档搜索页面(使用index server)—-4
相关推荐
- 暂无文章
