How to configure managed properties?

Managed properties are values that can be used in search queries, when searching on specific metadata properties, and they can be shown as search refiners/filters, in the search results page. They are mapped to crawled properties that are used for indexing the content. Follow the following steps to configure your managed properties:

  1. Open SharePoint’s managed properties’ page:
    1. Go to MetaShare’s start page.
    2. Click on the “Settings” function in the top bar:
      MetaShare's settings icon
    3. Click on “Search properties” in MetaShare settings’ left navigation menu and then on “managed properties” link, on the top of the page:
      How to access SharePoint's search schema from MetaShare settings
  2. For each of the site columns, that you want to be able to refine/filter on and also search on, using custom aliases, e.g. documenttype:policy, do the following:
    1. There are pre-created managed properties that are not mapped to any crawled properties. These properties are named as RefinableTYPEXX. Search for “RefinableString” (for text metadata columns such as managed metadata, people or groups, choice or single line of text) or “RefinableDate” (for date metadata columns) under the “Managed Properties” tab:
      Search for managed properties
    2. Click on a managed property with no “Mapped Crawled Properties”:
      Managed properties without mapped crawled properties
    3. To be able to search using the document property, e.g. keyword:gdpr, provide an “Alias” for the property:
      Provide the managed property an "Alias"
      • Aliases may not contain spaces, so the alias for “document type” could be “DocumentType”.
      • Aliases may contain international characters such as å, ä, ö, etc.
      • If multiple aliases are to be provided separate them with semicolon (;) without any spaces, as the example above.
      • Aliases need to be unique in the search schema, so an alias cannot be used in multiple managed properties.
    4. Click on “Add a Mapping”:
      Add mappings to crawled properties
    5. Search for the site column’s internal name:
      Search for the site column's internal name
      • If you can’t find your crawled property, it is possible that it hasn’t been created yet. This could be because no document has yet been tagged on the specific metadata. Note that a new search crawl starts every 15 minutes. If your workspaces are configured for item draft security, please note that these documents first need to be published before they will be crawled by SharePoint and before SharePoint creates a crawled property for these site columns.
      • Select the crawled property that begins with “ows_”, if mapping to a string property (e.g. columns of type managed metadata, people or groups, choice or single line of text), e.g. “ows_keyword” if the internal name of the column is “keyword”.
      • Select the crawled property that begins with “ows_q_DATE_”, if mapping to a date property (date metadata columns), e.g. “ows_q_DATE_meetingdate” if the internal name of the column is “meetingdate”.
      • If you have several columns for e.g. document types or keywords, and want to be able to refine or search for any of these, regardless of which column they are in, then add all of their crawled properties to the managed property.
      • For these standard SharePoint columns use the following crawled properties:
        Column/refiner Crawled property, in this order Comments
        Workspace ows_SiteName Map to any available RefinableString
        Created by ows_Created_x0020_By, Office:4 Map to any available RefinableString
        Modified by ows_Modified_x0020_By, LastModifiedBy, LastModifier, ows_ModifiedBy, Office:8 Map to any available RefinableString
        Created   No mapping is required as it, by default is refinable
        Modified   No mapping is required as it, by default is refinable
        You can find  “Office:4” or “Office:8” by filtering on Office:

        Filtering on Office to find "Office:4" and "Office:8"

      • Note down the name of the used managed property, as you will later need to know their names, when defining the search properties in MetaShare or when creating a custom search results page.
      • Click on the “OK” button on the bottom of the page.
    6. For each of SharePoint’s default document properties that you might not want to refine on but to be able to search on, using custom aliases, e.g. documentname:agenda, instead of filename:agenda.
      Document property Managed property
      File name Filename
      Document title Title
      Document author Author
      Created Created
      Modified LastModifiedTime
      File size Size
      Do the following:
      1. In the Managed properties page, search for the column’s built-in property name.
      2. Open the managed property.
      3. Make sure that the managed property is “Queryable”:
        Make sure that the managed property is "Queryable"
      4. Scroll down to the “Alias” section and add your custom aliases. If the managed property already has default aliases, first copy these to your clipboard, as these will for some reason otherwise be removed after you save your changes. You therefore need to edit the managed property a second time and paste them back as the default aliases.
      5. Click on the “OK” button on the bottom of the page
  3. If you have Single line of text site columns, whose values you would like to be able to search on, without using an alias as prefix, you need to make their values searchable (by default all managed metadata columns are searchable). The “Searchable” value of the managed properties that you customized in step 3 above, the RefinableTYPEXX properties, cannot be set, so to make these columns searchable you need to:
    1. Search for a managed property whose name starts with the column’s name and has “OWSTEXT” as a suffix.
    2. Open the managed property.
    3. Set the managed property’s “Searchable”:
      Set the managed property's "Searchable"
    4. Add a Mapping to the column’s crawled property, as described in step 2d above.
    5. Click on the “OK” button on the bottom of the page
  4. After mapping the managed properties the changes will be applied to the index first after the next full crawl. To speed up the process, before being able to show metadata values in search refiners/filters and the document result list, reindex one of the sites or libraries that contain the crawled properties that you have mapped in step 2 above.

Further information about managed properties, can be read in the following articles: