Re: SolrConfig - constructing the object

2010-03-10 Thread Chris Hostetter
: My first thought after reading this : "ouch!". : My second thought after reading this : "Hey, I think this guys is right". Please don't take it personally, there's a reason i had to make a standard disclaimer this type of thing. : So, I am new to all things Solr, and am working with some

Re: SolrConfig - constructing the object

2010-03-10 Thread Kimberly Kantola
My first thought after reading this : "ouch!". My second thought after reading this : "Hey, I think this guys is right". :) So, I am new to all things Solr, and am working with some code which creates some new Handlers to be called by the Solr app. What I am doing is updating these classes

Re: SolrConfig - constructing the object

2010-03-09 Thread Chris Hostetter
: Now a few days later I am thinking, I need access to the SolrConfig object : in multiple classes. Maybe I should not be reloading it over and over? I : see that there is a getSolrConfig() method in the SolrCore class that will : return the SolrConfig object. : Should I maybe just take all m

Re: SolrConfig - constructing the object

2010-03-09 Thread Mark Miller
Yes - I think you should if you can. If you can make them SolrAware that is - only certain plugin classes have the ability to do so (due to a runtime check against a list of approved classes) - Mark On 03/09/2010 01:28 PM, Kimberly Kantola wrote: Thank you Mark for your help. Now a few days l

Re: SolrConfig - constructing the object

2010-03-09 Thread Kimberly Kantola
Thank you Mark for your help. Now a few days later I am thinking, I need access to the SolrConfig object in multiple classes. Maybe I should not be reloading it over and over? I see that there is a getSolrConfig() method in the SolrCore class that will return the SolrConfig object. Should I m

Re: SolrConfig - constructing the object

2010-03-05 Thread Mark Miller
On 03/05/2010 10:29 AM, Kimberly Kantola wrote: Hi All, I am new to using the Solr classes in development. I am trying to determine how to create a SolrConfig object. Is it just a matter of calling new SolrConfig with the location of the solrconfig.xml file ? SolrConfig config = new Solr