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

> On Mon, 14 Mar 2011 15:43:20 +0100, Emmanuel Bernard <emman...@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.


_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to