Re: not able to import Data through DIH solr 4.2.1

2015-03-18 Thread Shawn Heisey
On 3/18/2015 11:00 PM, abhishek tiwari wrote: > my solrconfig : > > < > lib dir="../../../dist/" regex="solr-dataimporthandler-.*\.jar" /> The way that I always recommend dealing with extra jars: In your solr home, create a "lib" directory. Copy all the extra jars that you need into this direc

Re: not able to import Data through DIH solr 4.2.1

2015-03-18 Thread abhishek tiwari
but still not working On Thu, Mar 19, 2015 at 10:41 AM, Alexandre Rafalovitch wrote: > Try absolute path to the jar directory. Hard to tell whether relative > path is correct without knowing exactly how you are running it. > > Regards, > Alex. > > Solr Analyzers, Tokenizers, Filter

Re: not able to import Data through DIH solr 4.2.1

2015-03-18 Thread Alexandre Rafalovitch
Try absolute path to the jar directory. Hard to tell whether relative path is correct without knowing exactly how you are running it. Regards, Alex. Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: http://www.solr-start.com/ On 19 March 2015 at 01:00, abhishek tiwari wr

Re: not able to import Data through DIH solr 4.2.1

2015-03-18 Thread abhishek tiwari
Alex thanks for replying my solrconfig : < lib dir="../../../dist/" regex="solr-dataimporthandler-.*\.jar" /> ## data-config-new.xml On Thu, Mar 19, 2015 at 10:26 AM, Alexandre Rafalovitch wrote: > > Could not load driver: com.mysql.jdbc.Driver > > Looks like a custom driver. Is the dri

Re: not able to import Data through DIH solr 4.2.1

2015-03-18 Thread Alexandre Rafalovitch
> Could not load driver: com.mysql.jdbc.Driver Looks like a custom driver. Is the driver name correct? Is the library declared in solrconfig.xml? Is the library path correct (use absolute path if in doubt). Regards, Alex. Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: h

not able to import Data through DIH solr 4.2.1

2015-03-18 Thread abhishek tiwari
Please provide the basic steps to resolve the issue Getting following error Full Import failed:java.lang.RuntimeException: java.lang.RuntimeException: org.apache.solr.handler.dataimport.DataImportHandlerException: Could not load driver: com.mysql.jdbc.Driver Processing Document # 1