Just to check, is solr.xml hard-coded at the *SolrXmlConfig.java* ? Which Jar file is this class located at, and do we need to recompile it so that it can take on the new name?
Regards, Edwin On 5 March 2018 at 11:55, Walter Underwood <wun...@wunderwood.org> wrote: > I hope you are charging the client double for this requirement. Because it > is a bad, expensive requirement. > > Good luck, because nobody on this list actually wants to do this with Solr. > > wunder > Walter Underwood > wun...@wunderwood.org > http://observer.wunderwood.org/ (my blog) > > > On Mar 4, 2018, at 7:23 PM, Zheng Lin Edwin Yeo <edwinye...@gmail.com> > wrote: > > > > Hi, > > > > I have managed to rename the JAR file to names like my-cell-6.5.1.jar. > > > > Currently the main thing which I have problem renaming is the solr.xml, > > which I would like to rename to my.xml. > > > > Any idea if this is possible? I can't find it in the bin directory, and > > also in the solr.cmd that we call when we start Solr. > > > > Regards, > > Edwin > > > > > > On 3 March 2018 at 08:56, Zheng Lin Edwin Yeo <edwinye...@gmail.com> > wrote: > > > >> Hi Shawn, > >> > >> Thanks for the info. > >> > >> I have managed to change the one that starts Solr, and it's working so > far. > >> > >> Now I'm working on changing things like solr.xml and the JAR file in the > >> dist directory, like solr-cell-6.5.1.jar to names like > my-cell-6.5.1.jar. > >> Can we change the name of those JAR file as well? > >> > >> We are customizing it based on the requirements for the project that we > >> are handling. > >> > >> Regards, > >> Edwin > >> > >> On 3 March 2018 at 08:20, Shawn Heisey <apa...@elyograg.org> wrote: > >> > >>> On 3/2/2018 4:07 PM, Zheng Lin Edwin Yeo wrote: > >>>> Does this means that we have to recompile some of the JAR files that > >>> comes > >>>> with Solr in order for it to work? As they have been hard-coded with > >>> things > >>>> like "solr-webapp"? > >>> > >>> I don't see it in any of the java source code, so a recompile wouldn't > >>> be necessary. But most of the scripts in the bin directory and other > >>> places have it hardcoded, including the one that starts Solr. > >>> > >>> Once you start down the road of changing these things, you're probably > >>> going to be forever hunting for things that don't work right and > working > >>> to get them fixed. Better to just leave it alone and be sure it'll > work. > >>> > >>> Thanks, > >>> Shawn > >>> > >>> > >> > >