lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Jain" <Eric.J...@isb-sib.ch>
Subject Re: Lucene & EJBs
Date Fri, 23 May 2003 08:42:09 GMT
> Managing the update notification and
> reindexing in the writer is the problem.

My current solution is to have all updates done through a JMX MBean.
This MBean is also responsible for (re)binding an IndexReader to JNDI at
startup and after updating.

A JCA wrapper would allow things such as whether or not the current
operation is being executed in a transaction to be passed on to such a
Lucene MBean - certainly useful if you intend to modify the index from
an EJB. Of course you would still have to implement the rollback
function yourself...


--
Eric Jain


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message