November Happy Hour will be moved to Thursday December 5th.

Facets for multi dimensional ranges

Vote:
 

Hi,

My Data is soem thing like this
Product|Age Range From|Age Range To
A|0|2
A|0|3
A|2|5

I want to get facets for range (0-2,0-3,3-12), I have to apply this range on both column as starting limit and ending limit.

How can I do this? RangeFacet, HistogramFacet wont work for above requirements.

Regards
/Khurram

#90436
Sep 09, 2014 15:37
Vote:
 

Here Target Column is Price.
RangeFacetFor(x => x.Price, priceRanges.ToArray())
while I have Two target columns as Age range From and Age Range giving me a range To to compare with ranges.ToArray() 

I need something like 
RangeFacetFor(
Target Range(x => x.AgeFromRange,x => x.AgeFromRange), ranges.ToArray())

Regards
/K

#90479
Sep 10, 2014 13:21
Vote:
 

I'm not 100% sure if I understand you correctly, but could you perhaps use TermsFacet for? And then index an additional field that combines the two properties which is used for creating the facets?

#90481
Sep 10, 2014 14:02
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.