次の方法で共有


Windows SharePoint Services Search Property Filters

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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

Windows SharePoint Services Search Keyword Syntax