[hibernate-dev] [HSearch] Facet drilldown
Hardy Ferentschik
hibernate at ferentschik.de
Mon Mar 14 11:33:32 EDT 2011
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.
More information about the hibernate-dev
mailing list