lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r925091 - in /lucene/solr/trunk/contrib/dataimporthandler: CHANGES.txt src/main/java/org/apache/solr/handler/dataimport/EvaluatorBag.java
Date Fri, 19 Mar 2010 03:52:20 GMT
Author: noble
Date: Fri Mar 19 03:52:20 2010
New Revision: 925091

URL: http://svn.apache.org/viewvc?rev=925091&view=rev
Log:
SOLR-1811: formatDate should use the current NOW value always

Modified:
    lucene/solr/trunk/contrib/dataimporthandler/CHANGES.txt
    lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/EvaluatorBag.java

Modified: lucene/solr/trunk/contrib/dataimporthandler/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/contrib/dataimporthandler/CHANGES.txt?rev=925091&r1=925090&r2=925091&view=diff
==============================================================================
--- lucene/solr/trunk/contrib/dataimporthandler/CHANGES.txt (original)
+++ lucene/solr/trunk/contrib/dataimporthandler/CHANGES.txt Fri Mar 19 03:52:20 2010
@@ -61,7 +61,9 @@ Bug Fixes
 
 * SOLR-1766: DIH with threads enabled doesn't respond to the abort command (Michael Henson
via noble)
 
-* SOLR-1767: dataimporter.functions.escapeSql() does not escape backslash character (Sean
Timm via noble) 
+* SOLR-1767: dataimporter.functions.escapeSql() does not escape backslash character (Sean
Timm via noble)
+
+* SOLR-1811: formatDate should use the current NOW value always (Sean Timm via noble)
 
 Other Changes
 ----------------------

Modified: lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/EvaluatorBag.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/EvaluatorBag.java?rev=925091&r1=925090&r2=925091&view=diff
==============================================================================
--- lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/EvaluatorBag.java
(original)
+++ lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/EvaluatorBag.java
Fri Mar 19 03:52:20 2010
@@ -298,6 +298,11 @@ public class EvaluatorBag {
   static Pattern IN_SINGLE_QUOTES = Pattern.compile("^'(.*?)'$");
 
   static DateMathParser dateMathParser = new DateMathParser(TimeZone
-          .getDefault(), Locale.getDefault());
+          .getDefault(), Locale.getDefault()){
+    @Override
+    public Date getNow() {
+      return new Date();
+    }
+  };
 
 }



Mime
View raw message