Vulnerability in EPiServer.Forms
Hi, we got a inaccurate TermCount by using TermFacet and Filter in Epi find..
We are using the multiple TermFacetFor, however in one of these TermFacets, we have a special requirement.
For example, a variantA did not have any tags in this special TermFacet, however its related variants does have a tag, so ths variantA should be inclued in the TermFacet which meams the Terms count should show more result. However our ContentResult ===> TermFacet ===> TermCount did not show the whole amount whereas the ContentResult ====> SearchResult =====> TotalMatching could show the accurate result after we took a special filtering. So the question is could we reset the TermCount in EpiFind.?
Sounds like you need to create a custom index field on variation level where you index term facet data for the related variations in. You can then use TermsFacetFor on that field.
@Oskar, thank you, yes, we insert a extension method as the custom field in the variantion level, the thing is that we would like to aggregate this extension field to another field which both them will use the same TermsFacetFor. So maybe it is doable?
Hi, @Oskar, we solved this issue by using combine those two extension fields together.
Sorry about not replying until now. Glad to hear it worked out :)