Windows Search 高级搜索语法
2010-04-28 18:11
417 查看
Windows Search, including the search functionality in Windows Vista and
Windows 7
Q
uick Start Operators
Advanced Operators
Desktop Search syntax
Note:
Boolean operators must be in
all UPPERCASE
letters.
Boolean operators
Numbers and ranges
To specify a date range, type the
property followed by two dates. Closed date ranges are indicated by
typing "...". For example, type from:david sent:11/05/04...11/05/05
.
Windows Desktop Search recognizes all Windows date formats and also
recognizes the following values:
·
Relative
dates:
For example, today, tomorrow, yesterday
·
Multi-word
relative dates:
For example, this week, next month, last week, past
month, coming year
·
Days:
Sunday, Monday ... Saturday
·
Months:
January, February ... December
Dates and date ranges
Common file properties
The syntax listed in the preceding table
can be used with any of the following file properties. For example, to
find email from "jake" that was sent in 2005, your query would look like
this: kind:email author:patrick after:12/31/2004
.
To restrict by file store
If you use several email accounts and you
want to limit a query to either Microsoft Office Outlook or Outlook
Express, you can use the store:
indicator.
Properties for file type:
All
These are file format-specific properties you can
use
Properties for file type:
Contact
These are great Outlook contact-specific operators
Properties for file type:
Communications (email, appointments)
These operators can help you quickly find that
right set of email or that contact you need.
Properties for file type:
Calendar
Need to find an appointment?
These
appointment-specific operators can let you quickly search your entire
calendar.
Properties for file type:
Documents
Here are some handy doc-specific operators. "Last
saved by" is super-useful when a document is being co-authored by a
group of people.
Properties for file type:
Music
Music fans, these terms will let you find that
track or group of tracks you need in an instant.
Properties for file type:
Picture
If you're a shutterbug and just want to share some
photos with friends and family, these terms can help to manage your
library of photos.
Properties for file type:
Recorded TV
Find that TV show or movie and grab some popcorn.
Properties for file type: Video
Windows 7
[b] Windows
Search: Technical Resources Overview
[/b]
Quick Start Operators
Type this ... | To find this ... |
windows | Items containing WinDOwS , windows , WINDOWS or any other combination of uppercase and lowercase letters |
microsoft windows | Items containing both words microsoft and windows |
microsoft NOT windows Note: The word NOT must be in all uppercase letters | Items containing microsoft , but not windows . |
microsoft not windows Note: The word not must be in all lowercase letters | Items containing all three words—microsoft, not, windows —but not necessarily in that order |
microsoft OR windows Note: The word OR must be in all uppercase letters | Items containing microsoft, windows, or both . |
microsoft or windows Note: The word or must be in all lowercase letters. | Items containing all three words—microsoft, or, windows —but not necessarily in that order |
"microsoft windows" | Items containing the exact phrase microsoft windows . |
microsoft has attachment:true | Items that have attachments containing the word microsoft |
microsoft isattachment:true | Items that are attachments containing the word microsoft |
microsoft date:yesterday | Items containing the word microsoft whose date is yesterday Windows Desktop Search also recognizes the following date values: · Relative dates: For example, today, tomorrow, yesterday · Multi-word relative dates: For example, this week, next month, last week, past month, coming year · Days: Sunday, Monday ... Saturday · Months: January, February ... December |
author: patrick | Items created by someone whose name contains the word patrick . |
author:"patrick hines" | Items created by patrick hines . |
subject:"microsoft windows" | Items whose subject contains the phrase microsoft windows . |
subject:microsoft windows | Items with the word microsoft in the subject line and windows anywhere else in the document. |
Desktop Search syntax
Keyword/ Symbol | Example | Function |
NOT | microsoft NOT windows | Finds items containing microsoft , but not windows |
- | microsoft - windows | Finds items containing microsoft , but not windows |
AND | microsoft AND windows | Finds items containing microsoft and windows |
+ | microsoft + windows | Finds items containing microsoft and windows |
Quotation marks | "microsoft windows" | Finds items containing the exact phrase microsoft windows |
Parentheses | (microsoft windows) | Finds items containing the terms microsoft and windows in any order |
> | date: >11/05/04 size: >5 | Finds items with a date after 11/05/04 Finds items with a size greater than 5 |
< | date: <11/05/04 size: <5 | Finds items with a date before 11/05/04 Finds items with a size less than 5 |
Boolean operators must be in
all UPPERCASE
letters.
Boolean operators
Property | Example | Function |
has:attachment | report has:attachment | Finds items containing the word report that have attachments. Same as hasattachment:true |
is:attachment | report is:attachment | Finds items that have attachments containing the word report . Same as isattachment:true |
before:date | before:10/9/2004 | Finds items whose PrimaryDate field contains a date before 10/9/2004 . |
after:date | after:10/9/2004 | Finds items whose PrimaryDate field contains a date after 10/9/2004 . |
author:name | author:patrick | Finds items with patrick in the author property. |
author:"name" | author:"patrick hines" | Finds items with the words patrick hines , in that order, in the author property. |
author:(name) | author:(patrick hines) | Finds items with patrick and hines in the Author property. |
author:(name OR name) | author:(patrick OR bob) | Finds items with patrick or bob in the Author property. |
author:name name | author:patrick bob | Finds items with patrick in the Author property and bob anywhere in the document. |
from:name | from:patrick | Finds items with patrick in either fromName OR fromAddress, since "from" is a property name for both fromName and fromAddress. |
Numbers and ranges
To specify a date range, type theproperty followed by two dates. Closed date ranges are indicated by
typing "...". For example, type from:david sent:11/05/04...11/05/05
.
Windows Desktop Search recognizes all Windows date formats and also
recognizes the following values:
·
Relative
dates:
For example, today, tomorrow, yesterday
·
Multi-word
relative dates:
For example, this week, next month, last week, past
month, coming year
·
Days:
Sunday, Monday ... Saturday
·
Months:
January, February ... December
Dates and date ranges
Syntax | Results |
size:>50 <70 | Searches for files with a value in the Size property between 50 and 70 , excluding those sizes |
size:>=50 <=70 | Searches for files with a value in the Size property between 50 and 70 , including those sizes |
date:>2/7/05<2/10/05 | Searches for a date in the Date property between the values 2/7/05 and 2/10/05 , excluding the end dates |
date:>=2/7/05<=2/10/05 | Searches for a date in the Date property between the values 2/7/05 and 2/10/05 , including the end dates |
Common file properties
The syntax listed in the preceding tablecan be used with any of the following file properties. For example, to
find email from "jake" that was sent in 2005, your query would look like
this: kind:email author:patrick after:12/31/2004
.
To restrict by file type | Use | Example |
Communications | communications | kind:communications |
Contacts | contacts person | kind:contacts kind:person |
E-mail | email | kind:email |
Instant Messenger conversations | im | kind:im |
Meetings | meetings | kind:meetings |
Tasks | tasks | kind:tasks |
Notes | notes | kind:notes |
Documents | docs | kind:docs |
Music | music song | kind:music kind:song |
Pictures | pics pictures | kind:pics kind:pictures |
Videos | videos | kind:videos |
Folders | folders | kind:folders |
Folder name | foldername | foldername:mydocs |
Programs | programs | kind:programs |
Recorded TV | tv | kind:tv |
Link | link | kind:link |
Journal entry | journal | kind:journal |
If you use several email accounts and you
want to limit a query to either Microsoft Office Outlook or Outlook
Express, you can use the store:
indicator.
Store | Use | Example |
Files | file | store:file |
Offline files | csc | store:csc |
Outlook | mapi | store:mapi |
Outlook Express | oe | store:oe |
All
These are file format-specific properties you can
use
Property | Use | Example |
Title | title, subject, about | title:manager |
Status | status | status:active |
Date | date | date:lastweek |
Date modified | datemodified, modified | modified:lastweek |
Importance | importance, priority | importance:high |
Size | size | size:>50 |
Deleted | deleted,isdeleted | isdeleted:true |
Is attachment | isattachment | isattachment:false |
To | to, toname | to:johnsmith |
Cc | cc, ccname | cc:david |
Company | company | company:adventure-works |
Category | category | category:business |
Keywords | keywords | keywords:sports |
Album | album | album:greatest |
File name | filename, file | filename:2006hits |
Genre | genre | genre:jazz |
Author | author, by | author:david |
Folder | folder, under, path | folder:sample |
Ext | ext, fileext | ext:.rtf |
File name | filename, file | filename:sample |
Tags | tag, keyword | tag:personal |
Type | type | type:image |
Contact
These are great Outlook contact-specific operators
Property | Use | Example |
Job title | jobtitle | jobtitle:manager |
IM address | imaddress | imaddress:luis@adventure-works.com |
Assistant's phone | assistantsphone | assistantsphone:sample |
Assistant name | assistantname | assistantname:roberto |
Profession | profession | profession:accountant |
Nickname | nickname | nickname:louis |
Spouse | spouse | spouse:susana |
Business city | businesscity | businesscity:redmond |
Business postal code | businesspostalcode | businesspostalcode:98052 |
Business home page | businesshomepage | businesshomepage:www.adventure-works.com |
Callback phone number | callbacknumber | callbacknumber:sample |
Car phone | carphone | carphone:sample |
Children | children | children:anna |
First name | firstname | firstname:maria |
Last name | lastname | lastname:gonzalez |
Home fax | homefax | homefax:sample |
Manager's name | manager | manager:carlos |
Pager | pager | pager:sample |
Business phone | businessphone | businessphone:sample |
Home phone | homephone | homephone:sample |
Mobile phone | mobilephone | mobilephone:sample |
Office | officelocation | officelocation:red/101 |
Anniversary | anniversary | anniversary:yesterday |
Birthday | birthday | birthday:tomorrow |
Communications (email, appointments)
These operators can help you quickly find that
right set of email or that contact you need.
Property | Use | Example |
From | from, organizer | from:simon |
Received | received, sent | sent:yesterday |
Subject | subject, title | subject:budget |
Has attachment | hasattachment, hasattachments | hasattachment:true |
Attachments | attachments, attachment | attachment:presentation.ppt |
Bcc | bcc, bccname | bcc:michael |
Bcc address | bccaddress, bcc | bccaddress:sample |
Cc address | ccaddress, cc | ccaddress:sample |
Follow-up flag | flagstatus | flagstatus:unflagged flagstatus:followup flagstatus:completed |
To address | toaddress, to | toaddress:sample |
Due date | duedate, due | due:10/15/2006 |
Read | read, isread | isread:false |
Is completed | iscompleted | iscompleted:true |
Incomplete | incomplete | incomplete:true |
Has flag | hasflag, isflagged | hasflag:false |
Duration | duration | duration:>120 |
Calendar
Need to find an appointment?
These
appointment-specific operators can let you quickly search your entire
calendar.
Property | Use | Example |
Recurring | isrecurring recurring | isrecurring:true recurring:true |
Organizer | organizer, by, from | organizer:jonas |
Location | location | location:calgary |
Documents
Here are some handy doc-specific operators. "Last
saved by" is super-useful when a document is being co-authored by a
group of people.
Property | Use | Example |
Comments | comments | comments:excellent |
Last saved by | lastsavedby | lastsavedby:Josh |
Document manager | documentmanager | documentmanager:sample |
Revision number | revisionnumber | revisionnumber:4a |
Date last printed | datelastprinted | datelastprinted:yesterday |
Slide count | slides | slides:>20 |
Music
Music fans, these terms will let you find that
track or group of tracks you need in an instant.
Property | Use | Example |
Bit rate | bitrate | bitrate:>150kbps |
Artist | artist, by | artist:sample |
Year | year | year:sample |
Duration | duration | duration:sample |
Album | album | album:"greatest hits" |
Genre | genre | genre:rock |
Lyrics | lyrics | lyrics:"happy birthday to you" |
Track | track | track:12 |
Year | year | year:>1980<1990 |
Picture
If you're a shutterbug and just want to share some
photos with friends and family, these terms can help to manage your
library of photos.
Property | Use | Example |
Camera make | cameramake | cameramake:sample |
Camera model | cameramodel | cameramodel:sample |
Dimensions | dimensions | dimensions:sample |
Orientation | orientation | orientation:sample |
Date taken | taken datetaken | taken:last year datetaken:6/12/2006 |
Width | width | width:sample |
Height | height | height:sample |
Flash mode | flashmode | flashmode:no flash |
Recorded TV
Find that TV show or movie and grab some popcorn.
Property | Use | Example |
Broadcast date | broadcastdate | broadcastdate:2005 |
Channel number | channel | channel:7 |
Closed captioning | closedcaptioning | closedcaptioning:true |
Date released | datereleased | datereleased:2005 |
Episode name | episodename | episodename:sample |
Properties for file type: Video
Property | Use | Example |
Name | name, subject | name:sample |
Ext | ext filext | ext:sample filext:sample |
相关文章推荐
- 百度搜索引擎的搜索高级语法及应用
- Windows search 4.0微软搜索工具卸载删除方法
- 浅谈BD搜索高级语法六种
- 百度,google,雅虎等搜索引擎的高级搜索语法
- 调用Windows的Search(搜索)窗口
- 搜索引擎Bing必应高级搜索语法
- 高级搜索语法
- Sharepoint 2013 搜索高级配置(Search Scope)
- 使用windows search 搜索文件和文件夹(一)
- 百度搜索的一些高级语法
- SharePoint 2013 搜索高级配置(Search Scope)
- 有关在 Windows 中进行搜索的高级提示
- 高级搜索的使用advancedsearch.htm
- 调用Windows的Search(搜索)窗口
- Search and Replace -- 搜索与替换的高级利器
- 使用windows search 搜索文件和文件夹(一)
- [导入]微软关闭Live Search高级搜索功能
- 百度搜索的一些高级语法
- Google高级搜索语法
- 百度-提高效率的高级搜索语法