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

Hardy Ferentschik hibernate at ferentschik.de
Wed Apr 23 05:33:24 EDT 2008


Hi again :)

One more thing comes to my mind:

On Tue, 22 Apr 2008 18:47:14 +0200, Sanne Grinovero  
<sanne.grinovero at gmail.com> 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 handle the null marker. DocumentBuilder just iterates  
over the members
of the entity and for each with @Field annotated member calls the  
reponsible FieldBridge.
It also passes along additonal annotation values like the boost. It would  
make sense to handle the
@IndexNullMarker the same way, right?

--Hardy



More information about the hibernate-dev mailing list