![]() |
ActiveXTM Search |
Using the query page, you can do a full-text search for a word or phrase on this web site. Searches produce a list of files that contain the word or phrase anywhere in their text.
The rules for formulating queries are as follows:
Boolean and proximity operators can be used to create a more precise
query.
To search for | Example | Results |
---|---|---|
both terms in the same page | access and basic
-or- access & basic | pages with both the words "access" and "basic" |
either term in a page | cgi or isapi
-or- cgi | isapi | pages with the words "cgi" or "isapi" |
the first term without the second term | access and not basic
-or- access & ! basic | pages with the word "access" but not "basic" |
pages not matching a property value | not @size = 100
-or- ! @size = 100 | pages that are not 100 bytes |
both terms in the same page, close together | excel near project
-or- excel ~ project | pages with the word "excel" near the word "project" |
Hints:
Wildcard operators are useful for finding pages with words similar to a given word.
To search for | Example | Results |
---|---|---|
words with the same prefix | comput* | pages with words that have the prefix "comput", such as "computer", computing", and so on. |
words based on the same stem word | fly** | pages with words based on the same stem as "fly", such as "flying", "flown", "flew", and so on. |
The query engine finds pages that best match the words and phrases
in a free-text query. This is done by automatically finding pages
that match the meaning, not the exact wording, of the query. Boolean,
proximity, and wildcard operators are ignored within a free-text
query.
Free-text queries are prefixed with "$contents ".
To search for | Example | Results |
---|---|---|
files that match free-text | $contents how do I print in Excel? | Pages that mention printing and Excel. |
The query engine supports vector space queries. Vector queries return pages that match a list of words and phrases. The rank of each page indicates how well the page matched the query.
To search for | Example | Results |
---|---|---|
pages that contain specific words | light, bulb | files that best match the words |
pages that contain weighted prefixes, words, and phrases | invent*, light[50], bulb[10], "light bulb"[400] | files that contain words prefixed by "invent", the words "light", "bulb", and the phrase "light bulb". The terms are weighted. |
Property value queries can be used to find files that have property values that match a given criteria. The properties over which you can query include basic file information like file name and file size, and OLE properties including the document summary that is stored in files created by OLE-aware applications.
There are two types of property queries, relational queries and regular expression queries.
Property names are preceded by either the at (@) or pound (#) character. Use (@) for relational queries, and (#) for regular expression queries.
If no property name is specified, @contents is assumed.
Property name | Description |
---|---|
contents | words and phrases in the file |
filename | name of the file |
size | file size |
write | file last modification time |
Property name | Description |
---|---|
DocTitle | title of the document |
DocSubject | subject of the document |
DocAuthor | the document's author |
DocKeywords | keywords for the document |
DocComments | comments about the document |
A more complete list of properties can be found here.
Relational operators are used in relational property queries.
To search for | Example | Results |
---|---|---|
property values in relation to a fixed value | @size < 100
@size <= 100 @size = 100 @size != 100 @size >= 100 @size > 100 | files whose size matches the query |
property values with all of a set of bits on | @attrib ^a 0x820 | compressed files with the archive bit on |
property values with some of a set of bits on | @attrib ^s 0x20 | files with the archive bit on |
To search for | Example | Results |
---|---|---|
a specific value | @DocAuthor = Bill Gates | files authored by "Bill Gates" |
values beginning with a prefix | #DocAuthor George* | files whose author property begins with "George" |
files with any of a set of extensions | #filename *.|(exe|,dll|,sys|) | files with ".exe", ".dll", or ".sys" extensions |
files modified after a date | @write > 96/2/14 10:00:00 | files modified after February 14, 1996 at 10:00 GMT |
files modified after a relative date | @write > -1d2h | files modified in the last 26 hours |
vectors matching a vector | @vectorprop = { 10, 15, 20 } | OLE documents with a vectorprop value of { 10, 15, 20 } |
vectors where each value matches a criteria | @vectorprop >^a 15 | OLE documents with a vectorprop value in which all values in the vector are greater than 15 |
vectors where at least one value matches a criteria | @vectorprop =^s 15 | OLE documents with a vectorprop value in which at least one value is 15 |
Regular expressions in property queries are defined as follows:
Example | Results |
---|---|
@size > 1000000 | pages larger than one million bytes |
@write > 95/12/23 | pages modified after the date |
Apple tree | pages with the phrase "apple tree" |
"apple tree" | same as above |
@contents apple tree | same as above |
Microsoft and @size > 1000000 | pages with the word "Microsoft" that are larger than one million bytes |
"microsoft and @size > 1000000" | pages with the phrase specified (not the same as above) |
#filename *.avi | video files. (the '#' prefix is used because the query contains a regular expression) |
@attrib ^s 32 | pages with the archive attribute bit on |
@docauthor = William Gates | pages with the given author |
$contents why is the sky blue? | pages that match the query |
@size < 100 & #filename *.gif | GIF files less than 100 bytes in size |
These properties are always available for queries. Additional properties may also be available depending on the configuration of the web server.
Property Name | Description |
---|---|
Filename | file name |
Size | file size |
Attrib | file attributes |
Write | last write time |
Create | create time |
Access | access time |
Change | last change time |
Contents | file contents |
ShortFileName | 8.3 short file name |
DocTitle | title of the document |
DocSubject | subject of the document |
DocAuthor | the document's author |
DocKeywords | keywords for the document |
DocComments | comments about the document |
DocTemplate | template file used for the document |
DocLastAuthor | the last author to work on the document |
DocRevNumber | the revision number of the document |
DocEditTime | the total amount of time spent editing the document |
DocLastPrinter | the last time the file was printed |
DocCreateDTM | create date and time |
DocLastSaveDTM | last save date and time |
DocPageCount | number of pages in the document |
DocWordCount | number of words in the document |
DocCharCount | number of characters in the document |
DocAppName | name of the application used to create the file |