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

dataimport.properties : change datetime format

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.1, 3.3
    • Fix Version/s: 4.1, 6.0
    • Labels:
      None

      Description

      I have to use URLDataSource in order to index an "Atom Feed".

      The REST API provided specify a "start time" parameter formated in UTC-Z (RFC3339).

      The dataimporter last index time parameter is not in this format.
      Is it possible to improve solr in order to specify the datetime format ?

      Class : org.apache.solr.handler.dataimport.DataImporter#DATE_TIME_FORMAT
      Current value :
      return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

      Regards,

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jdyer James Dyer
                Reporter:
                fredsecu Frédéric AUGUSTE
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: