Mikael Svenson

Computer literate and search enthusiast with an interest for sharepoint, coding, and life in general :)

Deleting a Federated Location via the API

I’m working on a SharePoint feature which will automatically add a federated search location on feature activation and which will delete it on de-activation. To accomplish this I use the Microsoft.Office.Server.Search.Administration.SearchServiceApplication class, and more specifically the AddNewLocationConfiguration and DeleteLocationConfiguration methods. I tried to use the same methods of the SearchServiceApplicationProxy first, but there seems to [...]

Document Thumbnails and PowerPoint Preview for your search results without installing FAST for SharePoint

[Originally posted at: http://techmikael.blogspot.com/2011/05/document-thumbnails-and-powerpoint.html] Microsoft offers three different flavors of search for SharePoint 2010: Foundation, Standard and Enterprise. For each level upwards you get more feature and better search capabilities. One of the visual features included with FAST for SharePoint is Thumbnails and Previews for the search results, as listed on the comparison table below (Compare [...]

Working with crawled and managed properties via code

I was teaching a FAST for SharePoint Workshop today and we were doing labs on creating and mapping crawled properties to managed properties with the FAST Administration UI and via PowerShell. But one student wanted to know how to do this in code, hence this blog post. Instead of having a deployment script creating your [...]

Three Main Reasons Why You Should Upgrade to FAST for SharePoint

I was fortunate to be one of three finalists in SharePoint Magazine’s Aspiring Author Contest. Today the article went live and I’m quite happy about it. You can read the article over at SharePoint Magazine, and if you like it feel free to click the Facebook Like button at the end. The other two finalists [...]

Adding new nicknames to SharePoint People Search

Out of the box SharePoint 2010 comes with a pretty good people search. This is due to a combination of phonetic rules and a vast list of nicknames. Out of the box the US English nickname list consists of over 14.000 nickname mappings, ensuring good results when trying to find people. But what if you [...]

DateTime resolution for querying FAST for SharePoint

I was doing range queries in the Search Center UI to limit documents between two exact dates. But no matter what I entered as hours/minutes/seconds in my query I still got the same result. There are good and bad news around this. The good news is that you can change the resolution from day to [...]

Why you still should prefer PowerShell over UI to create Search Scopes in FAST for SharePoint

When SharePoint 2010 came out the only way to create a search scope was to do it by PowerShell. Well, you could create the scope name itself via Central Admin, but the actual scope filter had to be done via PowerShell.

Prototyping pipeline stages in PowerShell

The defacto way of creating a custom pipeline stage in FAST for SharePoint is to create an executable file which reads and writes an xml file. This usually implies having Visual Studio available and compiling and deploying a new file each time you make a change in order to test it in a proper pipeline. [...]

Using the SharePoint Search “Best Bet” feature to redirect to a landing page

[Cross-posted from Tech And Me] As described on TechNet: Best Bets are recommended results. Best Bets can link to recommended Web sites, data stores, and documents. When a user includes a keyword or one of its synonyms in a query, the search results page features links to its associated Best Bets in a prominent position. [...]

How to: Frame a search center with little work

Lately I have encountered several customs who deploy search from SharePoint 2010, but they still have other solutions running on MOSS 2007 or other portal frameworks. Instead of creating custom solutions using the search service on SharePoint 2010, framing is a quick solution to get you up and running. One way is to create a [...]


Comperio AS
Øvre Slottsgate 27
NO-0157 Oslo,
+47 22 33 71 00
View map


Search Provider Sverige AB
Gamla Brogatan 34
SE-11 120 Stockholm
+46 8-21 49 00
View map