Chapter 16. Searching for information

In this section:

Even perfectly organized Microsoft SharePoint 2013 sites can grow very large over time, making it more difficult for you to find content. Additionally, when users start working with large numbers of SharePoint sites, keeping track of all of the information can become nearly impossible. Metadata, folder navigation, and site navigation are all tools to help organize information in a more practical way, but increasingly, search is becoming the first, last, and primary method employed by most users to find content.

Each major release of SharePoint featured significantly improved search functionality, particularly with respect to the user experience. SharePoint 2013 supports a seamless search experience across many different kinds of documents: Office Documents, PDF, videos, webpages, personal profiles and even previous online conversations. When searching within SharePoint, the search experience is tailored to get you the information that you need, regardless of the source or type of information.

Tip

The Enterprise Search Center is only available in some site configurations and licensing arrangements, so if you are unable to see this Search Center in the steps in this section, please consult your administrator.

Tip

FAST search was fully integrated into SharePoint 2013, so if you are familiar with the separate FAST Search Center used in SharePoint 2010, that functionality has been merged into the Enterprise Search Center template.

Creating a Search Center

The first step toward using a Search Center is creating one. You create a Search Center as you would any other site or subsite; you start by creating a new site from a template. You can add a Search Center as a subsite directly under one of your current sites, or your administrator can create it as a stand-alone site collection.

Create a Search Center

  1. From the site that you will use as the parent site, click the Settings button (the small gear icon next to the name of the logged-on user) and then, on the menu that appears, click the Site Contents link.

    image with no caption
  2. On the Site Contents page, scroll down to the Subsites section and click the new subsite link.

    image with no caption
  3. On the New SharePoint Site page, enter a title and description for the Search Center.

  4. Enter a relative URL under which this site will be created.

  5. Choose one of the Search Center templates.

    image with no caption

    Tip

    The Search Center templates (as well as all site templates) available for you to select are subject to both your licensing terms and the configuration performed by your IT staff. You might not have all of these templates available within your SharePoint 2013 environment.

  6. Select the navigation options for the site (and the parent site).

  7. Click Create.

    image with no caption

Searching from a Search Center

After you have created a Search Center, you’ll probably want to try it out for the first time. From the Home page of your newly created Search Center, you’ll be able to enter a simple, free-text query similar to that which you might use with an online search provider such as Bing.com.

Search from a Search Center

  1. From the root site that contains your Search Center, click the Settings button (the small gear icon next to the name of the logged-on user) and then, on the menu that appears, click the Site Contents link.

    image with no caption
  2. On the Site Contents page, scroll down to the Subsites section and click the link for your Search Center (in this example, it’s Basic Search Center).

    image with no caption
  3. On the Search Center page, in the search text box, enter your search terms.

  4. Click the the Search button (the magnifying-glass icon) to perform the search.

    image with no caption

After you’ve created a Search Center, you might want to ensure that users of your other sites use this Search Center instead of the default SharePoint 2013 search facility. You can configure the search box that appears at the top-level page of your site to redirect all searches to a specific Search Center. This way, you can better control the user search experience within your site.

Associate a Search Center to your site

  1. On your search site, click the Settings button (the small gear icon next to the name of the logged-on user) and then, on the menu that appears, click the Site Settings link.

    image with no caption
  2. On the Site Settings page, in the Search section, click the Search Settings link.

    image with no caption

    Tip

    You can find the URL of your search results page by running a search within your Search Center and observing the resulting URL.

  3. On the Search Settings page, enter the relative URL to your Search Center. If your Search Center is an Enterprise Search Center, append “/Pages” to the URL.

  4. Enter the URL of your search results page.

    image with no caption
  5. Click OK.

    image with no caption

Searching site content

Search Centers are not the only place where you can initiate searches in SharePoint 2013. After you have associated a Search Center with your site, you can access the Search Center results directly from the search dialog on your site’s Home page. Additionally, you can perform library-specific searches directly within a document library without having to navigate to the Search Center.

Search from the Home page of a site

  1. On the Home page of your site, in the search box, enter your keywords.

  2. If available, click the search drop-down arrow to select the context of your search and then start the search.

  3. Alternatively, simply click the Search button (the magnifying-glass icon) or press Enter to start the search.

    image with no caption

Tip

The options menu in the search text box might not be available for all search configurations. If your environment does not have this option, simply proceed to the next step.

Search within a document library

  1. Navigate to a document library and enter a search term in the search box.

  2. Click the Search button (the magnifying-glass icon) or press Enter to start a search.

    image with no caption

Using search refinement

Search refinement makes it possible for users to continue to filter search results after an initial query. If you’ve ever tried searching online within an online shopping site, you have probably already used search refinement. For example, if you search for “television” at an online electronics store, you might be presented with search options specifying size ranges such as 21–24 inches or 25–32 inches. You might see other filters with which you can select between LCD and Plasma displays. SharePoint 2013 supports the same type of dynamic filtering within search results.

One of the most powerful options within search refinement is that you only see the most relevant filters based on the query results. An example of this is the Result type refinement that shows a list of the most commonly occurring types of content that appear in your search (for example, Microsoft Word documents, PDF files, webpages, and so on). If your search results only include a few types of documents, you will not see options to filter content types that don’t appear in your results. Instead, you might see a list of document authors. This saves time because only the most commonly occurring filters (within your query) are displayed.

SharePoint 2013 continues to extend the search refinement options provided in previous versions by adding additional refinement controls such as graphical date range controls and offering administrators extensive configuration options for presenting the most relevant filters to search users.

Tip

The types and kinds of refinement options can be modified on the Search Center. The refinement options can differ drastically based on the configuration.

Tip

Some refinement options will only appear if a suitable number of matching documents appear in the results.

Filter results by using search refiners

  1. On the Home page of a site, enter a search term in the search box.

  2. Click the Search button (the magnifying-glass icon) or press Enter to search.

    image with no caption
  3. Refine the search results by clicking the refinement options.

    image with no caption

Try This

Explore the various types of search refiners. With some, such as Modified Date, you can drag to select a range of dates for filtering.

Previewing search results in Search Center

SharePoint 2013 offers a number of preview options within the search results view. For example, users can quickly preview Office documents via the Office Web Apps integration. The same is true for video results.

These features become very useful when you are trying to scroll through a large number of potentially relevant search results. Integrated preview makes it easy for you to quickly glance at a document or video and determine if you need to investigate further without opening or downloading the full version of the document.

Preview documents

  1. On the Home page of a Search Center, enter a search term in the search box and click the Search button (the magnifying-glass icon) or press Enter to start a search.

    image with no caption
  2. In the results that appear, hover the mouse pointer over any that show an Office document.

  3. Navigate within the document by using the preview navigation tools.

    image with no caption

Tip

Office document previews require integration with the Office Web Apps product, which might not be available in your environment. Talk with your administrator to determine if your implementation of SharePoint 2013 supports these features.

Tip

If you have a scroll wheel or other scrolling interface, you can hover over the preview of Word documents and roll the scroll wheel to move between pages. Microsoft PowerPoint previews expose clickable arrows with which you can move between slides.

Preview videos

  1. On the Home page of a Search Center, enter a search term in the search box and click the Search button (the magnifying-glass icon) or press Enter to start a search.

    image with no caption
  2. In the results that appear, hover the mouse pointer over any that show a video.

  3. Navigate within the video by using the preview navigation tools.

    image with no caption

Tip

If you are on a slow network connection, the video preview might not immediately play. You will have to wait for the playback to buffer the data before preview is available.

With the abundance of search options currently available in the SharePoint 2013 Search Centers, you might not find yourself needing to use advanced search. The advanced search view is still available, however, and it splits the single text field that many users currently use into a collection of text fields.

Most of the options presented, such as the ability to include entire phrases or exclude keywords from search, can also be performed from standard search text boxes. This requires remembering special symbols (or using quotes to indicate phrases). Advanced search simplifies this process.

If you want to learn more about these query options from the standard query text field, read Effective search techniques.

  1. Within a Search Center, perform a search.

  2. At the bottom of the results area, click the Advanced Search link.

    image with no caption

    Tip

    The Advanced Search link is only available within Search Centers, so you might not see the link if a Search Center has not been linked to your site. If the Advanced Search link is available, it appears at the bottom of the search results, so you will need to scroll to the end of the page to ensure the link is visible.

    Tip

    The language options available within Advanced Search will depend on the installed and supported languages available within your environment. Your options might vary.

  3. On the Advanced Search page, enter your search terms, metadata, and language preferences.

  4. Add any metadata properties to the search.

  5. Click the Search button.

    image with no caption

Working with search alerts

Search alerts notify you as search results change over time. Perhaps you are interested in keeping track of all documents that contain the phrase “tax audit” within your site (why you’re interested in that is probably none of our business). In this case, you could generate a search alert that would email you a summary of any documents that are added or changed that match this search expression.

Search alerts do require the system to generate reports, so you are limited to receiving a daily or weekly summary of the changes that impact your search alerts. This does mean, however, that your email inbox won’t fill to overflowing with every small change that might be made to a site!

Create search alerts

  1. Within a Search Center, perform a search.

  2. At the bottom of the results area, click the Alert Me link.

    image with no caption

    Tip

    If you are familiar with the SharePoint 2010 RSS link on the search results page, this link has been replaced by search alerts in SharePoint 2013.

    Tip

    The Alert Title is a title that you can use to manage this alert in the future. Enter a descriptive value that you will recognize in the future.

  3. On the New Alert page, enter a descriptive title for the alert.

  4. Choose an email address to which you want the alert to be sent.

  5. Choose whether new, existing, or both types of changes will be logged in the notification.

  6. Choose whether you want to receive an email daily or weekly in the event of a change.

  7. Click OK.

    image with no caption

Edit or delete search alerts

  1. Within a Search Center, perform a search.

  2. At the bottom of the results area, click the Preferences link.

    image with no caption
  3. On the Preferences page, in the Search Alerts section, click the Search Alerts link.

    image with no caption

    Tip

    The Preferences link is at the bottom of the page, so you might need to scroll to the end of your search results to access it.

  4. To edit an alert, click the title of a search alert.

  5. To delete an alert, select the check box adjacent to the alert.

  6. Click Delete Selected Alerts to remove the selected alert(s).

    image with no caption

Setting your search preferences

From within a Search Center, individual users can customize their search preferences and save these persistently. For example, users can enable or disable autosuggestion, which is a helper that completes your queries as you are writing them.

As with many new SharePoint options, you can enable or disable them if you find that they are a distraction. The primary benefit offered by the Search Center is to make it possible for users to self-administer their search preferences, without them having to talk to IT or your site administrators.

Set your search preferences

  1. Within a Search Center, perform a search.

  2. At the bottom of the results area, click the Preferences link.

    image with no caption

    Tip

    The Preferences link is at the bottom of the page, so you might need to scroll to the end of your search results to access it.

  3. On the Preferences page, choose your autosuggestion options.

  4. If you want to clear your past searching history, click Clear History.

  5. Select whether to open search results in the browser or by using your local client application.

  6. Click the Search Languages link to choose the languages of content that will be evaluated when you use search.

  7. Click the Save Preferences button.

    image with no caption

Promoting search results

If you’ve created a SharePoint 2013 Search Center and have begun tailoring the search options of your sites, you’ve probably been asked the question of how to manipulate search results. Perhaps you have a regulatory need or you just need to ensure that certain keywords always prominently feature a single result at the top of the search results.

One example might be if you want to push HR policy documents that match specific keywords to the top of all searches. You might create a promoted search result for all searches that contain the terms “vacation policy.” This would give you the opportunity to feature the formal HR Vacation Policy document as the first hit for any of these queries, regardless of the other search terms or search preferences.

This can save your user community a great deal of time if used pervasively, or this could simply represent a quick fix to promote “hard to find” documents higher in your results. Above and beyond these settings, SharePoint offers a great deal of configuration options to tune and rank your search results to help push valuable content to the top of end-user searches.

Promote search results

  1. In your Search Center, click the Settings button and then, on the menu that appears, click Site Settings. On the Site Settings page, scroll to the Search section and click the Query Rules link.

    image with no caption
  2. On the Manage Query Rules page, enter a context for rule configuration. For simple SharePoint sites, choose the Local SharePoint Results (System) option.

  3. Click New Query Rule.

    image with no caption

    Tip

    The Query Matches Keyword Exactly condition is one of the simplest choices to ensure that key phrases are placed at the top of search results.

    Tip

    Choose a descriptive name for your rule because this name will display if you later need to sort priorities of promoted results.

  4. On the Add Query Rule page, in the General Information section, enter a name for your rule.

  5. In the Query Conditions section, enter a query condition. For straightforward keyword promotion, enter Exact Match and enter a semicolon delimited set of terms to be promoted to the top of search results.

  6. In the Actions section, click Add Promoted Result.

    image with no caption
  7. Enter the title, URL, and description that the promoted link will be given when it appears in the search results.

  8. Click Save to save the Action.

    image with no caption
  9. Click Save.

    image with no caption

Try This

Each query condition offers a different set of configurable options. Explore the Advanced Query Text match and some of the other options.

Excluding site content

In most configurations, SharePoint applies security to ensure that users only see search results that they are allowed to access. However, there are cases for which you don’t want to explicitly block access to documents, but you want to hide documents away from most users.

For example, you might have a new site containing informal content that is edited by a large number of users. In this case, you would not want to define a complex security model, but you might be concerned that some users would inadvertently access these pages and documents via search and think the information is finalized. In these scenarios, you can specify within SharePoint 2013 that certain site content should not be indexed, which reduces the possibility of users accidently finding these documents.

  1. From the site that you want to exclude, click the Settings button (the small gear icon next to the name of the logged-on user) and then, on the menu that appears, click Site Settings.

    image with no caption
  2. On the Site Settings page, in the Search section, click the Search And Offline Availability link.

    image with no caption

    Caution

    SharePoint search can inadvertently expose pages that contain mixed security data. If you are concerned that some site pages or lists contain data targeted at particular groups, ensure that you do not index ASPX page content within step 4 of the task that follows.

  3. On the Search And Offline Availability page, click No if you want to exclude the entire site from search results.

  4. Alternatively, click one of the options depending on how you want to index content that appears on pages from Web Parts. Because many Web Parts contain dynamic data from other locations or expose personalized data, this might inadvertently expose user data.

  5. Click OK to save your results.

    image with no caption

Excluding document libraries and lists from search

As with site content in SharePoint 2013, you might sometimes want to hide only a specific document library or list from search, ensuring that users do not inadvertently access files via search without realizing the content is not ready for use.

  1. Navigate to a document library on your site and then, on the ribbon, click the Library tab.

  2. In the Settings group, click the Library Settings button.

    image with no caption
  3. On the Library settings page, in the General section, click Advanced Settings.

    image with no caption

    Tip

    You will require administrative access to the list or library that you will be working with during this task. Consult your administrator if you are unable to access the advanced settings for the library.

    Caution

    Hiding content from search is not a substitute for a security. If you are concerned that users should not access certain content, you should instead work with site and library permissions to ensure that only authorized personnel can access sensitive content.

  4. On the Advanced Settings page, in the Search section, click the No option.

    image with no caption
  5. Click OK to save your settings.

    image with no caption

SharePoint 2013 search reads not only the content of documents and pages but also the metadata (site columns) defined on list items and documents. This includes the title of the document, its file name, and the author of the document, as well as other site columns associated with the document.

If you have certain metadata that you want to ensure isn’t picked up by the search engine within SharePoint, you can remove this information from the search index.

  1. Click the Settings button (the small gear icon next to the name of the logged-on user) and then, on the menu that appears, click Site Settings.

    image with no caption
  2. On the Site Settings page, in the Search section, click the Searchable Columns link.

    image with no caption

    Tip

    You can only suppress site column data for site columns defined within the current site. If your site makes use of site columns defined for a root site, you will need to navigate to the root site before performing these steps.

    Caution

    Removing site columns from search will not block access to this information if a user navigates directly to a document or list item on your site. It will, however, ensure that searches that exclusively match keywords appearing in these site columns will not show these items within the results.

  3. Select the check box next to the column(s) that you want to suppress from search.

  4. Click OK to save your changes.

    image with no caption

See Also

For information about defining metadata (site columns), see Creating site columns.

Maintaining search configurations

With all of the changes that you can make to the search configuration and directly to the Search Center associated with your site, you’ll be relieved to know that you don’t have to enter this configuration each and every time that you set up a site.

You can export your SharePoint 2013 search configuration from a single site and import it in another site. For example, if you set up a new Search Center, you could migrate all of the promoted search results that you previously entered on another site into your new site.

Using these management tools, you can apply your site changes consistently across additional sites and help enforce continuity between sites. Additionally, they ensure that the time that you spend setting up tailored search rules is more like a reusable investment that you can take advantage of for future sites.

Export your search configuration

  1. On the site for which you have configured search, Click the Settings icon and then, on the menu that appears, click Site Settings.

    image with no caption
  2. On the Site Settings page, in the Search section, click the Configuration Export link.

    image with no caption
  3. Click Save to save the export file to your computer.

    image with no caption

Tip

The default name of the export file is SearchConfiguration.xml. It is placed in your downloads folder unless you choose another location.

Tip

The search import and export process only covers the migration of the following elements: Search Schema, Query Rules, Result Sources, Result Type, and your Ranking Model.

Import your search configuration

  1. On the Site Settings page, in the Search section, click the Configuration Import link.

    image with no caption
  2. On the Import Search Configuration page, click Browse and select the file that you previously exported to your computer.

  3. Click the Import button to import your search configurations.

    image with no caption
  4. Refresh your browser until the import status changes from Pending Import to Imported Successfully (during import, the status will show as Importing).

    image with no caption
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.72.245