[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-219) Manual indexing strategy not implemented

Emmanuel Bernard (JIRA) noreply at atlassian.com
Mon Jun 30 09:35:32 EDT 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_30545 ] 

Emmanuel Bernard commented on HSEARCH-219:
------------------------------------------

You will need to be more specific
Event listeners need to be set up and activated but by using
hibernate.search.indexing_strategy manual
they will not call Hibernate Search nor index anything.

> Manual indexing strategy not implemented
> ----------------------------------------
>
>                 Key: HSEARCH-219
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-219
>             Project: Hibernate Search
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 3.0.1.GA
>            Reporter: Fol De Rol
>            Priority: Blocker
>
> It looks impossible to implement fully manual strategy of indexing because of mandating event listeners to be registered. 
> See org.hibernate.search.util.ContextHelper.java:25: 
>         //FIXME this sucks since we mandante the event listener use
> This causes a side effect to my application that stores an indication that the certain object is indexed in a child collection. So, when I complete manual indexing of an object, I add an element to this collection (actually, the cluster node identifier). This causes the Hibernate Search event listener to be triggered because the dependent collection has been modified which in its turn adds one more indexing job. Finally, I get an endless recursion.

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