SharePoint Foundation Search Property Filters

[This documentation is preliminary and is subject to change.]

Property filters provide you with a way to narrow the focus of the keyword search based on the following:

  • Properties

  • Collapsed results

<property name>:<value>
<scope name>:<value>
<collapsed results type>:<value>

Remarks

There is no maximum length for keywords property filters, however, the full length of the keyword query should be less than 1024 characters.

Property Filter Validation

The following items are not validated when the query is executed:

  • URL or site names (if the name does not exist in the index, no results are returned)

  • File extensions (if the extension does not exist in the file extension list, no results are returned)

Multiple Property Filters

Windows SharePoint Services Search keyword syntax supports using multiple property filters within the same query. You can use multiple instances of the same property filter, or different property filters.

Using the Same Property Filter

In this scenario, the keyword query is based on a union of the property filters. This is equivalent to the OR operator used in SQL search syntax.

Using different Property Filters

In this scenario, the keyword query is based on an intersection of the property filters. This is equivalent to the AND operator used in SQL search syntax.

Property Filter Examples

Name

Description

Examples

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 specified URL.

duplicate:http://<displayUrl>

See Also

Reference

Microsoft.SharePoint.Search.Query.KeywordQuery

SharePoint Foundation Search Keyword Syntax