Windows Enterprise Search Syntax

Damir Dobric Posts

Next talks:

 

    

Follow me on Twitter: #ddobric



 

 

Archives

Few months ago I posted few examples which describe how to make usage of desktop search.
This post contains a short description of different search syntaxes supported by MOSS Enterprise Search.

How to search by using of keywords?

Simple term

Keyword with no special requirements

N/A

Weather

Included term

Keyword that must be in content items returned in search results

"+"

+sunshine

Excluded term

Keyword that must not be in content items returned in search results

"-"

-rain

How to search by using of properties?

site

The URL property.

The value specified must meet the following criteria:

  • If a URL folder name contains a space, it must be enclosed in double quotation marks (" ").
  • A URL folder name must not end with a trailing slash ("/").

site:http://www.microsoft.com

author

The author name property.

If author name contains a space, enclose the specified value in double quotation marks. (" ").

author:John

author:"John Smith"

author:DOMAIN\jsmith

duplicate

Collapsing filter. Requests duplicate items for the specified URL.

duplicate:http://<displayUrl>

scope

Compound scope. Specify the friendly name of scope.

scope:"Marketing Content"

How to search by using of URL-Syntax

k

Specifies the keywords. You can only specify one value for this parameter.

results.aspx?k=sharepoint%20search

s

Specifies the search scope. This parameter can contain multiple values, separated by %2c.

results.aspx?s=SDKContent

results.aspx?s=SDKContent%2cTechnicalArticles

v

Specifies the result view that is to be used for the query.

This parameter must be either:

relevance - results are sorted by relevance

date - results are sorted by date

results.aspx?v=date

results.aspx?v=relevance

start

Specifies which results page number to show.

results.aspx?start=3


Posted Jun 06 2007, 12:21 PM by Damir Dobric
Filed under:

Comments

bob e wrote re: Windows Enterprise Search Syntax
on 05-06-2008 16:03

Interesting - we are looking to improve our search queries and have had some difficulties setting the scope.  This information should be of great value.  Thanks for your blog Damir.

Damir Dobric wrote re: Windows Enterprise Search Syntax
on 05-06-2008 23:09

Welcome :)

name wrote re: Windows Enterprise Search Syntax
on 07-29-2009 12:57

:-(,

developers.de is a .Net Community Blog powered by daenet GmbH.