none
Powershell Commands to add one-way synonyms in FAST search Keywords RRS feed

  • Question

  • Hi All,

    I am able to add 2way synonyms through powershell, but cannot add one-way synonyms, when i try to change the the property to one way synonym type ... then it throws error stating these are only readable items.

    Do any one let me know how to add one way synonyms?

    Thankyou,

    Nikhil S 

    Thursday, December 22, 2011 2:55 AM

Answers

  • Hi,

    It's quite easy :)

    $searchSettingGroup = Get-FASTSearchSearchSettingGroup
    $keyword = $searchSettingGroup.Keywords.AddKeyword("mikael")
    $keyword.AddSynonym("cool guy", "OneWay")
    

    Regards,
    Mikael Svenson 


    Search Enthusiast - SharePoint MVP/WCF4/ASP.Net4
    http://techmikael.blogspot.com/
    • Marked as answer by N Sankolli Sunday, December 25, 2011 8:38 AM
    Thursday, December 22, 2011 11:46 AM

All replies