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
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
t;>>> Field Name & Value: sku=1
>>>> >>>>> Field Name & Value: id=1
>>>> >>>>> Field Name & Value: popularity=1
>>>> >>>>> Field Name & Value: weight=12
;> >>>>> Field Name & Value: manu=manu - 36
>>> >>>>> Field Name & Value: sku=3
>>> >>>>> Field Name & Value: id=3
>>> >>>>> Field Name & Value: popularity=1
>>> >>>
gt;>>> Field Name & Value: weight=1.0
>> >>>>> SolrDocument(4)
>> >>>>> Field Name & Value: includes=2
>> >>>>> Field Name & Value: features=demo - 4
>> >>>>> Field Name & Value: price=2.0
d Name & Value: features=demo - 5
> >>>>> Field Name & Value: price=3.0
> >>>>> Field Name & Value: timestamp=Mon Dec 29 13:57:55 IST 2008
> >>>>> Field Name & Value: manu=manu - 56
> >>>>>
:55 IST 2008
>>>>> Field Name & Value: manu=manu - 66
>>>>> Field Name & Value: sku=6
>>>>> Field Name & Value: id=6
>>>>> Field Name & Value: popularity=4
>>>>> Field Name & Value: weight=4.0
>>>>&
r parser = new BinaryResponseParser();
>>>> server.setParser(parser);
>>>>
>>>> ModifiableSolrParams params = new ModifiableSolrParams();
>>>> params.set("qt", "/dataimport");
>>>> params.set("command", "delta-i
ntln("Server Response: " + response);
>>>
>>>SolrQuery query = new SolrQuery("*:*");
>>>QueryResponse results = server.query(query);
>>>
>>>SolrDocumentList list = results.getResults();
>>>
>>>int ind
cured:"+ex);
>>}
>>
>> }
>> ---
>>
>> Does SOLR do some kind of caching? I dont understand as why the updated
>> values are not queried correctly from DB?
>&
;System.out.println("Exception Occured:"+ex);
>>}
>>
>> }
>> ---
>>
>> Does SOLR do some kind of caching? I dont understand as why the updated
>> values a
ort Failed
> java.lang.NullPointerException
>at
>
> org.apache.solr.handler.dataimport.SqlEntityProcessor.getDeltaImportQuery(SqlEntityProcessor.java:153)
>at
>
> org.apache.solr.handler.dataimport.SqlEntityProcessor.getQuery(SqlEntityProcessor.java:125)
>at
>
> org.apach
uilder.doDelta(DocBuilder.java:211)
at
org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:133)
at
org.apache.solr.handler.dataimport.DataImporter.doDeltaImport(DataImporter.java:359)
at
org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:388)
at
org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:377)
What can be the reason for this error?
Thanks,
Manu
--
View this message in context:
http://www.nabble.com/Delta-DataImport-is-not-picking-the-modified-value-in-DB-tp21200498p21200498.html
Sent from the Solr - User mailing list archive at Nabble.com.
13 matches
Mail list logo