Advance Query Sytnax – AQS Part 2

17 Apr

This is a follow up to the first post Advance Query Sytnax – AQS Part 1

To search for file based on it’s kind, you use the kind property. For example:

  • kind:Music … you can also use song, songs
    Kind:email … you can also use mail, message, messages, emails
    Kind:document … you can also use documents, doc, docs
    Kind:Meeting … you can also use calendar, appointment
    Kind:Picture … you can also use Pic, Pics, Photo, image, images.

The terms can be combined using the OR operator
Kind:Music OR Pic will return all your music and pic files

You can also combine other conditions:
Kind:Music AND Artist:Prince
Kind:Music Artist:Prince since AND is implicit

Enabling NQS (Natural Query Syntax) will simplify the syntax

  • Music artist Prince
    Music by prince
    Pics taken last month
    email received last week from John about presentation

You can search on all the properties any kind of file can have. For example. you can search for photos based on the Taken property. You can search for document based on it’s author. For eample:

Kind:Document Author:David Johnson

or you do an exact match

Kind:Document Author:”David Johnson”

or you can take it further

kind:Document Author:=”David Johnson”

The difference here: the first one is searching for author that contains “David Johnson”. The second using the equal sign is searching for author with exact match.

I will be covering the Advance Query Sytnax – AQS Part 3 soon

Leave a comment

Posted by on April 17, 2007 in AQS, Search, Technology, Vista


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: