[hibernate-dev] adding a binding to a boolean method in Search's @Field to enable/disable

Emmanuel Bernard emmanuel at hibernate.org
Mon Feb 22 03:42:44 EST 2010


I guess we can do like we've done for @AnalyzerDiscriminator.
But can you describe your use case a bit deeper?

On 22 févr. 2010, at 09:29, Sanne Grinovero wrote:

> Hello all,
> there's a user on Search's forum which is asking for a new feature:
> 
> https://forum.hibernate.org/viewtopic.php?f=9&t=1002800
> 
> We already had cases of people wanting to enable/disable indexing at
> instance level; in this case he wants to avoid indexing certain fields
> in some conditions; reading a boolean property in the same indexed
> instance would be good enough.
> I'm unsure about the binding expression, but the idea of having each
> Field enabled/disabled independently would indeed have helped me in
> other situations, preventing me from writing a full ClassBridge for
> just some special fields.
> 
> Regards,
> Sanne
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev





More information about the hibernate-dev mailing list