Re: [hibernate-dev] Re: [Hibernate-JIRA] Commented: (HSEARCH-115) Add a default value for indexing null value

2008-04-23 Thread Hardy Ferentschik
On Tue, 22 Apr 2008 18:47:14 +0200, Sanne Grinovero [EMAIL PROTECTED] wrote: Yes right but I don't see how this is worse than searching for foo:bar OR foo:NULL-KEYWORD, just some less ambiguity. If you just want to search for null fields, fooIsNull:true It is not much worse, but as less

Re: [hibernate-dev] Re: [Hibernate-JIRA] Commented: (HSEARCH-115) Add a default value for indexing null value

2008-04-23 Thread Hardy Ferentschik
Hi again :) One more thing comes to my mind: On Tue, 22 Apr 2008 18:47:14 +0200, Sanne Grinovero [EMAIL PROTECTED] wrote: The Field and StringBridge API would remain as-is; I am not so sure about that. Looking at the DocumentBuilder code it would make sense to let the FieldBridge

Re: [hibernate-dev] Re: [Hibernate-JIRA] Commented: (HSEARCH-115) Add a default value for indexing null value

2008-04-23 Thread Sanne Grinovero
Hi, hoping the rest of list users won't hate me: IMHO I think it would be preferable to handle this in the DocumentBuilder, so that people won't have to repeat this complexity in custom FieldBridge implementations, and you don't have to update all built-in FieldBridges. We could make a wrapping