The problem is with the admin UI not following the XML include to find
entity so it found none. DIH itself does support XML include as I can
issue the DIH commands via HTTP on the included entities successfully.
Bill
On Mon, Jan 13, 2014 at 8:03 PM, Shawn Heisey wrote:
> On 1/13/2014 3:31 PM,
On 1/13/2014 3:31 PM, Bill Au wrote:
But when I use XML include, the Entity pull-down in the Dataimport section
of the Solr admin UI is empty. I know that happens when there is a syntax
error in solr-data-config.xml. Does DIH supports XML include? Also I am
not seeing any error message in the
数据库的表有timestamp字段? 每次 进行更新和修改的时候,这个字段的值都会自动变化,做增量的时候就能根据这个处理了
On Tue, Jun 19, 2012 at 6:24 PM, alex.wang wrote:
> hi all:
> when i import the data from db to solr. and solr changed the value with
> timezone.
> eg, the original value is 16/02/2012 12:05:16 , changed to 1/02/2012
> 04:05:06
> .
it's still not work in delta-import mode.
and the result as follow:
0
15
data-config.xml
delta-import
idle
0
0
0
2012-06-20 10:48:16
2012-06-20 10:48:16
2012-06-20 10:48:17
2012-06-20 10:48:17
0
0
0:0:0.62
This response format is experimental. It is likely to change in the future.
-
Solr indexes all times as UTC (that's what the "Z' is all about). You ought
to be able to get your SQL to return UTC time rather than local, and that
should fix things up for you.
Best
Erick
On Tue, Jun 19, 2012 at 6:24 AM, alex.wang wrote:
> hi all:
> when i import the data from db to solr.
Bertie,
Not sure what you are trying to do, we need a clearer description of
what "select *" returns and what you want to end up in the index. But
to answer your question The transformations happen after DIH has
performed the SQL statement. In fact the rows output from the SQL
command are assigne
Hi Noble,
I tried to understand your suggestions and played different variations
according to your reply. But none of them work. Can you explain it in more
details?
Thanks a lot!
BTW, do you mean your solution as follows?
But
1) T
On Sun, Nov 1, 2009 at 11:59 PM, Bertie Shen wrote:
> Hi folks,
>
> I have the following data-config.xml. Is there a way to
> let transformation take place after executing SQL "select comment from
> Rating where Rating.CourseId = ${Course.CourseId}"? In MySQL database,
> column CourseId in table