windows-nt/Source/XPSP1/NT/inetsrv/query/web/html/scripts/offprop.htx

502 lines
18 KiB
Plaintext
Raw Normal View History

2020-09-26 03:20:57 -05:00
<HTML>
<!--
<%CiTemplate%>
This is the formatting page for query results. This file defines
how the result page header, rows, and footer will appear.
-->
<HEAD>
<!-- The title lists the # of properties -->
<%if CiMatchedRecordCount eq 0%>
<TITLE><%CiRestriction%> - no properties matched.</TITLE>
<%else%>
<TITLE><%CiRestriction%> - properties <%CiFirstRecordNumber%> to <%CiLastRecordNumber%></TITLE>
<%endif%>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#000066" VLINK="#808080" ALINK="#FF0000" TOPMARGIN=0>
<TABLE>
<TR>
<TD><IMG SRC ="/samples/search/book08.jpg" ALIGN=Middle></TD>
<TD VALIGN=MIDDLE><H1>Index Server</H1><br><center><h2>Search Results</h2></center></TD>
</TR>
</TABLE>
<!-- Print a header that lists the query and the number of hits -->
<H5>
<%if CiMatchedRecordCount eq 0%>
No properties from the Microsoft Office property set are currently cached.
<%else%>
Currently cached properties in the Microsoft Office property set:
<%endif%>
</H5>
<!--
This table has a link to a new query page, a previous button, and
a next page button. The buttons are only displayed when appropriate.
-->
<TABLE WIDTH=80%>
<!--
Query.htm set HTMLQueryForm as the name of the page to return to
for a new query.
-->
<!-- Define a "previous" button if this isn't the first page -->
<%if CiContainsFirstRecord eq 0%>
<TD ALIGN=LEFT>
<FORM ACTION="/scripts/samples/search/props.idq" METHOD="GET">
<INPUT TYPE="HIDDEN"
NAME="CiBookMark" VALUE="<%CiBookMark%>" >
<INPUT TYPE="HIDDEN"
NAME="CiBookmarkSkipCount" VALUE="-<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="HIDDEN"
NAME="CiRestriction" VALUE="<%CiRestriction%>" >
<INPUT TYPE="HIDDEN"
NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="SUBMIT"
VALUE="Previous <%CiMaxRecordsPerPage%> properties">
</FORM>
</TD>
<%endif%>
<!-- Define a "next" button if this isn't the last page -->
<%if CiContainsLastRecord eq 0%>
<TD ALIGN=RIGHT>
<FORM ACTION="/scripts/samples/search/props.idq" METHOD="GET">
<INPUT TYPE="HIDDEN"
NAME="CiBookMark" VALUE="<%CiBookMark%>" >
<INPUT TYPE="HIDDEN"
NAME="CiBookmarkSkipCount" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="HIDDEN"
NAME="CiRestriction" VALUE="<%CiRestriction%>" >
<INPUT TYPE="HIDDEN"
NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="SUBMIT"
VALUE="Next <%CiRecordsNextPage%> properties">
</FORM>
</TD>
<%endif%>
</TABLE>
<HR>
<!--
The begindetail/enddetail section describes how each row of output
is be formatted. The sample below prints:
- record number
- document title (if one exists) or virtual path of the file
- the abstract for the file
- the url for the file
- the file's size and last write time
-->
<table>
<tr>
<th align="left">Property</th>
<th align="left">Allocation Size</th>
<th align="left">Variant Type</th>
</tr>
<!--
Since only *checked* boxes get sent as parameters, we need (up to) two variables
per root. They are:
NAME: PROOT_<virtual root> VALUE: physical path to root
NAME: INDEX_<virtual root> VALUE: "on". Implies root is indexed.
-->
<%begindetail%>
<tr>
<td><%if MetaPropertyName ne ""%><%MetaPropertyName%>
<%else%>
<%if MetaPropertyDispId eq 2%>Title<%else%>
<%if MetaPropertyDispId eq 3%>Subject<%else%>
<%if MetaPropertyDispId eq 4%>Author<%else%>
<%if MetaPropertyDispId eq 5%>Keywords<%else%>
<%if MetaPropertyDispId eq 6%>Comments<%else%>
<%if MetaPropertyDispId eq 7%>Template<%else%>
<%if MetaPropertyDispId eq 8%>Last Author<%else%>
<%if MetaPropertyDispId eq 9%>Revision Number<%else%>
<%if MetaPropertyDispId eq 10%>Total Editing Time<%else%>
<%if MetaPropertyDispId eq 11%>Last Printed<%else%>
<%if MetaPropertyDispId eq 14%>Page Count<%else%>
<%if MetaPropertyDispId eq 15%>Word Count<%else%>
<%if MetaPropertyDispId eq 16%>Character Count<%else%>
<%if MetaPropertyDispId eq 18%>Application Name<%else%>
<%MetaPropertyDispId%><%endif%><%endif%><%endif%><%endif%><%endif%><%endif%><%endif%><%endif%><%endif%><%endif%><%endif%><%endif%><%endif%><%endif%>
<%endif%>
</td>
<td><%size%></td>
<td><%if StorageType eq 1%>VT_NULL<%endif%>
<%if StorageType eq 2%>VT_I2<%endif%>
<%if StorageType eq 3%>VT_I4<%endif%>
<%if StorageType eq 4%>VT_R4<%endif%>
<%if StorageType eq 5%>VT_R8<%endif%>
<%if StorageType eq 6%>VT_CY<%endif%>
<%if StorageType eq 7%>VT_DATE<%endif%>
<%if StorageType eq 8%>VT_BSTR<%endif%>
<%if StorageType eq 10%>VT_ERROR<%endif%>
<%if StorageType eq 11%>VT_BOOL<%endif%>
<%if StorageType eq 12%>VT_VARIANT<%endif%>
<%if StorageType eq 16%>VT_I1<%endif%>
<%if StorageType eq 17%>VT_UI1<%endif%>
<%if StorageType eq 18%>VT_UI2<%endif%>
<%if StorageType eq 19%>VT_UI4<%endif%>
<%if StorageType eq 20%>VT_I8<%endif%>
<%if StorageType eq 21%>VT_UI8<%endif%>
<%if StorageType eq 22%>VT_INT<%endif%>
<%if StorageType eq 23%>VT_UINT<%endif%>
<%if StorageType eq 30%>VT_LPSTR<%endif%>
<%if StorageType eq 31%>VT_LPWSTR<%endif%>
<%if StorageType eq 64%>VT_FILETIME<%endif%>
<%if StorageType eq 65%>VT_BLOB<%endif%>
<%if StorageType eq 71%>VT_CF<%endif%>
<%if StorageType eq 72%>VT_CLSID<%endif%>
<%if StorageType eq 4098%>VT_VECTOR | VT_I2<%endif%>
<%if StorageType eq 4099%>VT_VECTOR | VT_I4<%endif%>
<%if StorageType eq 4100%>VT_VECTOR | VT_R4<%endif%>
<%if StorageType eq 4101%>VT_VECTOR | VT_R8<%endif%>
<%if StorageType eq 4102%>VT_VECTOR | VT_CY<%endif%>
<%if StorageType eq 4103%>VT_VECTOR | VT_DATE<%endif%>
<%if StorageType eq 4104%>VT_VECTOR | VT_BSTR<%endif%>
<%if StorageType eq 4106%>VT_VECTOR | VT_ERROR<%endif%>
<%if StorageType eq 4107%>VT_VECTOR | VT_BOOL<%endif%>
<%if StorageType eq 4108%>VT_VECTOR | VT_VARIANT<%endif%>
<%if StorageType eq 4112%>VT_VECTOR | VT_I1<%endif%>
<%if StorageType eq 4113%>VT_VECTOR | VT_UI1<%endif%>
<%if StorageType eq 4114%>VT_VECTOR | VT_UI2<%endif%>
<%if StorageType eq 4115%>VT_VECTOR | VT_UI4<%endif%>
<%if StorageType eq 4116%>VT_VECTOR | VT_I8<%endif%>
<%if StorageType eq 4117%>VT_VECTOR | VT_UI8<%endif%>
<%if StorageType eq 4118%>VT_VECTOR | VT_INT<%endif%>
<%if StorageType eq 4119%>VT_VECTOR | VT_UINT<%endif%>
<%if StorageType eq 4126%>VT_VECTOR | VT_LPSTR<%endif%>
<%if StorageType eq 4127%>VT_VECTOR | VT_LPWSTR<%endif%>
<%if StorageType eq 4160%>VT_VECTOR | VT_FILETIME<%endif%>
<%if StorageType eq 4161%>VT_VECTOR | VT_BLOB<%endif%>
<%if StorageType eq 4167%>VT_VECTOR | VT_CF<%endif%>
<%if StorageType eq 4168%>VT_VECTOR | VT_CLSID<%endif%>
</td>
</tr>
<%enddetail%>
</table>
<HR>
Desired caching:
<FORM ACTION="/scripts/samples/search/props.ida" METHOD="POST">
<table>
<tr>
<th align="left">Property</th>
<th align="left">Allocation Size</th>
<th align="left">Variant Type</th>
<th align="left">Property</th>
<th align="left">Allocation Size</th>
<th align="left">Variant Type</th>
</tr>
<tr>
<td>Application Name</td>
<td><input type="TEXT"
name="CACHESIZE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_18"
size="4"
maxlength="4"
value="20" >
</td>
<td><SELECT name="CACHETYPE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_18">
<OPTION SELECTED VALUE="30">VT_LPSTR
<OPTION VALUE="0">(not cached)
</SELECT>
</td>
<td>Page Count</td>
<td><input type="TEXT"
name="CACHESIZE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_14"
size="4"
maxlength="4"
value="4" >
</td>
<td><SELECT name="CACHETYPE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_14">
<OPTION SELECTED VALUE="3">VT_I4
<OPTION VALUE="0">(not cached)
</SELECT>
</td>
</tr>
<tr>
<td>Author</td>
<td><input type="TEXT"
name="CACHESIZE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_4"
size="4"
maxlength="4"
value="15" >
</td>
<td><SELECT name="CACHETYPE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_4">
<OPTION SELECTED VALUE="30">VT_LPSTR
<OPTION VALUE="0">(not cached)
</SELECT>
</td>
<td>Revision Number</td>
<td><input type="TEXT"
name="CACHESIZE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_9"
size="4"
maxlength="4"
value="4" >
</td>
<td><SELECT name="CACHETYPE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_9">
<OPTION SELECTED VALUE="30">VT_LPSTR
<OPTION VALUE="0">(not cached)
</SELECT>
</td>
</tr>
<tr>
<td>Character Count</td>
<td><input type="TEXT"
name="CACHESIZE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_16"
size="4"
maxlength="4"
value="4" >
</td>
<td><SELECT name="CACHETYPE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_16">
<OPTION SELECTED VALUE="3">VT_I4
<OPTION VALUE="0">(not cached)
</SELECT>
</td>
<td>Subject</td>
<td><input type="TEXT"
name="CACHESIZE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_3"
size="4"
maxlength="4"
value="25" >
</td>
<td><SELECT name="CACHETYPE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_3">
<OPTION SELECTED VALUE="30">VT_LPSTR
<OPTION VALUE="0">(not cached)
</SELECT>
</td>
</tr>
<tr>
<td>Comments</td>
<td><input type="TEXT"
name="CACHESIZE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_6"
size="4"
maxlength="4"
value="30" >
</td>
<td><SELECT name="CACHETYPE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_6">
<OPTION SELECTED VALUE="30">VT_LPSTR
<OPTION VALUE="0">(not cached)
</SELECT>
</td>
<td>Template</td>
<td><input type="TEXT"
name="CACHESIZE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_7"
size="4"
maxlength="4"
value="20" >
</td>
<td><SELECT name="CACHETYPE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_7">
<OPTION SELECTED VALUE="30">VT_LPSTR
<OPTION VALUE="0">(not cached)
</SELECT>
</td>
</tr>
<tr>
<td>Keywords</td>
<td><input type="TEXT"
name="CACHESIZE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_5"
size="4"
maxlength="4"
value="30" >
</td>
<td><SELECT name="CACHETYPE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_5">
<OPTION SELECTED VALUE="30">VT_LPSTR
<OPTION VALUE="0">(not cached)
</SELECT>
</td>
<td>Title</td>
<td><input type="TEXT"
name="CACHESIZE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_2"
size="4"
maxlength="4"
value="40" >
</td>
<td><SELECT name="CACHETYPE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_2">
<OPTION SELECTED VALUE="30">VT_LPSTR
<OPTION VALUE="0">(not cached)
</SELECT>
</td>
</tr>
<tr>
<td>Last Author</td>
<td><input type="TEXT"
name="CACHESIZE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_8"
size="4"
maxlength="4"
value="15" >
</td>
<td><SELECT name="CACHETYPE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_8">
<OPTION SELECTED VALUE="30">VT_LPSTR
<OPTION VALUE="0">(not cached)
</SELECT>
</td>
<td>Total editing time</td>
<td><input type="TEXT"
name="CACHESIZE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_10"
size="4"
maxlength="4"
value="8" >
</td>
<td><SELECT name="CACHETYPE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_10">
<OPTION SELECTED VALUE="64">VT_FILETIME
<OPTION VALUE="0">(not cached)
</SELECT>
</td>
</tr>
<tr>
<td>Last Printed</td>
<td><input type="TEXT"
name="CACHESIZE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_11"
size="4"
maxlength="4"
value="8" >
</td>
<td><SELECT name="CACHETYPE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_11">
<OPTION SELECTED VALUE="64">VT_FILETIME
<OPTION VALUE="0">(not cached)
</SELECT>
</td>
<td>Word Count</td>
<td><input type="TEXT"
name="CACHESIZE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_15"
size="4"
maxlength="4"
value="4" >
</td>
<td><SELECT name="CACHETYPE_F29F85E0-4FF9-1068-AB91-08002B27B3D9_PROPID_15">
<OPTION SELECTED VALUE="3">VT_I4
<OPTION VALUE="0">(not cached)
</SELECT>
</td>
</tr>
</table>
<INPUT TYPE="SUBMIT"
VALUE="Submit changes">
</FORM>
<P>
<!-- Only display a line if there were any hits that matched the query -->
<%if CiMatchedRecordCount ne 0%>
<HR>
<%endif%>
<TABLE WIDTH=80%>
<!--
Query.htm set HTMLQueryForm as the name of the page to return to
for a new query.
-->
<TD> <A HREF="/samples/search/admin.htm">Administration Main Menu</A> </TD>
<!-- Define a "previous" button if this isn't the first page -->
<%if CiContainsFirstRecord eq 0%>
<TD ALIGN=LEFT>
<FORM ACTION="/scripts/samples/search/props.idq" METHOD="GET">
<INPUT TYPE="HIDDEN"
NAME="CiBookMark" VALUE="<%CiBookMark%>" >
<INPUT TYPE="HIDDEN"
NAME="CiBookmarkSkipCount" VALUE="-<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="HIDDEN"
NAME="CiRestriction" VALUE="<%CiRestriction%>" >
<INPUT TYPE="HIDDEN"
NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="SUBMIT"
VALUE="Previous <%CiMaxRecordsPerPage%> properties">
</FORM>
</TD>
<%endif%>
<!-- Define a "next" button if this isn't the last page -->
<%if CiContainsLastRecord eq 0%>
<TD ALIGN=RIGHT>
<FORM ACTION="/scripts/samples/search/props.idq" METHOD="GET">
<INPUT TYPE="HIDDEN"
NAME="CiBookMark" VALUE="<%CiBookMark%>" >
<INPUT TYPE="HIDDEN"
NAME="CiBookmarkSkipCount" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="HIDDEN"
NAME="CiRestriction" VALUE="<%CiRestriction%>" >
<INPUT TYPE="HIDDEN"
NAME="CiMaxRecordsPerPage" VALUE="<%EscapeRAW CiMaxRecordsPerPage%>" >
<INPUT TYPE="SUBMIT"
VALUE="Next <%CiRecordsNextPage%> properties">
</FORM>
</TD>
<%endif%>
</TABLE>
<P><BR>
<!--
If the index is out of date (for example, if it's still being created
or updated after changes to files in an indexed directory) let the
user know.
-->
<%if CiOutOfDate ne 0%>
<P><BR>
<I><B>The index is out of date.</B></I>
<%endif%>
<!--
If the query was not executed because it needed to enumerate to
resolve the query instead of using the index, but CiForceUseCi
was TRUE, let the user know
-->
<%if CiQueryIncomplete eq 1%>
<P><BR>
<I><B>The query is too expensive to complete.</B></I>
<%endif%>
<!-- Output a page number and count of pages -->
<%if CiTotalNumberPages gt 0%>
<P>
Page <%CiCurrentPageNumber%> of <%CiTotalNumberPages%>
<P>
<%endif%>
</HTML>