欢迎光临
我们一直在努力

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

建站超值云服务器,限时71元/月

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%>文档的描述或摘要,由 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>

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » 用asp怎样编写文档搜索页面(4)
分享到: 更多 (0)