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

dataimport.properties : change datetime format

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4.1, 3.3
    • 4.1, 6.0
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: