Hi,
there are 2 things i found out, while a had e few time with Hibernate Search again.
The index update seems to be wrong.
If i update an Object, it´s fields are written to the Index correctly - but the old entry stays in the index.
So you will find things, that don´t exist any more.
I think, this isn´t very practical.
Another thing is a mistake in the Documentation.
The docs say, that an @IndexedEmbedded Object don´t need to be @Indexed too.
But this is wrong! It will be indexed, but if you do an update on this child, this will only appear in the index, if the child is @Indexed.
The problem seems to be, that the SearchFactory does not have a DocumentBuilder in documentBuilders for the child. And you can only build a DocumentBuilder for an @Indexed Class.
|