none
Create nicer names in refiners from crawled properties RRS feed

  • Question

  • Hi,

    I am quite new to FAST 2010 but have been working with FAST ESP. At that time you tool metadata and placed a mapping pipeline step which you could refer to an xml file with more user friendly terms and use them as refiners.

    However, in 2010 i came across crawled properties and in this case basic:4(Text) which is used by the Site refiner (standard) and Managed property SiteName. This generate this in the refiner:

    Site:

    aaaaa.aaaaa  (mouse over http://aaaaa.aaaaa.com)
    bbbbb.bbbb   (mosue over http://bbbbb.bbbb .com)

    This is ok, but what i really want is "nicer names" like Site A where is says aaaaa.aaaa and Site B where it says bbbbb.bbbb

    In the old days you just created a nice mapping stage in the pipeline and created an xml file for the mapping and it was all set.

    How in earth can i do this in FAST 2010 for sharepoint? Do i have to use the wordpartextractor and create a new crawled property or is there a better way?

    Thanks

    Wednesday, March 23, 2011 2:18 PM

Answers

All replies

  • I am also new to Fast search for sharepoint 2010, but I have recently solved this problem by extending the custom pipeline.

    I wrote a console application in C# to map the prefix of "url" property to my crawled property:"mysitename" which is mapped to a new managed property: "CustomSiteName" with refinement enabled.

    Now instead of the default SiteName refiner, I am using CustomSiteName in the search result webpart. 

    Wednesday, March 23, 2011 8:20 PM
  • Thank you.

    I want to save the wordpartextractors as long as i can since there is only 5 in total.

    Do you have any code examples of your custom stage? I normally do not work as a coder :) but i think i have to learn.

    /Daniel

    Thursday, March 24, 2011 8:56 AM
  • Daniel,

    I have sample PowerShell code (http://techmikael.blogspot.com/2011/03/prototyping-pipeline-stages-in.html) and C# code (http://techmikael.blogspot.com/2010/12/how-to-debug-and-log-fast-search.html) on my blog which should get you started with writing custom stages.

    Regards,
    Mikael Svenson 


    Search Enthusiast - MCTS SharePoint/WCF4/ASP.Net4
    http://techmikael.blogspot.com/ - http://www.comperiosearch.com/
    Friday, March 25, 2011 3:01 PM
  • Thank you Mikael, 

    Very well written and useful explanation.

    /Daniel

    Monday, March 28, 2011 9:24 PM