I have 2 test sites with almost identical setup (sp online) - the search works on one and not the other. Both have a term store with a hierarchy that looks like
Staffing
-- Recruitment
-- -- Policy
Both have a document library with an extra managed metadata column “metacol” linked to their respective Managed Term sets.
Both sites have a page “Recuitment” with a “Search Results” web part, where I’ve set the query to :
path:"https://myCompany.sharepoint.com/sites/Ops" owstaxIdMeta:#c8c89773-dc21-4b1d-b022-2d62f58a6127 (FileExtension:doc OR FileExtension:docx OR FileExtension:xls OR FileExtension:xlsx OR FileExtension:ppt OR FileExtension:pptx OR FileExtension:pdf) (IsDocument:"True" OR contentclass:"STS_ListItem")
Where “c8c89773-dc21-4b1d-b022-2d62f58a6127” is the id for the “Recruitment” term. ( there is a different id for the recruitment term in the other term set). The search works and returns documents tagged with Recruitment or Policy on one site and not the other?
As far as I can tell there are no significant differences between the sites, and I’ve reindexed both. The only difference I know of is that the working site was originally set up with “Managed Navigation” using the term set, while the non working site used Structural navigation.
These were both just prototype sites, and I need to know what’s gone wrong with the search before I can move forward to build the real sites?