Introduction to SharePoint Online Search

This post has been republished via RSS; it originally appeared at: SharePoint Support Blog articles.

Microsoft SharePoint Online Search is an integral part of SharePoint Online and it is the backbone of many features across Office 365. Below is a list of a few features that are driven by search and used daily:

  • Enterprise Search center
  • Site Search
  • List and library search
  • Search Web Parts
  • “Shared with me” view in OneDrive for business
  • Usage and popularity trends
  • DLP, eDiscovery Searches, and Retention

 

How Search Works

Search in SharePoint Online is composed of two main components: Crawl and Indexer. The crawl and indexer are shared resources and will process content for all tenants it has been configured to crawl and index. In support we often receive questions asking, "Why is there such a variance in the time it takes for item/site changes to be reflected in search? Sometimes it is very quick and other times it is extremely slow." The reason for the fluctuation in time taken is that both the crawl and indexer process content updates, adds, and deletes for all tenants in the farm and not just one tenant. The crawl and indexer have work queues that are used to process their work items. The following provides more information on purpose of the crawl and indexer: crawl and indexer:

  • The crawl is responsible for retrieving and processing the content into a specific format that can be used by the indexer to create the binary index. The crawler will retrieve “content” from content and user profile databases; perform content transformation and language normalization; and if successful send the information to the indexer.
  • The indexer is responsible for receiving the processed content from the crawl and then creating a binary index what users will search against.

Troubleshooting steps for when expected content is not appearing in search

The following steps are a good starting point to investigate search issues prior to opening a support case.

  1. Resubmitting content to the crawl - One of the first things that we recommend trying is re-indexing the content, as it effectively addresses and resolves most issues. In SharePoint Online, users can take the following actions to resubmit content to be processed and retried by the continuous crawl:
    • Only a few pages, documents, or items: If only a few pages, documents, or items need to be updated then make a small change to one of the properties. This will add it to the crawl queue.
    • User Profiles: There is no way for administrators/users to request a re-crawl of user profile properties via SharePoint Admin Center. If you need to a re-crawl of user profiles, you can open a case to support requesting a re-crawl of profile.
    • Important: Search freshness issues no longer require a manual re-index as part of the troubleshooting steps. The only time a re-index should be completed is when a schema property has changed, or due to a change of the mapping between crawled and managed properties.
  2. Confirm if the content is searchable via different search criteria – For example, see if searching for the page/item/document in the list or library returns the expected file/item. If it returns, then the issue is related to query configuration. We are planning a future blog post on common query configuration issues. If it doesn’t return, then it still could be in the process of being crawled or indexed.
  3. Verify that the page/document/custom page layout is a Major published version – the crawler will only crawl major versions that are published. More information on determining this is found in this article under Step 3.
  4. Verify that the site, list, library or user profile are set to be returned in search
  5. Pages are not returning in search as expected – your site may be using friendly urls which changes how pages are returned in search. Review this blog to see if this is the behavior that you want you want for your pages: Friendly URLs and search results
  6. Verify that sites/list/libraries are set to be searchable - Enable content on a site to be searchable
  7. Verify that it is within supported limits and boundaries - Search limits for SharePoint Online

 

Monitoring Crawl and Indexer for SharePoint Online Search

SharePoint Online does not provide a real-time dashboard for monitoring the status of the crawler or indexer. Each crawl and indexing job will take a varying amount of time.

 

When to open a Support Case

We recommend opening a support case if content is not being reflected as expected in search within 24 hours. We understand that certain scenarios have a higher impact to your business (high visibility, project deadline, etc.) and require a better understanding of what is occurring, so please do not hesitate to engage support. When you engage support please provide the following:

  1. The URLs for a few pages/list items/documents you are expecting to see in search.
  2. The search query or queries you are using.
  3. An overview of the objective you are trying to reach, such as expected outcome and current outcome.
  4. Information on the outcomes of the troubleshooting steps taken.

If you have any feedback or suggestions for search, please submit those suggestions to https://sharepoint.uservoice.com/. The Product Group checks the requests and feedback on a regular basis and uses this feedback for new features and enhancements to the product.

 

Authors: Sridhar Narra [MSFT], Tania Menice [MSFT], Yachiyo Jeska [MSFT]

Contributors: Paul Haskew[MSFT], Steffi Buchner [MSFT], Tony Radermacher [MSFT]

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.