SharePoint Online: Term Sets split to multiple refiners?

%3CLINGO-SUB%20id%3D%22lingo-sub-1926695%22%20slang%3D%22en-US%22%3ESharePoint%20Online%3A%20Term%20Sets%20split%20to%20multiple%20refiners%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1926695%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20there%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20Term%20Set%20named%20%22Level1%22.%20In%20that%20term%20set%2C%20I%20have%20a%20term%20that%20is%20called%20%22Level2%22%20and%20under%20that%2C%20I%20have%20several%20other%20terms%20-%20%22Level3%22.%20In%20my%20SharePoint%20libraries%2C%20I'm%20using%20a%20column%20that%20is%20called%20%22level3field%22%20and%20is%20linked%20to%20the%20above%20term%20set.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEach%20of%20those%20terms%20has%20a%20corresponding%20id.%20With%20the%20SharePoint%20search%2C%20I%20figured%20that%20with%20the%20following%20queries%20I%20can%20get%20exactly%20the%20search%20results%20I'm%20looking%20for.%20E.g.%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3EGP0%7C%23%3CSTRONG%3Etermid%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20Returns%20all%20items%20tagged%20with%20that%20term%3C%2FLI%3E%3CLI%3EGPP%7C%23%3CSTRONG%3Eterm%20id%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20Returns%20all%20items%20tagged%20with%20all%20child%20of%20the%20term%3C%2FLI%3E%3CLI%3EGP0%7C%230%3CSTRONG%3Eterm%20id%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20Returns%20all%20items%20tagged%20with%20that%20term%2C%20but%20without%20the%20child%20terms%3C%2FLI%3E%3CLI%3EGTSet%7C%23%3CSTRONG%3Eterm%20set%20id%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-%20Returns%20all%20items%20tagged%20with%20a%20term%20from%20the%20term%20set%3C%2FLI%3E%3C%2FUL%3E%3CP%3E(%3CA%20href%3D%22https%3A%2F%2Falberthoitingh.com%2F2017%2F01%2F30%2Fuse-term-ids-for-sharepoint-search%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Esource%3C%2FA%3E)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20perfect%20if%20I%20know%20what%20to%20look%20out%20for.%20However%2C%20I%20would%20like%20to%20have%20those%20different%20levels%20show%20up%20as%20an%20individual%20refiner%20for%20each%20level.%20E.g.%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3EA%20Refiner%20that%20shows%20all%20%22Level1%22%20terms%3C%2FLI%3E%3CLI%3EA%20Refiner%20that%20shows%20all%20%22Level2%22%20terms%3C%2FLI%3E%3CLI%3EA%20Refiner%20that%20shows%20all%20%22Level3%22%20terms%3C%2FLI%3E%3C%2FUL%3E%3CP%3EDo%20you%20know%20if%20that%20is%20possible%20with%20the%20current%20setup%3F%20If%20not%2C%20what%20would%20I%20need%20to%20change%3F%20I%20would%20like%20to%20avoid%20to%20create%203%20columns%20in%20my%20libraries%2C%20each%20with%20the%20same%20term%20set%20assigned%20even%20though%20the%20relation%20from%20parent-child%20of%20those%20terms%20would%20already%20exist%20and%20can%20be%20replicated%20in%201%20column.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20created%20a%20mapped%20property%20for%20the%20column%20%22level3field%22%20and%20assigned%20it%20to%20the%20corresponding%20crawled%20property%20to%20get%20it%20as%20a%20refiner%2C%20but%20then%20I%20only%20see%20%22Level3%22%20terms%20(as%20this%20is%20the%20one%20that%20is%20filled%20as%20metadata%20into%20that%20column%20%22level3field%22.%20There%20might%20be%20a%20case%20where%20I%20have%20to%20add%20the%20%22Level2%22%20metadata%20to%20the%20%22level3field%22%2C%20but%20then%20again%2C%20everything%20would%20be%20beneath%201%20refiner%2C%20instead%20of%203.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20really%20appreciate%20your%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20and%20kind%20regards%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1926695%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESearch%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Senior Member

Hey there

 

I have a Term Set named "Level1". In that term set, I have a term that is called "Level2" and under that, I have several other terms - "Level3". In my SharePoint libraries, I'm using a column that is called "level3field" and is linked to the above term set.

 

Each of those terms has a corresponding id. With the SharePoint search, I figured that with the following queries I can get exactly the search results I'm looking for. E.g.:

 

  • GP0|#termid - Returns all items tagged with that term
  • GPP|#term id - Returns all items tagged with all child of the term
  • GP0|#0term id - Returns all items tagged with that term, but without the child terms
  • GTSet|#term set id - Returns all items tagged with a term from the term set

(source)

 

This is perfect if I know what to look out for. However, I would like to have those different levels show up as an individual refiner for each level. E.g.:

 

  • A Refiner that shows all "Level1" terms
  • A Refiner that shows all "Level2" terms
  • A Refiner that shows all "Level3" terms

Do you know if that is possible with the current setup? If not, what would I need to change? I would like to avoid to create 3 columns in my libraries, each with the same term set assigned even though the relation from parent-child of those terms would already exist and can be replicated in 1 column.

 

I created a mapped property for the column "level3field" and assigned it to the corresponding crawled property to get it as a refiner, but then I only see "Level3" terms (as this is the one that is filled as metadata into that column "level3field". There might be a case where I have to add the "Level2" metadata to the "level3field", but then again, everything would be beneath 1 refiner, instead of 3.

 

I would really appreciate your help.

 

Thanks and kind regards,

0 Replies