Re: Delta DataImport is not picking the modified value in DB

2008-12-30 Thread Noble Paul നോബിള്‍ नोब्ळ्
You do not have to take up complete trunk. Solr can continue to be 1.3 and DIH can be a nightly . DIH is shipped as a separate jar in the same .war file This can minimize your risks On Tue, Dec 30, 2008 at 4:54 PM, Shalin Shekhar Mangar wrote: > On Tue, Dec 30, 2008 at 3:33 PM, Manupriya wrote

Re: Delta DataImport is not picking the modified value in DB

2008-12-30 Thread Shalin Shekhar Mangar
On Tue, Dec 30, 2008 at 3:33 PM, Manupriya wrote: > > Thanks Shalin and Noble for all the help. > > I looked into the source code of 1.3 for the Null Pointer that I was > getting. And indeed, there was a problem. In release 1.3, > SqlEntityProcessor > doesnt handle 'deltaImportQuery' for delta imp

Re: Delta DataImport is not picking the modified value in DB

2008-12-30 Thread Manupriya
Thanks Shalin and Noble for all the help. I looked into the source code of 1.3 for the Null Pointer that I was getting. And indeed, there was a problem. In release 1.3, SqlEntityProcessor doesnt handle 'deltaImportQuery' for delta imports. But this problem is fixed in the nightly build. So now

Re: Delta DataImport is not picking the modified value in DB

2008-12-29 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Mon, Dec 29, 2008 at 5:11 PM, Manupriya wrote: > > Hi Shalin, > > I am using apache-solr-1.3.0 in my project. I thought it to be the latest > release. Does it not support delta import? It should, 1.3 of solr was the first realease of DIH. A lot of features got added to DIH since then. The night

Re: Delta DataImport is not picking the modified value in DB

2008-12-29 Thread Manupriya
Hi Shalin, I am using apache-solr-1.3.0 in my project. I thought it to be the latest release. Does it not support delta import? Thanks, Manu Shalin Shekhar Mangar wrote: > > Which version of Solr are you using? The deltaImportQuery feature was > added > recently, you'd need a nightly build fo

Re: Delta DataImport is not picking the modified value in DB

2008-12-29 Thread Shalin Shekhar Mangar
Which version of Solr are you using? The deltaImportQuery feature was added recently, you'd need a nightly build for it to work. On Mon, Dec 29, 2008 at 4:57 PM, Manupriya wrote: > > Hi Noble, > > I tried with the deltaImportQuery as well. But still I am getting the same > exception on the server

Re: Delta DataImport is not picking the modified value in DB

2008-12-29 Thread Manupriya
Hi Noble, I tried with the deltaImportQuery as well. But still I am getting the same exception on the server console - Dec 29, 2008 4:53:52 PM org.apache.solr.handler.dataimport.DataImporter doDeltaImport SEVERE: Delta Import Failed java.lang.NullPointerException at org.apache.solr.han

Re: Delta DataImport is not picking the modified value in DB

2008-12-29 Thread Noble Paul നോബിള്‍ नोब्ळ्
The same example with deltaImportQuery would look as follows On Mon, Dec 29, 2008 at 3:30 PM, Noble Paul നോബിള

Re: Delta DataImport is not picking the modified value in DB

2008-12-29 Thread Noble Paul നോബിള്‍ नोब्ळ्
did you put in the data? On Mon, Dec 29, 2008 at 3:07 PM, Manupriya wrote: > > Hi Shalin, > > I am actually trying out the example provided at > http://wiki.apache.org/solr/DataImportHandler. > > My db-data-config.xml is as following - > > > url="jdbc:mysql://localhost/solr_demo_db" user="ro

Re: Delta DataImport is not picking the modified value in DB

2008-12-29 Thread Manupriya
Hi Shalin, I am actually trying out the example provided at http://wiki.apache.org/solr/DataImportHandler. My db-data-config.xml is as following -

Re: Delta DataImport is not picking the modified value in DB

2008-12-29 Thread Noble Paul നോബിള്‍ नोब्ळ्
This may happen if your deltaQuery has a problem Try using the deltaImportQuery also. -- On Mon, Dec 29, 2008 at 2:57 PM, Shalin Shekhar Mangar wrote: > What does your data-config look like? especially the delta query part. > > On Mon, Dec 29, 2008 at 2:35 PM, Manupriya wrote: > >> >> Hi, >> >>

Re: Delta DataImport is not picking the modified value in DB

2008-12-29 Thread Shalin Shekhar Mangar
What does your data-config look like? especially the delta query part. On Mon, Dec 29, 2008 at 2:35 PM, Manupriya wrote: > > Hi, > > I am using Delta DataImport feature to partially refresh the indexes. > > Note - full-import is working perfectly fine. But I need to do delta-import > as I do not