Re: Unable to import data from database

2009-04-29 Thread Noble Paul നോബിള്‍ नोब्ळ्
I guess this can go in the FAQ section of DIH On Wed, Apr 29, 2009 at 9:47 PM, Erick Erickson wrote: > Thanks for letting us all know the resolution, that may save some other > poor soul from frustration > > Best > Erick > > On Wed, Apr 29, 2009 at 9:31 AM, Ci-man wrote: > >> >> Found the pr

Re: Unable to import data from database

2009-04-29 Thread Erick Erickson
Thanks for letting us all know the resolution, that may save some other poor soul from frustration Best Erick On Wed, Apr 29, 2009 at 9:31 AM, Ci-man wrote: > > Found the problem. > It is with Microsoft jdbc drivers (jdbc 2.0). > > With the latest download Microsoft provides two .jar files:

Re: Unable to import data from database

2009-04-29 Thread Ci-man
Found the problem. It is with Microsoft jdbc drivers (jdbc 2.0). With the latest download Microsoft provides two .jar files: sqljdbc.jar sqljdbc4.jar I had copied both into the lib directory. By doing so it used the older drivers (sqljdbc.jar) which do not work with jvm1.6. You get this kind of

Re: Unable to import data from database

2009-04-29 Thread Ci-man
Thanks. I found the interactive debugger . solr/admin/dataimport.jsp and I am seeing exceptions in Java that I can dig into -- View this message in context: http://www.nabble.com/Unable-to-import-data-from-database-tp23283852p23295859.html Sent from the Solr - User mailing list archive at Nabb

Re: Unable to import data from database

2009-04-28 Thread Noble Paul നോബിള്‍ नोब्ळ्
forgot to mention DIH has a debug mode 2009/4/29 Noble Paul നോബിള്‍ नोब्ळ् : > just put it on debugger and you will know if the query is indeed > fetching any rows > > On Wed, Apr 29, 2009 at 2:59 AM, Ci-man wrote: >> >> Thanks for your question. >> Yes all the fields are defined in the schema;

Re: Unable to import data from database

2009-04-28 Thread Noble Paul നോബിള്‍ नोब्ळ्
just put it on debugger and you will know if the query is indeed fetching any rows On Wed, Apr 29, 2009 at 2:59 AM, Ci-man wrote: > > Thanks for your question. > Yes all the fields are defined in the schema; I am using the default schema > and mapping between the DB fields and schema fields. > >

Re: Unable to import data from database

2009-04-28 Thread Ci-man
Thanks for your question. Yes all the fields are defined in the schema; I am using the default schema and mapping between the DB fields and schema fields. My biggest problem is that it appears that no records are being pulled as "Total Rows Fetched" always zero. Did you define all the fields

Re: Unable to import data from database

2009-04-28 Thread ahammad
Did you define all the fields that you used in schema.xml? Ci-man wrote: > > I am using MS SQL server and want to index a table. > I setup my data-config like this: > > > autoCommit="true" > driver="com.microsoft.sqlserver.jdbc.SQLServerDriver" >