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

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

    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

        1. SOLR-1811.patch
          1 kB
          Sean Timm
        2. SOLR-1811.patch
          0.7 kB
          Noble Paul

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: