Saturday, August 6, 2011

FAST Search Result Ordering

This is just a quick placeholder that I will embellish more when I get my FAST development environment running….

 

When getting search results, I found that the default relevancy for FAST for SharePoint had equal weighting for words found in the body as well as the title.  This seems a little strange, because in the past (need to confirm this) SharePoint always weighted words found in titles as MORE important. 

The way to fix this is to tweak the relevancy rankings 

$RankProfile = Get-FASTSearchMetadataRankProfile -Name "Default"

$content= $RankProfile.GetFullTextIndexRanks()|where-Object -filterscript {$_.FullTextIndexReference.Name -eq "content"}

$mpTitle = Get-FASTSearchMetadataManagedProperty -Name "Title"

$content.SetImportanceLevelWeight(7, 200)

$content.ContextWeight = 200

$content.Update()

 

Once again…examples and screen shots coming. 

FAST Synonym Hit Highlighting

I recently worked on a FAST Search implementation and found a couple of gotcha’s that I wanted to note. 

First, FAST search does not do hit highlighting when you match against  a defined synonym.  So if your content has the word “CAR” and you define a synonym of “Auto” for “CAR”.  Then when you search for Auto you will also get search results for everything that has CAR.   Works great, except that the Search results displayed don’t hit highlight CAR.    Definitely a shortcoming and was reported to Microsoft as an enhancement.  Will need to keep an eye on this to see where it goes. 

When I get my development FAST environment running, I will reproduce and add some screen shots.