[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-488) Nested use of @ContainedIn: changes not propagated to Lucene index

Pieter van den Brink (JIRA) noreply at atlassian.com
Wed Apr 14 08:17:59 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=36435#action_36435 ] 

Pieter van den Brink commented on HSEARCH-488:
----------------------------------------------

That's great, cheers!

> Nested use of @ContainedIn: changes not propagated to Lucene index
> ------------------------------------------------------------------
>
>                 Key: HSEARCH-488
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-488
>             Project: Hibernate Search
>          Issue Type: Bug
>    Affects Versions: 3.1.1.GA
>         Environment: Hibernate-core 3.3.2.GA
> PostgreSQL 8.4.2, testcase reproduced in hsqldb 1.8.0.7
>            Reporter: Pieter van den Brink
>            Assignee: Emmanuel Bernard
>             Fix For: 3.2.0.CR1
>
>         Attachments: TestNestedContainedIn.zip
>
>
> I'm having trouble getting Hibernate Search to automatically update the Lucene index for entities which are @ContainedIn an entity, which is again @ContainedIn another entity. 
> The class structure in this example is as follows: There are HelpItems and Tags, which are linked many-to-many via another entity HelpItemTag. The HelpItem is the only @Indexed entity, it embeds all tags via @IndexedEmbedded. If an indexed (@Field) property of Tag changes, the change is not propagated to the Lucene index.
> See the discussion at https://forum.hibernate.org/viewtopic.php?f=9&t=1003637 for a complete description.
> I have added a standalone testcase that reproduces the issue. As you can see in the the first testcase, the Tag name is indexed properly as part of the HelpItem, but the second testcase fails because the changed Tag name is not update in the Lucene index.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list