Re: Numeric Ranges Faceting

2017-02-18 Thread Michael McCandless
Hi, I think you are close! All you need to do is make a subclass of DrillSideways and override the buildFacetsResults method to do the range faceting on your numeric dims. I just pushed an improvement to RangeFacetsExample.java showing how to do this: http://git-wip-us.apache.org/repos/asf/lucen

Re: Numeric Ranges Faceting

2017-02-18 Thread Chitra R
Hi, RangeFaceting computation was working fine while adding numeric Ranges in DrillDownQuery. And this is not my issue. My question is, I need to compute string facets (via SortedSetDocValuesFacetCounts) using drill sideways search by adding numeric Ranges in DrillDownQuery... This case only thr

Re: Numeric Ranges Faceting

2017-02-18 Thread Michael McCandless
You'll need to make your own buildFacetResults method in your DrillSideways subclass, and inside there you compute the facet counts for each dim using the implementation that dim used (taxonomy, sorted set, or range). The TestRangeFacetCounts shows another example of this. Mike McCandless http:/