This lesson covers the basics of search in SharePoint 2010. Search is important in the context of Business Intelligence because once you create all those great reports and store them in SharePoint, you need a great way to quickly find what you're looking for without manually clicking your way through different team sites, document libraries, and attached file servers.
This lesson goes through the basics of search, the different types of search offered in SharePoint, and how to configure basic search in SharePoint to begin seeing value in quickly accessing your Business Intelligence reports.
With the advent of improved search functionality in every aspect of our lives, we've come to expect this functionality from every piece of technology. Our computers have Windows search, our phones have search for both the phone's files and the Internet, and the rise in tablet computers is only driving this further.
Internet search is optimized for following a large number of links throughout the Web, and cataloging the “map” of websites, the sites they link to, and the content in those sites. Internet search has a fatal flaw, though, because it can't reach into the confines of your corporate network and index your files. It certainly can't handle complex situations like Lotus Notes, Domino, or UNIX filesystems.
Many firms have tried the new “all in one” Internet search appliances that are “plug and play” in your environment, but many leave this strategy disappointed. SharePoint search comes to the rescue. With the new architecture improvements and scale out technology allowing over a million items in SharePoint Search and up to a billion items to be indexed with the new FAST Server technology, organizations are now investing significant time and resources into testing and deploying this new technology. New improvements also include wildcard searches, refinement management, and a new AJAX-driven search screen with more real estate.
The different versions of search include:
SharePoint Foundation Search is what this lesson focuses on demonstrating. It is the most basic search functionality, but provides a lot of bang-for-the-buck where BI search is concerned. More functionality for this area is covered later in this lesson. Your search needs may extend beyond this, however, so before we jump into the Search configuration and setup, let's explore the other search options in SharePoint 2010.
Some of you may have used Search Server 2008 and will be really impressed by the new improvements in Search Server 2010. This new version is basically an upgrade and includes some exciting new features. These include:
The new SharePoint Search is part of a core shift in enterprise Search technology. This diverges from previous versions of search in SharePoint and other Microsoft Search products. This version is more heavily explored in other texts and online at Microsoft.com. It has even stronger features, including:
Fast Search is a new technology that was acquired and integrated by Microsoft into a new top-tier enterprise search offering. FAST is beyond the scope of this book, but it's important to know some of the features and improvements that you will get by exploring this technology:
Now that you've explored all the options, let's discuss the one you're going to focus on in this lesson. The benefit of Foundation Search is that there is very little to configure or maintain, but it provides some great functionality that users will expect as a minimum in a new solution that is based on the new SharePoint 2010 platform. Let's walk through that setup now.
First go to Central Administration and review the services running on the server by going to Manage Services on Server in the upper left. See this list in Figure 26-1.
Next locate SharePoint Foundation Search in the list of services and click Start. You are presented with an options screen as shown in Figure 26-2.
From here you will configure a few key settings:
A fully populated configuration is shown in Figures 26-3 and 26-4.
Once you click Start, you will be brought back to the Manage Services Screen, and you need to assign this server as an indexer to each content database.
Under Application Management Manage Content Databases, select the name of your content database and select the correct index server. See details in Figure 26-5.
Once that is selected, the next time the indexer runs, a crawl will collect information about your content and process it for searching. If you are impatient you can run an STSadm.exe command to force a full process immediately. The command can be executed from a command prompt as shown in Figure 26-6.
It's important to remember that you either need to be in the SharePoint root directory and then in to run this command, or you could open the SharePoint Management Shell because it handles the stsadm.exe portion for you. The message Operation Completed Successfully will return quickly. This does not mean the index is finished, only that the start command was given and accepted by the service. If you want to know when it's finished you can monitor Event Viewer on the computer and look for Event 85: “A master merge has completed for catalog Search.” See an example of this in Figure 26-7.
Administering search in SharePoint 2010 is a big topic, but this section focuses on the basics to get you up-and-running. Search can be a daunting technology but the next few sections cover some important concepts to give you the confidence to explore more complicated areas if your organization requires.
Security trimming is an important concept to think about when implementing and then running searches in your enterprise. SharePoint will only return results for content that you have access to and for which SharePoint understands the security. For example, when you include a Windows file share in the index, SharePoint can match your AD permissions to the access control list governing that file share and return the appropriate files.
If SharePoint is set up to index an external source with a cookie or anonymous login, SharePoint cannot understand those permissions and will show you all the results from that source. This is an important security concept and why we mention it right at the beginning of this section. If you need security trimming or external sources, you will need to develop your own. That topic is out of scope in this text.
There is great news in this section. When dealing with Foundation Search, there is virtually no administration to speak of. When you go to the Search Settings page under Site Settings, the only options are Search and Offline Availability. This allows you to control whether or not the current web application is included in the search results and how to handle any ASPX page use. That's it! Very straightforward.
Extending your search configuration can provide some much needed functionality. This section discusses some common ways to extend your search capabilities and put that new functionality to good use.
If you have higher volume needs from search beyond departmental or prototyping efforts, you will want to explore the expanded offerings and tests that cover those offerings in depth. There is significant potential for corporate benefit from employing these new search tools.
In this Try It you configure the Search Service and then force a crawl to populate the index.
This lesson's Try It section will require you to set up search functionality on a site where you have reports and other Business Intelligence items stored. You are going to use the Central Administration and site settings to configure SharePoint Search, force a crawl of the site, and then view your search results.
Please select Lesson 26 on the DVD to view the video that accompanies this lesson.