I am executing an update with Entitymanager as follows:
Query query1 = em.createQuery("update user u set u.changed = true where u.changed is null");
query1.executeUpdate();
changed is an annoted field as follows:
@Column(nullable = false)
@Field(analyzer=@Analyzer(impl=StandardAnalyzer.class))
@FieldBridge(impl=org.hibernate.search.bridge.builtin.BooleanBridge.class)
private Boolean changed = false;
After the update the lucene index does not get updated. What do I have to do, that the lucene index gets also updated?
Kind regards Christian