you're reading...
Custom Project, FS4SP, Powershell

FastSearch Demotion with FS4SP-PowerShell

If you have to globally demote a type of document in your fast search results, you can do it via FS4SP powershell with a pretty cool function called “AddPromotedExpression”.

AddPromotedExpression takes in input your FQL expression applying it to all the query submitted in FAST.

Here the powershell lines:

$SettingGroup = Get-FASTSearchSearchSettingGroup -name “GUID of the site collection that hosts your search center site ”
$GlobalPromotions = $SettingGroup.PromotionsWithoutKeyword
$GlobalPromotion = $GlobalPromotions.AddPromotion(“DEMOTE  BCS RESULTS”) 
$GlobalPromotion.BoostValue = “-4000”     //DEBOOST
$fqlEx = ‘and(path:starts-with(“bdc3://”))’      //MY Business Connectivity Service RESULTS TO DEMOTE



Informazioni su matteolenzo

Fast Search for Sharepoint 2010 Junior developer/consultant


Non c'è ancora nessun commento.


Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo di WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione /  Modifica )

Google photo

Stai commentando usando il tuo account Google. Chiudi sessione /  Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione /  Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione /  Modifica )

Connessione a %s...

Enter your email address to follow this blog and receive notifications of new posts by email.

%d blogger hanno fatto clic su Mi Piace per questo: