Problems using UnifiedSearch and TermsFacetFor SeaarchCategory


We have a problem when using UnifiedSearch together with TermsFacetFor trying to get the categories.
In the code below the cats list is empty and the test list is populated. The SearchCategory exists in the index and there are strings in it for one of the hits.
How come?

            var search = client.UnifiedSearchFor(query.Text)
                .TermsFacetFor(x => x.SearchCategories)
                .TermsFacetFor(x => x.SearchTitle)

            var result = search.GetResult(new HitSpecification {HighlightExcerpt = true});
            var cats = result.TermsFacetFor(x => x.SearchCategories).Terms.Select(x => x.Term).ToList();

Jan 29, 2016 15:41
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.