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);
Currentl
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,
Usecase:
With below code i perform search.
DrillSideways drillSideWays = new DrillSideways(searcher, config,
engine.getTaxoReader());
DrillSidewaysResult result = drillSideWays.search(filterQuery, null, null,
first + limit, sort, true, true);
In above code i don't have reference to FacetCollecto
Ahh I see, for this use case you should just subclass DrillSideways
and override the buildFacetResult method? That method gets the drill
down and all sideways collectors...
Mike McCandless
http://blog.mikemccandless.com
On Wed, Jul 9, 2014 at 1:40 AM, Jigar Shah wrote:
> Usecase:
>
> With bel
Ok, i have overriden buildFacetsResult(...) method like below, Its just
adding additional numericFacets to MultiFacets collection.
protected Facets buildFacetsResult(final FacetsCollector drillDowns, final
FacetsCollector[] drillSideways,
final String[] drillSidewaysDims) {
Facets dril
This is right, except, if "wordcount" is one of the drill-sideways
dims, you should use the drill-sideways collector instead of the
drill-down one?
Ie, once the user actually drills down on wordcount (if you expose
that in your UI), you should no longer use the drill-down collector
when faceting t