Re: Classes in solr_home /lib cannot import from solr/dist

2016-01-15 Thread Shawn Heisey
On 1/15/2016 5:36 AM, Callum Lamb wrote: > Good to know Solr already loads them, that removed a bunch of lines from my > solrconfig.xml. > > Having to copy the required jars from dist/ to lib/ isn't ideal but if > that's the only solution then at least I can stop searching for a solution > and figu

Re: Classes in solr_home /lib cannot import from solr/dist

2016-01-15 Thread Callum Lamb
Good to know Solr already loads them, that removed a bunch of lines from my solrconfig.xml. Having to copy the required jars from dist/ to lib/ isn't ideal but if that's the only solution then at least I can stop searching for a solution and figure out how best to deal with this limitation. I ass

Re: Classes in solr_home /lib cannot import from solr/dist

2016-01-14 Thread Shawn Heisey
On 1/14/2016 5:36 AM, Callum Lamb wrote: > I've got an extension jar that contains a class which extends from > > org.apache.solr.handler.dataimport.DataSource > > But it only works if it's within the solr/dist folder. However when stored > in the lib/ folder within Solr home. When it tries to load

Re: Classes in solr_home /lib cannot import from solr/dist

2016-01-14 Thread Callum Lamb
That's what I did: My solrconfig.xml has the following (i've hardcoded the version numbers for now to get regexes out of the picture): No warning's whatsoever for not finding the jars. And the jars themselves are in the right order (the second depends on the first). If i move the data import

Re: Classes in solr_home /lib cannot import from solr/dist

2016-01-14 Thread sara hajili
hi Callum. you can create a directory for your jar file any where,and u must set jar file location in tag in solrConfig.xml and be carefull that add your lib location at the end of the solr config default tag, because some times your jar need class that at first solr must be load own class after