In SharePoint Online, content is automatically crawled based on a defined crawl schedule. The crawler picks up content that has changed since the last crawl and updates the index. In some cases, you may want to manually request crawling and full re-indexing of a site, a document library, or a list.
Re-index a site
WARNING Re-indexing a site can cause a massive load on the search system. Don’t re-index your site unless you’ve made changes that require all items to be re-indexed.
- On the site, click Settings > Site Settings.
- Under Search, click Search and offline availability.
- In the Reindex site section, click Reindex site.
- A warning appears, click Reindex site again to confirm. The content will be re-indexed during the next scheduled crawl.
Re-index a document library or a list
- On the site, go to the list or library that you want to re-index.
- In the ribbon, click the Library tab or the List tab.
- In the Library ribbon, choose Library Settings,
In the List ribbon choose List Settings.
- On the Settings page, under General Settings, choose Advanced settings.
- Scroll down to Reindex Document Library or Reindex List, and click the button. The content will be re-indexed during the next scheduled crawl.
Re-index after changing managed properties
When people search for content on your SharePoint sites, what’s in your search index decides what they’ll find. The search index contains information from all documents and pages on your site.
The search index is built up by crawling the content on your SharePoint site. The crawler picks up content and metadata from the documents in the form of crawled properties. To get the content and metadata from the documents into the search index, the crawled properties must be mapped to managed properties. Only managed properties are kept in the index. This means that users can only search on managed properties.
When you have changed a managed property, or when you have changed the mapping of crawled and managed properties, the site must be re-crawled before your changes will be reflected in the search index. Because your changes are made in the search schema, and not to the actual site, the crawler will not automatically re-index the site. To make sure that your changes are crawled and fully re-indexed, you must request a re-indexing of the site. The site content will be re-crawled and re-indexed so that you can start using the managed properties in queries, query rules and display templates.
You can also choose to only re-index a document library or a list. When you have changed a managed property that’s used in a library or list, or changed the mapping of crawled and managed properties, you can specifically request a re-indexing of that library or list only. All of the content in that library or list is marked as changed, and the content is picked up during the next scheduled crawl and re-indexed.
Learn more about search and crawled and managed properties in Manage the search schema in SharePoint Online.