Thanks Mike, that pointer was a great help - and Shai, that is exactly what I ended up trying. (i.e. creating a new ReferenceManager<SearcherTaxonomyManager.SearcherAndTaxonomy> that takes an IndexSearcher, TaxonomyReader & a SearcherFactory - based on the current SearcherTaxonomyManager.)
The only difference is I didn't bother checking the commit data / index epoch to see if taxonomy directory had been inadvertently replaced. Thanks again, Joe On Fri, Nov 1, 2013 at 12:29 PM, Shai Erera <ser...@gmail.com> wrote: > Opened https://issues.apache.org/jira/browse/LUCENE-5320. > > Shai > > > On Fri, Nov 1, 2013 at 4:59 PM, Michael McCandless < > luc...@mikemccandless.com> wrote: > > > On Fri, Nov 1, 2013 at 3:12 AM, Shai Erera <ser...@gmail.com> wrote: > > > > > Maybe we should offer such a ReferenceManager (maybe it can even be > > > SearcherTaxonomyManager which takes a pair of Directory in another > ctor), > > > and document that its maybeRefresh needs to be called by the same > thread > > > that modified the index (i.e. commit() or replication). > > > > +1, I think we should do this? > > > > Mike McCandless > > > > http://blog.mikemccandless.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > > For additional commands, e-mail: java-user-h...@lucene.apache.org > > > > >