[hibernate-dev] [HSearch] Facet drilldown

Emmanuel Bernard emmanuel at hibernate.org
Mon Mar 14 12:01:03 EDT 2011


On 14 mars 2011, at 16:33, Hardy Ferentschik wrote:

> On Mon, 14 Mar 2011 15:43:20 +0100, Emmanuel Bernard <emmanuel at hibernate.org> wrote:
> 
>> Note that another benefit of option 2 is that we can down the road (post 3.4) implement a way to pre-select which facet element is enabled (say you want to filter by Epson and Canon by default for the first query).
>> 
>> facet().name("Brand")
>>  .onField("brand")
>>  .discrete()
>>  .select("Epson", "Canon")
>>  .createFacetRequest();
> 
> In my world this defines which concrete field values I should facet on. Ignoring all other potential
> values for brand.
> This is different though from filtering the results on these field values.

Granted, but a different verb than select might be able clarify things up.





More information about the hibernate-dev mailing list