233 lines
8.9 KiB
HTML
233 lines
8.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN" "html.dtd">
|
|
<HTML>
|
|
|
|
|
|
<HEAD>
|
|
<TITLE>Index Server Search Form</TITLE>
|
|
|
|
<!--
|
|
Specify various properties of this HTML page, so that they can be queried. The
|
|
properties are:
|
|
|
|
Description: abstract of this page
|
|
Author: author
|
|
Keywords: keywords
|
|
Subject: subject
|
|
Ms.category: category
|
|
Ms.locale: locale or language of this HTML page (US English)
|
|
Content-type: charset identifier of this HTML page (1252)
|
|
|
|
If a description meta tag is present in an HTML page, then it is used as the abstract or summary
|
|
of the HTML page. If a description tag is not present then the Index Server will automatically
|
|
generate an abstract using the text in the title tag, heading tags and so on. To query for a meta
|
|
tag property, the property must be specified in the idq file. The GUID for the meta property
|
|
is D1B5D3F0-C0B3-11CF-9A92-00A0C908DBF1 and the property name is specified by the name field. In
|
|
the case of the description property the name is "description. Hence to query for the description
|
|
property, add the following to the Names section of the idq file
|
|
|
|
[Names]
|
|
MetaDescription(DBTYPE_WSTR) = D1B5D3F0-C0B3-11CF-9A92-00A0C908DBF1 description
|
|
|
|
Then the query
|
|
|
|
@MetaDescription Microsoft Index Server
|
|
|
|
will return this page in the result set. The GUID for meta property is a registry parameter
|
|
located at HKEY_LOCAL_MACHINE
|
|
\System\CurrentControlSet
|
|
\Control\HtmlFilter
|
|
\MetaTagClsid
|
|
|
|
Author, Keywords and Subject properties in a meta tag are treated differently. These properties
|
|
have the friendly names DocAuthor, DocKeywords and DocSubject respectively, and they
|
|
correspond to the Author, Keywords and Subject properties of the Microsoft Summary Information
|
|
property set. Hence, the query
|
|
|
|
@DocAuthor Index Server Team
|
|
|
|
will return this page in the result set.
|
|
|
|
The MS.CATEGORY property is also treated differently. The MS.CATEGORY property is mapped to
|
|
the category property in the Microsoft Document Summary Information property set. The GUID
|
|
for the Document Summary Information property set is d5cdd502-2e9c-101b-9397-08002b2cf9ae,
|
|
and the property id for category in that property set is 2. So, to query for the MS.CATEGORY
|
|
property, add the following to the Names section of the idq file
|
|
|
|
[Names]
|
|
DocCategory(DBTYPE_WSTR) = d5cdd502-2e9c-101b-9397-08002b2cf9ae 2
|
|
|
|
Then the query
|
|
|
|
@DocCategory Internet
|
|
|
|
will return this page in the result set.
|
|
|
|
The MS.LOCALE property specifies the locale or language of this page. The locale property
|
|
allows the Index Server to use the appropriate locale specific resources when processing the
|
|
HTML page. It is very useful to specify the locale property when the HTML pages being indexed are in
|
|
different locales. If all the HTML pages being indexed are in the same locale and it's
|
|
the same as the locale of the server computer on which Index Server is running, then the
|
|
MS.LOCALE property can be omitted without any loss of fidelity. The MS.LOCALE property can also be
|
|
queried just like any other generic meta tag property. To query for the MS.LOCALE property, add the
|
|
following to the Names section of the idq file
|
|
|
|
[Names]
|
|
Locale(DBTYPE_WSTR) = D1B5D3F0-C0B3-11CF-9A92-00A0C908DBF1 ms.locale
|
|
|
|
Then the query
|
|
|
|
@Locale US
|
|
|
|
will return this page in the result set.
|
|
|
|
The charset meta tag specifies the character set of the HTML page. This information
|
|
is used by the Index Server when converting the text in the HTML page to Unicode. The following
|
|
charset IDs are recognized:
|
|
|
|
Base_Charset (Display Name): Charset IDs
|
|
----------------------------------------
|
|
|
|
1252 (Western) : us-ascii, iso8859-1, ascii, iso_8859-1, iso-8859-1, ANSI_X3.4-1968, iso-ir-6,
|
|
ANSI_X3.4-1986, ISO_646.irv:1991, ISO646-US, us, IBM367, cp367, csASCII, latin1,
|
|
iso_8859-1:1987, iso-ir-100, ibm819, cp819, Windows-1252
|
|
|
|
28592 (Central European (ISO)): iso8859-2, iso-8859-2, iso_8859-2, latin2, iso_8859-2:1987,
|
|
iso-ir-101, l2, csISOLatin2
|
|
|
|
1250 (Central European (Windows)): windows-1250, x-cp1250
|
|
|
|
1251 (Cyrillic (Windows)): windows-1251, x-cp1251
|
|
|
|
1253 (Greek (Windows)): windows-1253
|
|
|
|
1254 (Turkish (Windows)):windows-1254
|
|
|
|
932 (Shift-JIS) : shift_jis, x-sjis, ms_Kanji, csShiftJIS
|
|
|
|
EUC-JP (EUC) : Extended_UNIX_Code_Packed_Format_for_Japanese, csEUCPkdFmtJapanese, x-euc-jp
|
|
|
|
JIS (JIS) : csISO2022JP, iso-2022-jp
|
|
|
|
1257 : windows-1257
|
|
|
|
950 (Traditional Chinese (BIG5)) : big5, csbig5, x-x-big5
|
|
|
|
936 (Simplified Chinese): GB_2312-80, iso-ir-58, chinese, csISO58GB231280, csGB2312, gb2312
|
|
|
|
20866 (Cyrillic (KOI8-R)): csKOI8R, koi8-r
|
|
|
|
949 (Korean): ks_c_5601, ks_c_5601-1987, korean, csKSC56011987
|
|
|
|
1255 (Hebrew): ISO_8859-8:1988, iso-ir-138, ISO_8859-8, ISO-8859-8, hebrew, csISOLatinHebrew
|
|
|
|
1256 (Arabic): Windows-1256
|
|
|
|
874 (Thai): Windows-874
|
|
|
|
1258 (Vietnamese): Windows-1258
|
|
-->
|
|
|
|
<META NAME="DESCRIPTION" CONTENT="Sample query form for Microsoft Index Server">
|
|
<META NAME="AUTHOR" CONTENT="Index Server Team">
|
|
<META NAME="KEYWORDS" CONTENT="query, content, hit">
|
|
<META NAME="SUBJECT" CONTENT="sample form">
|
|
<META NAME="MS.CATEGORY" CONTENT="Internet">
|
|
<META NAME="MS.LOCALE" CONTENT="EN-US">
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1252">
|
|
</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><H2>Simple Content Query</H2></TD></TR>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<HR WIDTH=75% ALIGN=center SIZE=3>
|
|
<p>
|
|
|
|
<FORM ACTION="/scripts/samples/search/queryhit.idq" METHOD="GET">
|
|
Enter your query below:
|
|
<TABLE>
|
|
<TR>
|
|
<TD><INPUT TYPE="TEXT" NAME="CiRestriction" SIZE="60" MAXLENGTH="100" VALUE=""></TD>
|
|
<TD><INPUT TYPE="SUBMIT" VALUE="Execute Query"></TD>
|
|
<TD><INPUT TYPE="RESET" VALUE="Clear"></TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD ALIGN=right><A HREF="/samples/search/tipshelp.htm">Tips for searching</A></TD>
|
|
</TR>
|
|
|
|
<INPUT TYPE="HIDDEN" NAME="CiMaxRecordsPerPage" VALUE="10">
|
|
<INPUT TYPE="HIDDEN" NAME="CiScope" VALUE="/">
|
|
<INPUT TYPE="HIDDEN" NAME="TemplateName" VALUE="queryhit">
|
|
<INPUT TYPE="HIDDEN" NAME="CiSort" VALUE="rank[d]">
|
|
<INPUT TYPE="HIDDEN" NAME="HTMLQueryForm" VALUE="/samples/search/queryhit.htm">
|
|
</TABLE>
|
|
</FORM>
|
|
|
|
<BR>
|
|
|
|
<p>
|
|
<HR WIDTH=80% ALIGN=center SIZE=3>
|
|
<p>
|
|
|
|
<TABLE>
|
|
<TR>
|
|
<TD>Other query pages:</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD></TD>
|
|
<TD><A HREF="/samples/search/filesize.htm">File size property query</A></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD></TD>
|
|
<TD><A HREF="/samples/search/filetime.htm">File modification time property query</A></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD></TD>
|
|
<TD><A HREF="/samples/search/author.htm">File author property query</A></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<p>
|
|
|
|
<HR WIDTH=80% ALIGN=center SIZE=3>
|
|
|
|
<CENTER>
|
|
<TABLE WIDTH=600 HEIGHT=50>
|
|
<TR>
|
|
<TD ALIGN=CENTER VALIGN=MIDDLE WIDTH=200>
|
|
<font face="Arial, Helvetica" size="1">
|
|
<b>
|
|
Best experienced with
|
|
<br>
|
|
<a href="http://www.microsoft.com/ie/ie.htm"><img src="/samples/search/bestwith.gif" width="88" height="31" border="0" alt="Microsoft Internet Explorer" vspace="7"></a>
|
|
<br>
|
|
Click here to start.
|
|
</b>
|
|
</font>
|
|
</TD>
|
|
<TD ALIGN=CENTER VALIGN=MIDDLE WIDTH=200>
|
|
<A HREF="http://www.microsoft.com/default.htm"><IMG WIDTH=175 HEIGHT=45 BORDER=0 SRC="/samples/search/home.gif"></A>
|
|
</TD>
|
|
<TD ALIGN=CENTER VALIGN=MIDDLE WIDTH=200>
|
|
<A HREF="http://www.microsoft.com/Powered/"><IMG BORDER=0 SRC="/samples/search/powrbybo.gif" WIDTH=114 HEIGHT=43></A>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
</CENTER>
|
|
|
|
<CENTER><I><FONT SIZE=-1>© 1996 Microsoft Corporation</FONT></I></CENTER>
|
|
<BR>
|
|
|
|
<CENTER>
|
|
<I><A HREF="/samples/search/disclaim.htm">Disclaimer</A></I>
|
|
</CENTER>
|
|
|
|
</BODY>
|
|
</HTML>
|
|
|