Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1811

DataImportHandler: dataimporter.functions.formatDate should have a redefined concept of NOW for each import

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            noble.paul Noble Paul
            timmsc Sean Timm
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment