Search only returns results matching the first Managed Metadata term

%3CLINGO-SUB%20id%3D%22lingo-sub-826701%22%20slang%3D%22en-US%22%3ESearch%20only%20returns%20results%20matching%20the%20first%20Managed%20Metadata%20term%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-826701%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20Managed%20Metadata%20column%20and%20term%20set%20that%20is%20configured%20to%20allow%20multiple%20terms.%20I%20built%20a%20Content%20Search%20Web%20Part%20that%20shows%20pages%20tagged%20with%20a%20specific%20term%2C%20let's%20call%20it%20%22Foo%22%2C%20but%20it%20will%20only%20show%20pages%20if%20the%20term%20is%20the%20first%20one%20in%20the%20list%20of%20terms%20in%20the%20column.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20example%2C%20the%20CSWP%20will%20show%20Page%201%20if%20Page%201%20has%20been%20tagged%20%22Foo%22%20and%20%22Bar%22%2C%20but%20it%20will%20not%20show%20Page%202%20if%20Page%202%20has%20been%20tagged%20%22Bar%22%20and%20then%20%22Foo%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20also%20tested%20the%20query%20in%20general%20search%20with%20the%20same%20result.%20And%20the%20opposite%20happens%20if%20the%20term%20I'm%20targeting%20is%20%22Bar%22%20(i.e.%20Page%202%20shows%20up%20in%20my%20results%20but%20not%20Page%201).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20managed%20property%20is%20%22KnowledgeBaseTopic%22%20and%20my%20query%20is%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Epath%3A%22https%3A%2F%2F%5B...%5D%2Fpages%22%20ContentTypeId%3A%5Bnumbers%5D*%26nbsp%3BKnowledgeBaseTopic%3A%22Foo%22%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESharePoint%20Server%202016...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-826701%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

I have a Managed Metadata column and term set that is configured to allow multiple terms. I built a Content Search Web Part that shows pages tagged with a specific term, let's call it "Foo", but it will only show pages if the term is the first one in the list of terms in the column.

 

For example, the CSWP will show Page 1 if Page 1 has been tagged "Foo" and "Bar", but it will not show Page 2 if Page 2 has been tagged "Bar" and then "Foo".

 

I've also tested the query in general search with the same result. And the opposite happens if the term I'm targeting is "Bar" (i.e. Page 2 shows up in my results but not Page 1).

 

My managed property is "KnowledgeBaseTopic" and my query is:

 

path:"https://[...]/pages" ContentTypeId:[numbers]* KnowledgeBaseTopic:"Foo" 

 

SharePoint Server 2016...

0 Replies