Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Facets on ItemCollection

Vote:
 

Hi guys

I have an ItemCollection property on a product:

        [CultureSpecific]
        [Searchable]
        [FacetProperty]
        [BackingType(typeof(PropertyDictionaryMultiple))]
        [SelectMany(SelectionFactoryType = typeof(EnumStringSelectionFactory))]
        [Display(Name = "Product brands", GroupName = PropertyGroupNames.Product, Order = 700)]
        public virtual ItemCollection ProductBrands { get; set; }

This is indexed just fine within Find, but I cannot get the list of facets for it. Is there a way to do it?

Can you please help me out?

Best regrads

Miroslav

#187686
Jan 31, 2018 20:09
Vote:
 

No one?

#187995
Feb 08, 2018 8:30
Vote:
 

How are you retriving the facets? 

Is this not working?

 .TermsFacetFor(x => x.ProductBrands)



#188269
Feb 16, 2018 12:27
* 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.