Updating a collection does not reindex

Description

None

Activity

Show:

PacoPNovember 30, 2011 at 8:43 PM

Ok, I will continue the discussion on the forum.

Sanne GrinoveroNovember 30, 2011 at 8:22 PM

Hi Paco,
we have lots of unit tests covering this so I'm pretty confident it generally works fine; there might be something special about your use case, could you provide a runnable unit test?
In any case we aren't going to reopen such an old issue; I saw your post on the forums let's discuss it there, and then we can eventually open a new issue.

PacoPNovember 30, 2011 at 8:17 PM

I'm not sure if this bug is really fixed because I can reproduce it with hibernate-core 3.6.8.Final and hibernate-search 3.4.1.Final:

session = HibernateUtil.getSessionFactory().openSession();
tx = session.beginTransaction();
Node node = (Node) session.load(Node.class, uuid);

if (!node.getKeywords().contains(keyword)) {
node.getKeywords().add(keyword);
}

session.update(node);
HibernateUtil.commit(tx);

Emmanuel BernardJanuary 31, 2008 at 12:51 AM

Need to add the new events to the configuration though

Emmanuel BernardJanuary 30, 2008 at 11:49 PM

I am working on it slightly smiling face

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created May 18, 2007 at 2:04 AM
Updated November 30, 2011 at 8:43 PM
Resolved January 31, 2008 at 12:51 AM

Flag notifications