You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2010/03/19 04:57:27 UTC
[jira] Resolved: (SOLR-1811) DataImportHandler:
dataimporter.functions.formatDate should have a redefined concept of NOW
for each import
[ https://issues.apache.org/jira/browse/SOLR-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noble Paul resolved SOLR-1811.
------------------------------
Resolution: Fixed
committed r925091
Thanks Sean
> DataImportHandler: dataimporter.functions.formatDate should have a redefined concept of NOW for each import
> -----------------------------------------------------------------------------------------------------------
>
> Key: SOLR-1811
> URL: https://issues.apache.org/jira/browse/SOLR-1811
> Project: Solr
> Issue Type: Bug
> Components: contrib - DataImportHandler
> Affects Versions: 1.4
> Reporter: Sean Timm
> Assignee: Noble Paul
> Priority: Minor
> Fix For: 1.5
>
> Attachments: SOLR-1811.patch, SOLR-1811.patch
>
>
> "The first argument can be a computed value eg: '${dataimporter.functions.formatDate('NOW-3DAYS', 'yyyy-MM-dd HH:mm')}' and it uses the syntax of the datemath parser in Solr." When using a relative date with NOW, NOW is set with teh first full-import but not with subsequent imports. NOW should be redefined with each new import.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.