Skip to content

owstaxidmetadataalltagsinfo managed property in search api doesn't contain all managed metadata column data #7445

@ishanisuchak

Description

@ishanisuchak

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

SharePoint REST API

Developer environment

No response

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

  • browser version: Version 94.0.4606.81 (Official Build) (64-bit)
  • node version: v10.23.3

Describe the bug / error

We have a custom site column "HubNewsCategory" which has terms in it and the site has been created more than a month back. So, we are sure the data is all crawled. We have also reindexed the site and the lists multiple times.

There are two crawled properties created for the column:

  1. ows_HubNewsCategory
  2. ows_taxId_HubNewsCategory

We tried mapping “ows_HubNewsCategory” to a new managed property and that returns semi-colon separated labels for the selected terms as expected.

But the OOTB created managed property owstaxIdHubNewsCategory remains empty.

We also tried mapping "ows_taxId_HubNewsCategory" to a new managed property and that too remains empty.

It looks like “ows_taxId_HubNewsCategory” crawled property doesn’t have any value, so it doesn’t get propagated to owstaxIdHubNewsCategory and owstaxidmetadataalltagsinfo managed properties.

Steps to reproduce

  1. Create a site column called HubNewsCategory
  2. Map it to any term set
  3. Add the column in a list
  4. Fire a search query and check if owstaxidmetadataalltagsinfo managed property has the value for the HubNewsCategory column in it.

Expected behavior

owstaxidmetadataalltagsinfo managed property should contain the values from all the managed metadata columns in a list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:csom/rest/apiCategory: SharePoint Client Side Object Model SDK / REST APIarea:otherCategory: unknown (does not fit any other category)type:archive-old-issueIssues which are closed as tool old for active worktype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions