The i-Technology Media!
Register | Log in
   
 
.NET  ·  AJAX  ·  CLOUD  ·  ECLIPSE  ·  FLEX  ·  OPEN WEB  ·  iPHONE  ·  JAVA  ·  LINUX  ·  OPEN SOURCE  ·  ORACLE  ·  PBDJ  ·  SEARCH  ·  SILVERLIGHT  ·  SOA  ·  VIRTUALIZATION  ·  WEB 2.0  ·  WIRELESS  ·  XML
Comments
Drool, Britannia? Is the UK Failing the Cloud?
By Roger Strukhoff
Richard Davies wrote: The UK has a good crop of technology pioneers in cloud computing - for example ElasticHosts, FlexiScale, Flexiant, OnApp - and also some strong government initiatives such as G-Cloud. We will have to see whether this kind of technical leadership converts into swift mass-market adoption or not.
Jan. 8, 2012 11:38 AM EST
read more & respond »
Cloud Expo on Google News
Did you read today's front page stories & breaking news?

Cloud Expo & Virtualization 2011 West
Keynotes
Oracle
Opening Keynote | An Enterprise Cloud for Business-Critical Applications
Abiquo
Day 2 Keynote | The Enterprise Cloud Tightrope - Balancing for Success
Akamai
Day 3 Keynote | The DNA of an Enterprise Cloud
DIAMOND SPONSOR:
Oracle
Many Clouds, Many Choices'Cloud
PLATINUM PLUS SPONSORS:
Abiquo
Enterprise Cloud Best Practices - Town Hall - Join the discussion…
PLATINUM SPONSORS:
Intel
Progressing Toward the Federated, Automated and Client-Aware Cloud
New Relic
How to build an app with Twitter-like throughput
Rackspace
Computing in the Cloud Era
GOLD SPONSORS:
Gale Technologies
Practical Cloud Migration
IBM
Re-think IT. Re-inventing Business.
Intel/McAfee
Identity Driven Security in the Cloud
PerspecSys
Hackers Hackers Everywhere, Is My Public Cloud That Safe?
Red Hat
Unlock the Value of the Cloud
SHI
Mission Critical Applications and the Cloud - Myth or Reality?
SoftLayer
Not Your Grandpa's Cloud
Terremark
Integrating Enterprise Clouds
VMware
Upgrade to a vCloud
POWER PANELS:
Cloud Expo Silicon Valley: CTO Power Panel
Cloud Expo Silicon Valley: CEO Power Panel
Cloud Expo Silicon Valley: Cloud SuperStars Panel
Cloud Expo Silicon Valley: CloudNOW Panel
Click For 2010 West
Event Webcasts
Cloud Expo & Virtualization 2011 East
DIAMOND SPONSOR:
Dell
Dell & VMware Deliver the Enterprise Hybrid Cloud
PLATINUM PLUS SPONSORS:
Abiquo
Are Financial Services Organizations Risking Security by Avoiding Cloud Computing?
Oracle
From Consolidation to Enterprise Private PaaS
PLATINUM SPONSORS:
Intel
Driving the Transformation to Next Generation Cloud Data Centers
Rackspace
The Inevitability of an Open Cloud
GOLD SPONSORS:
CA Technologies
Follow YOUR path to Cloud Computing
Interxion
Who Keeps the Cloud in the Air?
Microsoft
Patterns for Cloud Computing
PerspecSys
War in the Clouds: Are you ready?
ServiceMesh
The Big Win: Stop Playing Small-Ball with Your Cloud Strategy
Terremark
Evaluating Enterprise Clouds
Xiotech
Cloud Storage: Myths and Realities
POWER PANELS:
Cloud Expo New York: CTO Power Panel
Cloud Expo New York: CEO Power Panel
Cloud Expo New York: CMO Power Panel
Cloud Expo New York: Wrap-Up Power Panel
Click For 2010 West
Event Webcasts
Live Google News by SYS-CON!
Top Three Links You Must Click On


Configuring Federated Search to display results from your Corporate Web Site

By: Corey Roth
Nov. 11, 2009 02:16 PM

Last weekend, I gave my introduction to Enterprise Search talk where I showed the basics of using search.  One of the topics I covered is how to use federated search to display results from an external web site.  I’ve seen this topic come up in the forums as well, so I thought I would write something up on it.  Typically when people do this is they have federated results from their public facing corporate web site display along side the results from a regular search on the SharePoint farm.  Everything we are doing today can be done without writing any code.

For today’s demonstration, we will pretend DotNetMafia.com is a corporate web site and federate results from it.  When the user executes a document search on my SharePoint site, we will show those results as well as results from DotNetMafia.com that match the user’s keyword query.  To be able to show results from the corporate web site, we will need these results available in a search index.  For today, we will index DotNetMafia.com on the same search server, but this could also be an external server as well.  You can use anything that returns an RSS feed of results following the Open Search 1.0 / 1.1 standard.  Since, we are using the same server, we will just create a new content source to index our corporate web site.  I specify the URL of the start address and then I start a full crawl on this content source.

SearchContentSourceDotNetMafia

The next thing I need is to create a scope for my corporate web site.  This will allow us to easily filter the results later so that we can get results from just DotNetMafia.com.  This scope will just have one rule which uses the DotNetMafia.com content source.  We’ll call my scope DotNetMafia.

SearchScopeDotNetMafia

At this point we are ready to create our new federated location to display the results of our corporate web site.  Click on the Federated Locations link on your search administration page.  At this point, it’s probably good to remind you that Federated Locations is only there if you are running the Infrastructure Update (or later) or Search Server.  This is pretty easy to do because we can start with the Local Search Results federated location and make a copy of it.  We can use a copy of the Local Search Results location because in my case the index is running on the same server.  If you are going against an external search server, it’s also pretty simple, you just have to know the URL to get the search results from.

SearchFederatedLocationsCopy

Once you have made your copy, edit your new location.  You will need to specify a name.  In my case I just went with DotNetMafia.  You can set this as you see fit.  Most of the other values you do not need to change, until you get to the Location Information section.  Here you will choose, Search Index on this Server for the Location Type.  We now need to change the Query Template to include the scope that you created earlier.  The query template passes what the user search for in the {searchTerms} token.  We can simply make use of the keyword query syntax here and append a Scope keyword like shown below.

{searchTerms} Scope:”DotNetMafia”

Specify the name of your scope in quotes.  We also need to add Scope:”DotNetMafia” to the “More Results” Link Template.  Here is what both of those changes look like after you have changed them.

SearchFederatedLocationDotNetMafia

These are the only fields that you need to change to get started.  Once you save your new federated location, we are ready to configure this on your search center results page.  I am assuming today that you already have an existing search center site.  If not, go create one.  Then go to your results.aspx page and edit it.  You may or may not have a federated results web part(s) already on this page.  If you don’t have one, click on the Right Zone and add a new web part and choose it from the list.  If you have an existing Federated Results web part, you may change your existing one if you don’t want to search bing any more.  You can also add another one to display multiple federated results at the same time.  Here is what one looks like.

SearchResultsFederatedResultsEditMode

Whether you use an existing Federated Results web part or a new one, you will want to configure it to use your new federated location.  Under Location Properties, choose the name of your Federated Location from the dropdown list.  Click ok, and publish your results page.

SearchFederatedResultsWebPartProperties

You can now try out your new federated search.  In my case I am searching my local SharePoint server for the keyword Accounting.  It will also return any results that match that keyword from DotNetMafia.com.  Here is what those results look like.

SearchFederatedResults

This is a simple way to quickly give your users results from multiple sources at once.  It requires very little configuration and no code at all.  It’s easy to test out, so try it out on your own SharePoint farm and see how your users like it.

Read the original blog entry...

Published Nov. 11, 2009— Reads 1,037
Copyright © 2009 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
About Corey Roth
Corey Roth, a SharePoint Server MVP, is a consultant at Infusion specializing in SharePoint for clients in the energy sector. He has more than ten years of experience delivering solutions in the energy, travel, advertising and consumer electronics verticals.

Corey specializes in delivering ECM and search solutions to clients using SharePoint. Corey has always focused on rapid adoption of new Microsoft technologies including Visual Studio 2010, .NET Framework 4.0, and Silverlight.

He is a member of the .NET Mafia (www.dotnetmafia.com) where he blogs about the latest technology and SharePoint. He is dedicated to the community and speaks regularly at user groups and SharePoint Saturdays.

Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON Featured Whitepapers

ADS BY GOOGLE

Breaking Java News
Harper Government Energizing Future Farm Leaders
United Launch Alliance Celebrates 50 Years of Americans in Orbit
MEDIA ALERT: Muttahida Quami Movement (MQM) and Canadian National Committee for UN Women, President to Celebrate Pakistan Women's Public Meeting
Bull & Lifshitz, LLP Announces Investigation of General Bearing Corporation
Bull & Lifshitz, LLP Announces Investigation of SeraCare Life Sciences, Inc.
EVE CINA First Shown at London Fashion Week
Germany's First Log Cabin Hotel, Provided by Estemerwalt Log Homes, Open for Business at Snow Dome Resort Hotel

ADVERTISE   |   MAGAZINE SUBSCRIPTIONS   |   FREE BREAKING-NEWSLETTERS!   |   SYS-CON.TV   |   BLOG-N-PLAY!   |   WEBCAST   |   EDUCATION   |   RESEARCH

.NET Developer's Journal - .NETDJ   |   ColdFusion Developer's Journal - CFDJ   |   Eclipse Developer's Journal - EDJ   |   Enterprise Open Source Magazine - EOS
Open Web Developer's Journal - OPENWEB   |   iPhone Developer's Journal - iPHONE   |   Virtualization - Virtualization   |   Java Developer's Journal - JDJ   |   Linux.SYS-CON.com
PowerBuilder Developer's Journal - PBDJ   |   SEO / SEM Journal - SJ   |   SOAWorld Magazine - SOAWM   |   IT Solutions Guide - ITSG   |   Symbian Developer's Journal - SDJ
WebLogic Developer's Journal - WLDJ   |   WebSphere Journal - WJ   |   Wireless Business & Technology - WBT   |   XML-Journal - XMLJ   |   Internet Video - iTV
Flex Developer's Journal - Flex   |   AJAXWorld Magazine - AWM   |   Silverlight Developer's Journal - SLDJ   |   PHP.SYS-CON.com   |   Web 2.0 Journal - WEB2
Apache   |   CMS   |   CRM   |   HP   |   Oracle Journal   |   Perl   |   Python   |   Red Hat   |   Ruby on Rails   |   SAP   |   SaaS

SYS-CON MEDIA:   ABOUT US   |   CONTACT US   |   COMPANY NEWS   |   CAREERS   |   SITE MAP
SYS-CON EVENTS:   |  AJAXWorld Conference & Expo  |  iPhone Developer Summit  |  Cloud Computing Conference & Expo  |  SOA World Conference & Expo  |  Virtualization Conference & Expo
INTERNATIONAL SITES:   India  |  U.K.  |  Canada  |  Germany  |  France  |  Australia  |  Italy  |  Spain  |  Netherlands  |  Brazil  |  Belgium
 Terms of Use & Our Privacy Statement     About Newsfeeds / Video Feeds
Copyright ©1994-2008 SYS-CON Publications, Inc. All Rights Reserved. All marks are trademarks of SYS-CON Media.
Reproduction in whole or in part in any form or medium without express written permission of SYS-CON Publications, Inc. is prohibited.
 
close this window