Erick, Actually we are eCommerce site and we have master child relationship in our catalog. we show only masters in our website . for example we have Iphone as a master product and different sellers are selling ipone through our site these products are child product . the price of the master is being decide by some Ranking Algo (RA) so the price that is being shown on website is decided by RA from these child products . our current RA is (min price + quantity of the product ) so Price of the product(master) is dynamically changed in our system .
And on this scenario we want price facet on website . Please give some insight to solve our problem . ~MA On Tue, Feb 2, 2016 at 2:08 AM, Erick Erickson <erickerick...@gmail.com> wrote: > Frankly, I have no idea what this means. Only count a facet > for a particular document for the minimum for a MV field? I.e. > if the doc has values 1, 2, 3, 4 in a MV field, it should only be > counted in the "1" bucket? > > The easiest would be to have a second field that contained the > min value and facet on _that_. If you're using min as an exemplar > of an arbitrary math function it's harder. > > See also: http://yonik.com/solr-facet-functions/ > > Best, > Erick > > On Mon, Feb 1, 2016 at 3:50 AM, Midas A <test.mi...@gmail.com> wrote: > > Hi , > > we want facet query on min of multi valued field . > > > > > > Regards, > > Abhishek Tiwari >