Basically, I have 2 dictionaries "MinimumMarketCustomerGroupPrices" and "MaximumMarketCustomerGroupPrices" in my find index for every product in my commerce website.
The minimum dictionary holds product price per market for each customer group for price facets purposes. The maximum one is used for display purposes in thumbnails page.
They have same exact keys in each. For ex:
Min => "Market_CustomerGroup$$number": 21.06
Max => "Market_CustomerGroup$$number": 63.75
The maximum dictionary is saved in the index before the minimum dictionary.
When I am trying to fetch price facets results for returned products from the minimum dictionary, it always return the value in the max dictionary.
So the facet price range will always be $60-$80 instead of $20.00-$40.00