Work like a charm !! 

thanks Shalin 

Regards,

Mint 


Shalin Shekhar Mangar wrote:
> 
> On Thu, Oct 8, 2009 at 1:38 AM, michael8 <mich...@saracatech.com> wrote:
> 
>>
>> 2 things I noticed that are different from 1.3 to 1.4 for DataImport:
>>
>> 1. there are now 2 datetime values (per my specific schema I'm sure) in
>> the
>> dataimport.properties vs. only 1 in 1.3 (using the exact same schema). 
>> One
>> is 'last_index_time' same as 1.3, and a *new* one (in 1.4) named
>> item.last_index_time, where 'item' is my main and only entity name
>> specified
>> in my data-import.xml.  they both have the same value.
>>
>>
> This was added with SOLR-783 to enable delta imports of entities
> individually. One can specify the entity name(s) which should be imported.
> Without this it was not possible to correctly figure out deltas on a
> per-entity basis.
> 
> 
>> 2. in 1.3, the datetime passed to SQL used to be, e.g., '2009-10-05
>> 14:08:01', but with 1.4 the format becomes 'Mon Oct 05 14:08:01 PDT
>> 2009',
>> with the day of week, name of month, and timezone spelled out.  I had
>> issue
>> with the 1.4 format with MySQL only for the timezone part, but now I have
>> a
>> different solution without using this last index date altogether.
>>
>>
> I just committed SOLR-1496 so the different date format issue is fixed in
> trunk.
> 
> 
>> I'm curious though if there's any config setting to pass to
>> DataImportHandler to specify the desired date/time format to use.
>>
>>
> There is no configuration to change this. However, you can write your own
> Evaluator to output ${dih.last_index_time} in whatever format you prefer.
> 
> -- 
> Regards,
> Shalin Shekhar Mangar.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/solr-1.4-formats-last_index_time-for-SQL-differently-than-1.3--%21--tp25776496p25797806.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to