FAST Search for SharePoint uses search scopes in a somewhat different way than SharePoint Server search. The FAST scopes are query-time only, and you can also specify rather complex search scopes using the
FAST Query Language (FQL).
You can use search scopes to impact ranking in queries. Let's say you want to boost certain items based on their metadata, and you only want to do that for certain queries. It is possible to create a search scope for this purpose.
In the following example you will create a search scope that gives a boost of 5000 rank points for items that contains 'technology' in a managed propety 'articlegroups'.
The FQL expression you use in the scope definition is:
-
xrank(meta.collection:sp, articlegroups:technology, boost=5000, boostall=yes)
When you use this search scope in a query, the resulting query will be something like this AND(string("<user query>", Mode="AND"), xrank(meta.collection:sp, articlegroups:technology , boost=5000, boostall=yes You can add the search scope using PowerShell:
-
New-SPEnterpriseSearchQueryScope -SearchApplication "FASTQuery" -Name "IT" -Description "A scope to boost docs associated with Information Technology" -DisplayInAdminUI 1 -ExtendedSearchFilter "xrank(meta.collection:sp, articlegroups:technology, boost=5000,
boostall=yes)"
More on using search scopes:
- Manage search scopes (TechNet)
- Using search scopes (MSDN)