Saturday, December 25, 2010

Identifying target machine (32bit or 64bit) with ClickOnce deployment

The title is from a question at Stack Overflow, and the problem is how do you check what environment you are running under when you have third party libraries which are compiled explicit to x86/x64, in order to instantiate the correct version?
My test project for the scenario contains three parts. “test” my third party library, “ClickOnceTest”, the main application, and “Loader”, the application which will start “ClickOnceTest” with the correct version of the “test” library.
image

Thursday, December 23, 2010

How To: Change location of index files for FAST Search for SharePoint

[Update: The only supported way of moving the data folder is using symlinks ( eg. mklink.exe) - http://support.microsoft.com/kb/2506015]


When installing FS4SP it will default put the index files below the same folder which FAST Search is installed at. If you installed at C:\FASTSearch, then the files reside in
  • C:\FASTSearch\data\data_index (the search index)
  • C:\FASTSearch\data\data_fixml (raw format files)
Often you would like to put the data on a separate volume. If you don’t know what files to edit you can resolve to using mklink.exe and symlink the above folders to another volume.

Wednesday, December 22, 2010

How To: Debug and log FAST Search for SharePoint pipeline extensibility stages with Visual Studio

One of the most powerful features with FAST Search for SharePoint is the ability to do work on the indexed data before it’s made searchable. This can include extracting location names from the documents being indexed or enriching the data from external sources by adding financial data to a customers CRM record based on a lookup key. Only your imagination limits the possibilities.

Saturday, December 18, 2010

Doing blended search results in SharePoint–Part 2: The Custom CoreResultsWebPart Way

(Part 1: The Hackish Way)
In Part 1 I used two Search Core Results Web Parts and a bit of jQuery magic to achive the look of blended search results.

This time we will create our own CoreResultsWebPart and inject the blended results into the result xml before it is transformed into html. In addition to blend in news results I decided to get some  images as well. I did this by importing a “Federated Location” for Flickr. The location definition can be found at “Flickr Search Connector for SharePoint Server, Search Server, and FAST Search for SharePoint”.

Wednesday, December 8, 2010

Doing blended results in SharePoint–Part 1: The Hackish Way

A comment from a colleague on my previous blog post, “XSLT creation revisited for SharePoint 2010 Search and a small search tip”, asked how I would do blended search results in SharePoint Search. I have come up with three ways of doing this, where I will demonstrate the quick and dirty one in this post, and save the “best architectural” version for last. So watch out for part 2 and 3 of this topic in the weeks to come.

The method described in this post is suitable for non-developers.