Search for Managed property (Managed Metadata) no results

Peter Schneider 21 Reputation points
2022-12-13T07:41:24.53+00:00

I´ve defined a web site column of the type "Managed Metadata". The corresponding crawled property is mapped to a managed property.
When I use this property within a Highlighted Content Webpart I get no results. When using the automatic generated managed property there is only one document in the resultset.

I expected 2 results

Several redefines and reindexes of the library and websites didn´t change the behaviour.
Do you have any hints to solve the problem?

----------

The definitions:

269916-image.png
269926-image.png

The results:

269957-image.png
269923-image.png

269935-image.png

Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

Accepted answer
  1. Xuyan Ding - MSFT 7,601 Reputation points
    2022-12-14T11:36:24.297+00:00

    Hi @Peter Schneider ,

    I noticed that you used ows_taxId_informationstyp when setting the managed property. ows_taxId type property is automatically generated but is not associated to any crawled property. We usually don't use it in web part. You can remove this mapping to see if filtering works. Also, if you're still having issues with managed properties you've created yourself, you can try editing to use OOTB's managed properties and map ows_informationstyp to crawled properties, which usually causes no other issues.
    270508-microsoftteams-image-38.png
    Here is a specific case for your reference: Unable to use the new "Highlighted content" modern web part to show documents that are linked to certain terms inside our term set
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Peter Schneider 21 Reputation points
    2022-12-14T13:42:24.78+00:00

    The ows_taxId_informationstyp property seemed to be the problem. After removing it from the managed property the results are shown as expected.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.