Re: Getting access to current core's conf dir

2009-05-04 Thread Shalin Shekhar Mangar
On Tue, May 5, 2009 at 11:11 AM, Amit Nithian wrote: > I am trying to get at the configuration directory in an implementation of > the SolrEventListener. > > Implement SolrCoreAware and use solrCore.getResourceLoader().getConfigDir() -- Regards, Shalin Shekhar Mangar.

Re: Getting access to current core's conf dir

2009-05-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
Make your class implement the interface SolrCoreAware and you will get a callback with the core. On Tue, May 5, 2009 at 11:11 AM, Amit Nithian wrote: > I am trying to get at the configuration directory in an implementation of > the SolrEventListener. > > 2009/5/4 Noble Paul നോബിള്‍ नोब्ळ् > >>

Re: Getting access to current core's conf dir

2009-05-04 Thread Amit Nithian
I am trying to get at the configuration directory in an implementation of the SolrEventListener. 2009/5/4 Noble Paul നോബിള്‍ नोब्ळ् > What component is trying to get the SolrCore? if it is implemented as > SolrCoreAware it gets a callback after the core is completely > initialized. > > On Tue, M

Re: Getting access to current core's conf dir

2009-05-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
What component is trying to get the SolrCore? if it is implemented as SolrCoreAware it gets a callback after the core is completely initialized. On Tue, May 5, 2009 at 4:29 AM, Amit Nithian wrote: > How do you get access to the current SolrCore in code? More specifically, I > am looking for the c