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 <anith...@gmail.com> wrote:
> I am trying to get at the configuration directory in an implementation of
> the SolrEventListener.
>
> 2009/5/4 Noble Paul നോബിള്‍ नोब्ळ् <noble.p...@gmail.com>
>
>> 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 <anith...@gmail.com> wrote:
>> > How do you get access to the current SolrCore in code? More specifically,
>> I
>> > am looking for the conf/ directory for the current core (i.e. I have a
>> > configuration file housed in SOLR_HOME/<core_name>/conf and would like to
>> > get at the "SOLR_HOME/<core_name>/conf" directory.)  I was able to do
>> this
>> > in 1.2 but of course it only had one core so life was easy but I am not
>> sure
>> > how to do this in 1.3
>> > Thanks!
>> > Amit
>> >
>>
>>
>>
>> --
>> --Noble Paul
>>
>



-- 
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com

Reply via email to