Contents
How is a crawled property created in a site column?
This naming convention is a bit tricky to understand. So let’s start with a simple example with two site columns, and then move to an explanation of the rules that apply to all site column types. During a crawl, a crawled property is automatically created for the site column.
When does a site column become a managed property?
Only site columns that contain values automatically become managed properties when they are crawled. Regular columns do not! So, that is a sweet deal! But, remember that you’ll use crawled and managed properties in later stages, when you configure refiners and queries in Search Web Parts.
When do you add a prefix to a crawled property?
The prefix that is added varies, depending on the site column type. In this example, we get the following crawled properties: A managed property is then automatically created and mapped to the corresponding crawled property. The name of this property is generated by removing spaces from the site column name, and adding a suffix.
When does a crawled property become a managed property?
When a catalog is crawled, SharePoint Server 2016 automatically creates a crawled property for each site column in the catalog. SharePoint Server 2016 also automatically creates a managed property for the site column, and adds a mapping between the two.
How to create crawled properties in SharePoint Server?
During the crawl of library content, the following actions are performed on the site columns: A crawled property is created. Spaces are removed from the site column name, and then the following prefixes are added to the site column name to create the crawled property name:
When to use crawled properties in modern team sites?
A little-known yet important issue exists when adding columns to Modern Team Sites if you want to use the crawled and managed properties generated from them in a search web part. The workaround for the issue was originally documented in November 2018 by Trevor Seward in a post, Crawled Properties Not Created From Site Columns in Modern Sites.