[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-285) Refactor DocumentBuilder to support containedIn only and regular Indexed entities

Emmanuel Bernard (JIRA) noreply at atlassian.com
Sun Nov 23 15:53:16 EST 2008


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

Emmanuel Bernard commented on HSEARCH-285:
------------------------------------------

I haven't had a chance to look at the commit but the change breaks a bunch of apps.
We need to keep 
DocumentBuilder.CLASS_FIELDNAME as it is. The book references it in several places.

> Refactor DocumentBuilder to support containedIn only and regular Indexed entities
> ---------------------------------------------------------------------------------
>
>                 Key: HSEARCH-285
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-285
>             Project: Hibernate Search
>          Issue Type: Improvement
>          Components: engine
>            Reporter: Emmanuel Bernard
>            Assignee: Hardy Ferentschik
>             Fix For: 3.1.0
>
>
> Probably an inheritance approach would be better. There is a lot of "dead code" when contained in only entities are using DocumentBuilder (and a lot of inapropriate APIs).
> class ContainableEntityBuilder
> class IndexedEntityBuilder extends ContainableEntityBuilder
> (names to be refined)

-- 
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