Managed Property missing
-
08-02-2021 - |
Question
I am trying to search using managed property .
I had created terms in termstore management ex -COUNTRY-india,usa.
I had created site columns using managed metadata Country
add site column in document library and inserted one value like doc1 and country india
now if i go to search schema i can see ows_COUNTRY crawled property but my managed property is blank
But search automatically create managed property for site column having value.?
La solution
You said that "now if i go to search schema i can see ows_COUNTRY crawled property but my managed property is blank."
Do you mean the managed property is created, but it doesn't mapped o the crawled property? Or do you mean the managed property is not created?
From the official article: The search schema displays the name of auto-generated managed properties and their mappings to crawled properties in grey in the search schema. The search schema doesn't hold the settings of the managed auto-generated managed properties. The settings exist, but they're hidden from the search schema.
That means that the managed property mappings to crawled property. But they're hidden from the search schema.
Manage the search schema in SharePoint Online for your reference:
https://docs.microsoft.com/en-us/sharepoint/manage-search-schema
Autres conseils
Yes, you are right. The site columns that have value for them managed property will be created automatically.
From MSDN:
"In SharePoint, only site columns that contain values will automatically become managed properties when they are crawled. Regular columns will not automatically become managed properties when they are crawled."
Site column type, Site column name, Crawled property name, Managed property name
Managed Metadata, Site Column Name, ows_taxId_SiteColumnName, owstaxIdSiteColumnName
You can search the managed property for the manage metadata column with the below text:
owstaxId
Generally, it takes 24 to 72 hours to get it reflected for new managed property in SharePoint online. If this already crosses this time - you can raise a ticket to Microsoft help desk support.
MSDN Source:
Automatically created managed properties in SharePoint Server