Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

How to index DefaultPrice of all markets

$
0
0

Hi, 

I have some code lines as this

            var markets = _marketService.GetAllMarkets();
            foreach(var m in markets)
            {
                conventionBuilder.IncludeField(x => x.DefaultPriceByMarket(m.MarketId));
            }

And I expected that Find would indexed n field correspond the quantity of market but I see only 1 field DefaultPriceByMarket with 1 product in Find Explore (as below)

"m.MarketId.DefaultPriceByMarket$$number": 32.5,

How can I index all DefaultPrice of all market? And what is the name of those fields that I can use in code?

Thank you for your answer,


Viewing all articles
Browse latest Browse all 6894

Trending Articles