Another question: what is the transaction propagation?Remember that the index is updated only at commit time,so if you're checking the index state in the same transaction you won't find the to-be-stored new values yet.

Hibernate Search should receive the event during the merge, but write to the index during the transaction commit.

So logs should be useful to check if Hibernate Search is receiving the update event, and also to check if the transaction is actually being committed (to verify your transactions configuration).

If the event is being received, and the transaction is properly committed, then from the logs we should see activity too from Hibernate Search pushing the changes to the indexing backend.

Also it could be useful to set the Hibernate Search log level to debug, or trace.

I'm suggesting this as I'm not a Spring expert and as you asked in the first post, yes often the problem is with the transactions configuration.

Other times people use merge() inappropriately; personally I don't like the idea to change detached entities and re-attach them to a transaction after the when the merge operation is invoked, is the database updated at that same point?

could you add some logging to your update method and enable SQL logging to verify that?

I read that it might be an issue with transactionmanager. We are indexing a method on the object not a field. Final.jarlucene-core-3.1.0.jarhibernate-core-3.6.3. I have been given the task to try to get hibernate search working. Hi,so when the merge operation is invoked, is the database updated at that same point?

The method combines different text based on language. could you add some logging to your update method and enable SQL logging to verify that?

ALL) private List Im ready to provide more data if somebody can point to the areas where my problem might be.

{ @Override @Transactional public void create(Object Type element) { get Jpa Template().persist(element); // adds to lucene index } @Override @Transactional public void update(Object Type element) { get Jpa Template().merge(element); // doesn't update lucene index }...[email protected]@Table(name = "ad")@Sequence Generator(name = "ad_id_seq", sequence Name = "ad_id_seq", allocation Size = 1)@Indexed(index = "Ad Index")public class Ad { @One To Many(mapped By = "ad", cascade = Cascade Type.