You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Yao Ge <ya...@gmail.com> on 2010/01/19 20:45:07 UTC

DIH delta import - last modified date

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.


Re: DIH delta import - last modified date

Posted by Noble Paul നോബിള്‍ नोब्ळ् <no...@corp.aol.com>.
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 <ya...@gmail.com> 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

Posted by Wangsheng Mei <ha...@gmail.com>.
I run DIH in the same machine with database, hence avoided the problem.

2010/1/20 Yao Ge <ya...@gmail.com>

>
> 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.
>
>


-- 
梅旺生