Adding a new class Regards Sujatha
On Mon, Aug 13, 2012 at 5:54 PM, Michael Della Bitta < michael.della.bi...@appinions.com> wrote: > Michael Della Bitta > Hi Sujatha, > > Are you adding a new class, or modifying one of the provided Solr classes? > > Michael > > > ------------------------------------------------ > Appinions | 18 East 41st St., Suite 1806 | New York, NY 10017 > www.appinions.com > Where Influence Isn’t a Game > > > On Mon, Aug 13, 2012 at 7:18 AM, Sujatha Arun <suja.a...@gmail.com> wrote: > > Hi , > > > > I would like to write a custom component for solr to address a > particular > > issue. > > > > This is what I have been doing ,write the custom code directly in the > > downloaded code base and rebuild the war file and deploy the same. We > > currently have multiple cores ,hence I want to approach this in a core > > specific way as opposed to affecting all the cores in the webapp . > > > > If I have to write a plugin and move it to the lib directory of each core > > ,would I just need to add one single class file packed as a jar and make > > appropriate changes to the solrconfig file .When I reload the core , I am > > assuming that apart from the classes in the war file ,this jar file in > the > > lib will be automatically referenced. > > > > Would I need to restart sevlet container? > > Would I need to have other files to which this custom class is > referencing > > to in the custom jar file or will that be automatically taken care of? > > > > Regards > > Sujatha >