Re: DIH delta import - last modified date

2010-01-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
While invoking the delta-import you may, pass the value as a request
parameter. That value can be used in the query as ${dih.request.xyz}

where as xyz is the request parameter name

On Wed, Jan 20, 2010 at 1:15 AM, Yao Ge  wrote:
>
> I am struggling with the concept of delta import in DIH. According the to
> documentation, the delta import will automatically record the last index
> time stamp and make it available to use for the delta query. However in many
> case when the last_modified date time stamp in the database lag behind the
> current time, the last index time stamp is the not good for delta query. Can
> I pick a different mechanism to generate "last_index_time" by using time
> stamp computed from the database (such as from a column of the database)?
> --
> View this message in context: 
> http://old.nabble.com/DIH-delta-import---last-modified-date-tp27231449p27231449.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>



-- 
-
Noble Paul | Systems Architect| AOL | http://aol.com


Re: DIH delta import - last modified date

2010-01-19 Thread Wangsheng Mei
I run DIH in the same machine with database, hence avoided the problem.

2010/1/20 Yao Ge 

>
> I am struggling with the concept of delta import in DIH. According the to
> documentation, the delta import will automatically record the last index
> time stamp and make it available to use for the delta query. However in
> many
> case when the last_modified date time stamp in the database lag behind the
> current time, the last index time stamp is the not good for delta query.
> Can
> I pick a different mechanism to generate "last_index_time" by using time
> stamp computed from the database (such as from a column of the database)?
> --
> View this message in context:
> http://old.nabble.com/DIH-delta-import---last-modified-date-tp27231449p27231449.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>


-- 
梅旺生


DIH delta import - last modified date

2010-01-19 Thread Yao Ge

I am struggling with the concept of delta import in DIH. According the to
documentation, the delta import will automatically record the last index
time stamp and make it available to use for the delta query. However in many
case when the last_modified date time stamp in the database lag behind the
current time, the last index time stamp is the not good for delta query. Can
I pick a different mechanism to generate "last_index_time" by using time
stamp computed from the database (such as from a column of the database)?
-- 
View this message in context: 
http://old.nabble.com/DIH-delta-import---last-modified-date-tp27231449p27231449.html
Sent from the Solr - User mailing list archive at Nabble.com.