Export (0) Print
Expand All

Keyword Query Syntax Reference

Last modified: April 18, 2010

Applies to: SharePoint Server 2010

In this article
Keyword Query Elements
Using Keyword Queries
In This Section

The keyword query syntax is updated in SharePoint Server 2010, and supports the following new features:

  • Boolean operators

  • Prefix matching for free-text and property restriction queries

  • Property operators with non-text fields

A keyword query consists of one or more of the following elements:

You can combine keyword query elements with one or more of available operators. For more information about the operators available for keyword queries, see Using Operators in Keyword Queries.

If the keyword query contains only excluded terms, only operators, or is empty, it is not valid. Keyword queries are case-insensitive, and the length is limited to 2,048 characters.

In Office SharePoint Server 2007, the keyword query syntax supported constructing only basic queries. If you required more complex queries, you had to use the search SQL syntax. With the new keyword query features in SharePoint Server 2010, you can construct most of these using the keyword query syntax.

Important note Important

We recommend that you use keyword query syntax instead of search SQL syntax whenever possible.

You can use keyword query syntax for queries submitted in the following ways:

Show:
© 2014 Microsoft