lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: DrillSideways accepting FacetCollector parameter
Date Tue, 08 Jul 2014 14:45:33 GMT
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 <jigaronline@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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message