[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-278) Create a Search Statistic JMX Bean

Hardy Ferentschik (JIRA) noreply at atlassian.com
Mon Jul 5 10:58:14 EDT 2010


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

Hardy Ferentschik commented on HSEARCH-278:
-------------------------------------------

Someone cares for commenting this commit - http://fisheye.jboss.org/changelog/Hibernate/?cs=19897
I added two MBeans - {{HibernateSearchConfigInfoMBean}} and {{HibernateSearchIndexCtrlMBean}}. The former shows which entities are indexed and how many Documetns of each indexed entity are in the Lucene index(es). The latter allows to purge the index for an entity or rebuild the index using the mass indexer. For this MBean to be used the Hibernate {{SessionFactory}} must be deployed via JNDI.
Either way, to enable register the beans you need to set {{hibernate.search.jmx_enabled}}.
Regarding the {{LuceneWorkDelegate}} I am planning to add a JMXMassIndexerProgressMonitor. Question is where and how to register the bean.
WDYT?

> Create a Search Statistic JMX Bean
> ----------------------------------
>
>                 Key: HSEARCH-278
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-278
>             Project: Hibernate Search
>          Issue Type: New Feature
>          Components: engine
>            Reporter: Hardy Ferentschik
>            Assignee: Hardy Ferentschik
>             Fix For: 3.3.0
>
>
> Provide access to some statistical data like number of documents, etc via JMX Bean similar to the one in Hibernate Core.
> Maybe also allow to trigger reindexing and purging. The interface could even allow for query execution ?!

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