Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
I would probably wrap that string splitting in a separate method on the object and then make a client convention to index that and then facet on it.
Check out
If you don't want to modify your nice object with a new method, you can always make an extension method for it on that object type to keep it nice and clean.
I got it to work. Ended up doing an extension method as you sugested. Thanks
I have addead metadata containing commaseparetad strings, I would like to facet on those in Find.
I have tried
query = query.TermsFacetFor(x => x.SearchMetaData["Publishers"].StringValue.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries));
But it does only give me a facet with name SearchMetaData.Publishers.StringValue.Split and no terms. How do i get facets on other properties in UnifiedSearch?