lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bernard <>
Subject Re: LuceneEventListener refresh and new index direcory
Date Thu, 23 Nov 2006 16:05:07 GMT
Hi Sergei,
The short answer is, if you use a recent version, you should be able to 
write you own DirectoryProvider that can handle such hot swap through 
JMX or any other event.
Let's move the discussion to
This is more an Hibernate Search (use to be named Hibernate Lucene) 
issue than a Lucene one.

Sergei Polzunov wrote:
> Hi
> I've got some problems trying to refresh/reinitialize documentBuilders 
> list
> for new index directory.
> I have LuceneEventListener mapped to hibernate post-commit-... events. I
> want to change storage link in runtime (JMX etc.) and I need to refresh
> documentBuilders list with new content provider but that list is 
> private and
> there are no methods to renew listener or some other way to get actual
> listener looking on new storage
> what do you think? Maybe there are some ways or workarounds to refresh
> listener info?
> thank you
> --
> Best regards,
> Polzunov Sergei
> e-mail:
> ICQ: #204206246

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message