On a list I have a field that links to the term store (managed metadata service application). Users can select multiple terms that are organized in a hierarchy.
TermSet
Parent 1
Child 1 1
Child 1 2
Parent 2
Child 2 1
Child 2 2
I added a managed property (Powershell New-FASTSearchMetadataManagedProperty
, queryable, MergeCrawledProperties = true) and mapped it to the crawled property (ows_taxid_....) by using the comandlet New-FASTSearchMetadataCrawledPropertyMapping
Lets say I have a list item heaving "Child 1 2" selected for that field.
When I query this field with fast query language, i get the multiple guid in the result (e.g. #7e4884b4-9318-4144-856b-0e05058d98be #07e4884b4-9318-4144-856b-0e05058d98be #f7f995fa-6e8f-432a-9c37-f9db6d750e1c). These id's contain the id of the term set, the id of "Parent 1" and the id of "Child 1 2". But thats not what i want. I expected to only get "Child 1 2" since thats what I selected for the item.
The problem is that this makes it impossible for me to find out what term really was selected. Especially if the usere selects multiple terms because than the id's of that term (and its parents ids) are just added to the list of ids without any additional separator.
Does anyone have an idea what i did wrong or how i can get only the id's of the selected terms?