hi, i had issue of index not update when object change.
Code:
@Index
class A {
@IndexEmbedded
private Data data;
}
@indexed
class Data {
@Field
private int count;
public void update()
{
count++;
}
}
In class Data, that is no @ContainedIn to link back to Object A.
When i running a @transactional service which call data.update(), the value in database and lucene index Data is update (field name = count), but lucene index A.(field name = data.count) NOT updated.
i using hibernate 3.4.0 snapshot, lucene 3.1 and hibernate 3.6.4.
any idea ?