Share via


Building Search Queries

Applies to: SharePoint Server 2010

Microsoft SharePoint Server 2010 search supports the following search syntax for building search queries:

Keyword Syntax

Using Keyword syntax, you specify the search terms or property restrictions that are passed directly to the search service. This is the query language that is common to SharePoint Server search and FAST Search Server 2010 for SharePoint, so if you are creating an application that is intended for use with both, you should use Keyword syntax.

SQL Syntax

This is an extension of SQL syntax for querying databases. It is a structured query language that is not intended to be exposed to end users, but instead to be used for programmatic creation of queries. SQL syntax is supported only with SharePoint Server search.

FAST Query Language (FQL)

FQL is a structured query language that supports advanced query operators. It is not intended to be exposed to end users, but instead to be used for programmatic creation of queries. FQL is supported with only FAST Search Server 2010 for SharePoint.

In This Section

See Also

Reference

Microsoft.Office.Server.Search.Query

Microsoft.Office.Server.Search.WebControls

Concepts

Querying FAST Search Server 2010 for SharePoint

Enterprise Search Query Architecture