Re: method inform of SolrCoreAware callled 2 times

2009-07-21 Thread Marc Sturlese

I am with a nightly from middle june

Noble Paul നോബിള്‍  नोब्ळ्-2 wrote:
 
 it is not normal to get the inform() called twice for a single object.
 which version of solr are you using?
 
 On Mon, Jul 20, 2009 at 7:17 PM, Marc Sturlesemarc.sturl...@gmail.com
 wrote:

 Hey there,
 I have implemented a custom component wich extends SearchComponent and
 implements SolrCoreAware.
 I have decalred it in solrconfig.xml as:
  searchComponent name=mycomp class=solr.MyCustomComponent 

 And added it in my Searchhandler as:
     arr name=last-components
       strmycomp/str
     /arr

 I am using multicore with two cores.
 I have noticed (doing some logging) that the method inform (the ones
 that
 implements SolrCoreAware) in being called 2 times per each core when I
 start
 my solr instance. As I understood SolrCoreAware inform method should be
 just called once per core, am I right or it's normal that is is called 2
 times per core?



 --
 View this message in context:
 http://www.nabble.com/method-inform-of-SolrCoreAware-callled-2-times-tp24570221p24570221.html
 Sent from the Solr - User mailing list archive at Nabble.com.


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

-- 
View this message in context: 
http://www.nabble.com/method-inform-of-SolrCoreAware-callled-2-times-tp24570221p24584667.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: method inform of SolrCoreAware callled 2 times

2009-07-20 Thread Noble Paul നോബിള്‍ नोब्ळ्
it is not normal to get the inform() called twice for a single object.
which version of solr are you using?

On Mon, Jul 20, 2009 at 7:17 PM, Marc Sturlesemarc.sturl...@gmail.com wrote:

 Hey there,
 I have implemented a custom component wich extends SearchComponent and
 implements SolrCoreAware.
 I have decalred it in solrconfig.xml as:
  searchComponent name=mycomp class=solr.MyCustomComponent 

 And added it in my Searchhandler as:
     arr name=last-components
       strmycomp/str
     /arr

 I am using multicore with two cores.
 I have noticed (doing some logging) that the method inform (the ones that
 implements SolrCoreAware) in being called 2 times per each core when I start
 my solr instance. As I understood SolrCoreAware inform method should be
 just called once per core, am I right or it's normal that is is called 2
 times per core?



 --
 View this message in context: 
 http://www.nabble.com/method-inform-of-SolrCoreAware-callled-2-times-tp24570221p24570221.html
 Sent from the Solr - User mailing list archive at Nabble.com.





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