I am using Solr 5.3.1 and used the lib directive in solrconfig to load one of my search components and that worked fine. So, I don't think that anything has changed here. What is the stacktrace of the errors you get?
On Sat, Dec 12, 2015 at 9:32 AM Ahmet Arslan <iori...@yahoo.com.invalid> wrote: > Hi Judy, > > It is where solr.xml file resides. > > Ahmet > > > > On Saturday, December 12, 2015 3:30 AM, Mingzhu Gao <m...@adobe.com> > wrote: > Thanks Ahmet , > > You mean solr home directory , root of solr or {solr_root}/bin ? I try > both , it doesn¹t work . > > Can anybody has any other idea ? > > Thanks, > -Judy > > > On 12/11/15, 4:10 PM, "Ahmet Arslan" <iori...@yahoo.com.INVALID> wrote: > > >Hi, > > > >Apparently best way thing to do is create lib directory under the solr > >home directory. > > > >Jars in this directory loaded automatically. No need a solrconfig.xml > >entry. > > > >thanks, > >Ahmet > > > > > > > >On Saturday, December 12, 2015 2:05 AM, Mingzhu Gao <m...@adobe.com> > >wrote: > >Hi All , > > > >I switched from solr 4.x version to solr 5.3.0 . > > > >And I am creating a core and run it as standalone mode , not cloud mode . > >I want to know , how to load those external jar file , for example , my > >customized analyzer or filter ? > >I add a <lib> in solrconfig.xml , for example : > > > > > ><lib dir="../../../contrib/analysis-extras/extra-libs" regex=".*\.jar" /> > > > > > >However , it looks that it doesn't work , it still complain "Cannot load > >analyzer" . > > > >It's okay for me to load them ins solr 4.10.4 , however , in solr 5.3.0 , > > > >It seems that it changed the way to load jar files . > > > > > >Can anybody help me on this ? Thanks in advance . > > > > > >Thanks, > > > >-Judy > -- Regards, Binoy Dalal