We could do this, but what's the use case? E.g. DrillSideways also "hardwires" the drill-sideways collectors it creates ... do you control over those as well? Maybe we could make methods in the DrillSideways class that you could override?
Mike McCandless http://blog.mikemccandless.com On Tue, Jul 8, 2014 at 7:14 AM, Jigar Shah <jigaronl...@gmail.com> wrote: > Currently Drillsideways provides following method: > > public DrillSidewaysResult search(DrillDownQuery query, Collector > hitCollector); > > Can same class provide following method ? > > public DrillSidewaysResult search(DrillDownQuery query, Collector > hitCollector, FacetsCollector facetCollector); > > Currently, > > FacetsCollector drillDownCollector = new FacetsCollector(); > > is created from API method > > public DrillSidewaysResult search(DrillDownQuery query, Collector > hitCollector) throws IOException > > which can be parametrised ? > > It will help application to use same FacetsCollector to fetch other facets, > i.e. non sideways facets. > > Thanks, > Jigar Shah. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org