23 December 2010 0 Comments

Operation requires user to be Service Application Administrator to be able to execute the code

Recently got a customer who was having a very simple code in an application page (in _layouts folder) to find the crawled properties, which are mapped to a managed property in Search Service Application (in SharePoint 2010) as given below: 1: SPServiceContext context = SPServiceContext.GetContext(SPServiceApplicationProxyGroup.Default, SPSiteSubscriptionIdentifier.Default); 2: SearchServiceApplicationProxy searchProxy = context.GetDefaultProxy( typeof (SearchServiceApplicationProxy)) as SearchServiceApplicationProxy; 3: SearchServiceApplicationInfo ssai = searchProxy.GetSearchServiceApplicationInfo(); 4: SearchServiceApplication application = Microsoft.Office.Server.Search.Administration.SearchService.Service.SearchApplications.GetValue<SearchServiceApplication>(ssai.SearchServiceApplicationId); 5: Schema sspSchema = new Schema(application); 6:   7: ManagedPropertyCollection managedProperties = sspSchema.AllManagedProperties; 8:   9: foreach (ManagedProperty managedProperty in managedProperties) 10: { 11: string managedPropertyName = managedProperty.Name; 12:   13: //check to see if the managed property is mapped to one of our crawled properties 14: foreach (CrawledProperty crawledProperty in managedProperty.GetMappedCrawledProperties(managedProperty.GetMappings().Count)) 15: { 16: if (!mappings.ContainsKey(crawledProperty.Name)) 17: { 18: //if it is and has not yet been added to the list of managed fields, add it 19: mappings.Add(crawledProperty.Name, managedPropertyName); 20:   21: } 22: } 23: } Now when we hit the line 14 ( ManagedProperty.GetMappings() .Count), it always returns 0 (zero) as Mappings count. Now I am the Farm Administrator and the Service Account but still I am not able to pull in the data. If I am logging into SharePoint Central Admin, I am able to see all the mappings from the SharePoint UI.

15 September 2009 0 Comments

Bing Visual Search – how to make it work in Australia

Like the entire blogosphere , I wanted to check out Bing Visual Search for myself this morning. So I clicked on www.bing.com/visual search only to be disappointed with the following: So I quickly changed the default country to the US ands voila, works fine ! This new Bing feature is just something you have to see …. 1

27 August 2009 0 Comments

[PL] Ciekawy pomysł na poprawę wyników wyszukiwania w Bing.com

Bing miał dobry start, od razu została zauważona znacząca poprawa w wielu aspektach od UI do najważniejszego – wyszukiwania.

25 August 2009 0 Comments

Searching SharePoint with Windows 7 Search Connectors

Windows 7 allows you to create custom search connectors to various OpenSearch standard search engines, e.g. Bing and you guessed it:  SharePoint!  Creating a search connector is super easy! 1.  Open Notepad and copy in the XML below 2.  Replace the areas in red with your SharePoint Search Center information.  Be sure to only replace just the part of the URL that gets to your Search Center:  e.g.  http://sharepoint.company.com/SearchCenter   You can also change the scope:  e.g.  &s=Intranet  or  &s=All%20Sites  or even  &s=People 3.  Save the file as:    SharePointSite .searchConnector-ms 4.  Copy the file to your “Searches” directory  e.g.   c:Users<username>Searches Optional:  you can add a shortcut the favorites area on any Windows Explorer window by dragging the Search Connector there. ———————————————————————————— <?xml version="1.0" encoding="UTF-8"?> <searchConnectorDescription xmlns="http://schemas.microsoft.com/windows/2009/searchConnector">   <description> Search SharePoint Site </description>   <isSearchOnlyItem>true</isSearchOnlyItem>   <domain>http://sharepoint.company.com</domain>   <supportsAdvancedQuerySyntax>false</supportsAdvancedQuerySyntax>   <templateInfo>     <folderType>{8FAF9629-1980-46FF-8023-9DCEAB9C3EE3}</folderType>   </templateInfo>   <propertyStore>     <property name="OpenSearchHTMLRolloverTemplate"><![CDATA[ http://sharepoint.company.com/SearchCenter /Pages/results.aspx?start=1&k={searchTerms} &s=All%20Sites ]]></property>   </propertyStore>   <locationProvider clsid="{48E277F6-4E74-4cd6-BA6F-FA4F42898223}">     <propertyBag>       <property name="LinkIsFilePath" type="boolean"><![CDATA[true]]></property>       <property name="OpenSearchShortName"><![CDATA[ SharePoint Site ]]></property>       <property name="OpenSearchQueryTemplate"><![CDATA[ http://sharepoint.company.com/SearchCenter /_layouts/srchrss.aspx?k={searchTerms} &s=All%20Sites &u=&start={startIndex}]]></property>       <property name="MaximumResultCount" type="uint32"><![CDATA[100]]></property>     </propertyBag>   </locationProvider> </searchConnectorDescription>

14 August 2009 0 Comments

Incoming! New Twitter App for Mac That Only Lets You Search

At first, I thought this sounded like only half an idea. There are already some great Twitter clients in the Mac software space, most of which have integrated search functions built right in, so how does Incoming! carve out a niche by offering search alone?

3 August 2009 0 Comments

SIlverlight & SEO: uma prova de conceito – parte 1

opa, fundamental essa história, vale acompanhar essa prova de conceito com muitíssima atenção.   o cara está procurando… an easy way to combine the search engine friendly URLs and content of ASP.Net MVC framework and Silverlight Deep Linking veja e acompanhe aqui: OpenLightGroup.net > Blog – Silverlight, SEO & ASP.Net MVC – Part 1 (Proof of Concept )…( read more )

29 July 2009 0 Comments

Keywords Won’t Fix App Store Search

AppleInsider reports on Apple’s plodding efforts to fix the biggest problem with the App Store (besides the mercurial and arguably unfair approval process), finding stuff.

14 July 2009 0 Comments

A Focus on Search User Experience

It’s happening…   slowly … but it’s happening.   Attention in search is finally shifting from a focus on low-level features and relevancy models to looking at the whole user experience for information access

14 July 2009 0 Comments

Welcome to the Demo Showcase Suite!

Microsoft’s® Demo Showcase Suite is a collection of demonstration resources that includes the new Demo Showcase application for creating your own click-through demos as well as this community site to manage your demos, search for demos, distribute demos you’ve created and stitch different demos together to make your own. Sign in with Windows Live ID and take a look through this site and download the Demo Showcase application to get started creating your own demos that you can share through Silverlight or download as standalone executables http://demoshowcasesuite.com/public/Find.aspx Phil Newman  

6 July 2009 0 Comments

New and updated site for Microsoft Services

Microsoft Services has launched a new and updated site where you can find information about services and offerings from Microsoft Services and a new career section . A partner section will soon be available For information worker capabilities you will find the offerings in the Business Productivity Infrastructure Optimization (BPIO) section . Here you will find fact sheets for the capabilities Business Intelligence (BI), Collaboration, Enterprise Content Management (ECM), Mobile Messaging, Search and Unified Communications (UC).

2 July 2009 0 Comments

Live Web

Live Web, Real Time . .

28 May 2009 0 Comments

When Five Hundred Posts You Reach

… look this good you will not. But man, I tell you, the memory goes. In the July 1985 issue of Fantasy and Science Fiction , Isaac Asimov wrote: Yesterday I sat down to write my 321st essay for Fantasy and Science Fiction .