Share via


Linguistic Query Features (FAST Search Server 2010 for SharePoint)

Learn details related to linguistic processing of queries and results in FAST Search Server 2010 for SharePoint.

Applies to: SharePoint Server 2010

In this article
How the End-User Locale Impacts Query Results
How to Enable and Disable Stemming in Queries
How to Manage Synonyms in Queries
Automatic Correction for Spelling in Queries
Automatic Resubmission of Queries If No Hits

How the End-User Locale Impacts Query Results

FAST Search Server 2010 for SharePoint uses the locale of the end-user to control the following features:

  • Language-specific normalization of the query terms. This includes the wordbreaker feature that splits compound words and detects white space characters.

  • Language-specific stemming.

  • Interpretation of date/time formats in queries and results.

  • Interpretation of locale-specific formatting rules.

For the Query web service, you can specify the language by using the Language attribute of the QueryText Element in Microsoft.Search.Query Schema. If not specified, the default value is the language of the site hosting the web service.

For the Query object model you can use the Culture property in KeywordQuery.

How to Enable and Disable Stemming in Queries

Stemming is a type of query expansion that factors relationships between words by reducing inflected words to their stem form or expanding stems to their inflected forms. For example, the words "swimming" and "swam" can be associated with the stem "swim".

For the Query Web service, you can switch stemming on or off on a per-query basis by using the EnableStemming Element in Microsoft.Search.Query Schema. For the Query object model, you can use the EnableStemming property in KeywordQuery.

How to Manage Synonyms in Queries

You can define synonym relations by using the Keyword Management (FAST Search Server 2010 for SharePoint) feature.

Automatic Correction for Spelling in Queries

FAST Search Server 2010 for SharePoint supports automatic correction for spelling based on the frequency of terms in the search index, instead of a generic dictionary.

For the Query web service, you can switch spelling correction on or off on a per-query basis by using the EnableSpellcheck Element in Microsoft.Search.Query Schema. For the Query object model, you can use the EnableSpellcheck property.

Automatic Resubmission of Queries If No Hits

You can specify automatic resubmission of queries that yielded no results. For the resubmitted query, you can enable one or more linguistic features to provide potentially more results. For the Query web service, you can apply this feature by using the ResubmitFlags Element in Microsoft.Search.Query Schema.

See Also

Concepts

FAST Search Query Integration Overview