These properties are always available for queries. Additional properties may also be available depending on the configuration of the Web server.
This section contains:
Friendly Name | Datatype | Property |
---|---|---|
A_HRef | DBTYPE_WSTR | DBTYPE_BYREF | Text of HTML HREF. This property name was created for Microsoft® Site Server and corresponds with the Index Server property name HtmlHRef. Can be queried but not retrieved. |
Access | VT_FILETIME | Last time file was accessed. |
All | (not applicable) | Searches every property for a string. Can be queried but not retrieved. |
AllocSize | DBTYPE_I8 | Size of disk allocation for file. |
Attrib | DBTYPE_UI4 | File attributes. Documented in Win32 SDK. |
ClassId | DBTYPE_GUID | Class ID of object, for example, WordPerfect, Word, and so on. |
Characterization | DBTYPE_WSTR | DBTYPE_BYREF | Characterization, or abstract, of document. Computed by Index Server. |
Contents | (not applicable) | Main contents of file. Can be queried but not retrieved. |
Create | VT_FILETIME | Time file was created. |
Directory | DBTYPE_WSTR | DBTYPE_BYREF | Physical path to the file, not including the file name. |
DocAppName | DBTYPE_WSTR | DBTYPE_BYREF | Name of application that created the file. |
DocAuthor | DBTYPE_WSTR | DBTYPE_BYREF | Author of document. |
DocByteCount | DBTYPE_14 | Number of bytes in a document. |
DocCategory | DBTYPE_STR | DBTYPE_BYREF | Type of document such as a memo, schedule, or white paper. |
DocCharCount | DBTYPE_I4 | Number of characters in document. |
DocComments | DBTYPE_WSTR | DBTYPE_BYREF | Comments about document. |
DocCompany | DBTYPE_STR | DBTYPE_BYREF | Name of the company for which the document was written. |
DocCreatedTm | VT_FILETIME | Time document was created. |
DocEditTime | VT_FILETIME | Total time spent editing document. |
DocHiddenCount | DBTYPE_14 | Number of hidden slides in a Microsoft® PowerPoint document. |
DocKeywords | DBTYPE_WSTR | DBTYPE_BYREF | Document keywords. |
DocLastAuthor | DBTYPE_WSTR | DBTYPE_BYREF | Most recent user who edited document. |
DocLastPrinted | VT_FILETIME | Time document was last printed. |
DocLastSavedTm | VT_FILETIME | Time document was last saved. |
DocLineCount | DBTYPE_14 | Number of lines contained in a document. |
DocManager | DBTYPE_STR | DBTYPE_BYREF | Name of the manager of the documents author. |
DocNoteCount | DBTYPE_14 | Number of pages with notes in a PowerPoint document. |
DocPageCount | DBTYPE_I4 | Number of pages in document. |
DocParaCount | DBTYPE_14 | Number of paragraphs in a document. |
DocPartTitles | DBTYPE_STR | DBTYPE_VECTOR | Names of document parts. For example, in Microsoft Excel part titles are the names of spreadsheets; in PowerPoint, slide titles; and in Word for Windows, the names of the documents in the master document. |
DocPresentationTarget | DBTYPE_STR|DBTYPE_BYREF | Target format (35mm, printer, video, and so on) for a presentation in PowerPoint. |
DocRevNumber | DBTYPE_WSTR | DBTYPE_BYREF | Current version number of document. |
DocSlideCount | DBTYPE_14 | Number of slides in a PowerPoint document. |
DocSubject | DBTYPE_WSTR | DBTYPE_BYREF | Subject of document. |
DocTemplate | DBTYPE_WSTR | DBTYPE_BYREF | Name of template for document. |
DocTitle | DBTYPE_WSTR | DBTYPE_BYREF | Title of document. |
DocWordCount | DBTYPE_I4 | Number of words in document. |
FileIndex | DBTYPE_I8 | Unique ID of file. |
FileName | DBTYPE_WSTR | DBTYPE_BYREF | Name of file. |
HitCount | DBTYPE_I4 | Number of hits (words matching query) in file. |
HtmlHRef | DBTYPE_WSTR | DBTYPE_BYREF | Text of HTML HREF. Can be queried but not retrieved. |
HtmlHeading1 | DBTYPE_WSTR | DBTYPE_BYREF | Text of HTML document in style H1. Can be queried but not retrieved. |
HtmlHeading2 | DBTYPE_WSTR | DBTYPE_BYREF | Text of HTML document in style H2. Can be queried but not retrieved. |
HtmlHeading3 | DBTYPE_WSTR | DBTYPE_BYREF | Text of HTML document in style H3. Can be queried but not retrieved. |
HtmlHeading4 | DBTYPE_WSTR | DBTYPE_BYREF | Text of HTML document in style H4. Can be queried but not retrieved. |
HtmlHeading5 | DBTYPE_WSTR | DBTYPE_BYREF | Text of HTML document in style H5. Can be queried but not retrieved. |
HtmlHeading6 | DBTYPE_WSTR | DBTYPE_BYREF | Text of HTML document in style H6. Can be queried but not retrieved. |
Img_Alt | DBTYPE_WSTR | DBTYPE_BYREF | Alternate text for <IMG> tags. Can be queried but not retrieved. |
Path | DBTYPE_WSTR | DBTYPE_BYREF | Full physical path to file, including file name. |
Rank | DBTYPE_I4 | Rank of row. Ranges from 0 to 1000. Larger numbers indicate better matches. |
RankVector | DBTYPE_I4 | DBTYPE_VECTOR | Ranks of individual components of a vector query. |
ShortFileName | DBTYPE_WSTR | DBTYPE_BYREF | Short (8.3) file name. |
Size | DBTYPE_I8 | Size of file, in bytes. |
USN | DBTYPE_I8 | Update Sequence Number. NTFS drives only. |
VPath | DBTYPE_WSTR | DBTYPE_BYREF | Full virtual path to file, including file name. If more than one possible path, then the best match for the specific query is chosen. |
WorkId | DBTYPE_I4 | Internal ID for file. Used within Index Server. |
Write | VT_FILETIME | Last time file was written. |
To define properties that are not in the previous list, you must list them in a [Names] section in the .idq file. To use these properties in a restriction, sort specification, or as a retrieved column, you have define them in the .idq file, using the following format:
[Names]
#Properties that are not in the standard list
Propertyname ( Datatype ) = GUID ["Name" | propid]
In the syntax, "Name" is the property name ("Sales" in the following example), and propid is the property ID in hexadecimal. Note that you need to surround the friendly name with quotation marks, but the property ID does not take quotation marks.
For example, suppose you want to define an HTML meta tag as a property name that somebody can search for. The property you want to define is Sales.
To define the Sales property
MetaDescription(DBTYPE_WSTR) = d1b5d3f0-c0b3-11cf-9a92-00a0c908dbf1 "Sales"
The GUID number comes from the MetaTagClsid parameter in the registry, at the following location:
HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Control \HtmlFilter \MetaTagClsid
For example, say you want to search for all files that give sales projections for the future:
In File1.htm:
<META NAME="Sales" CONTENT="Projections for 1998">
In File2.htm:
<META NAME="Sales" CONTENT="Projections for 1999">
In File3.htm:
<META NAME="Sales" CONTENT="Sales in 1997">
Note Be sure to add your META NAME tags between the <head> and </head> HTML tags at the beginning of the file.
You can now search for all files that show sales projections. Send the following query:
@metadescription projections
This query returns all the files with the word projections in the CONTENT field of the meta tag. In this example, File1.htm and File2.htm are returned.
But suppose you want to search for sales by year, for example a list of sales in 1997. Send the following query:
@metadescription 1997
File3.htm is returned.
For more information about defining columns and properties, see the following topics:
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/language/asp/ix/ixqryprn.htm, 14KB, , updated: 1997/10/2 09:14, local time: 2024/12/28 03:37,
3.142.131.51:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/language/asp/ix/ixqryprn.htm"> Microsoft Index Server: List of Property Names</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.