lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noble Paul നോബിള്‍ नोब्ळ् <noble.p...@corp.aol.com>
Subject Re: Getting access to current core's conf dir
Date Tue, 05 May 2009 05:46:02 GMT
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 <anithian@gmail.com> wrote:
> I am trying to get at the configuration directory in an implementation of
> the SolrEventListener.
>
> 2009/5/4 Noble Paul നോബിള്‍ नोब्ळ् <noble.paul@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 <anithian@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

Mime
View raw message