mirror of https://github.com/apache/lucene.git
SOLR-888 -- DateFormatTransformer cannot convert non-string type
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@725618 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2b931ae33e
commit
7549d04c32
|
@ -68,6 +68,9 @@ Bug Fixes
|
|||
9. SOLR-893: Unable to delete documents via SQL and deletedPkQuery with deltaimport
|
||||
(Dan Rosher via shalin)
|
||||
|
||||
10. SOLR-888: DateFormatTransformer cannot convert non-string type
|
||||
(Amit Nithian via shalin)
|
||||
|
||||
Documentation
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -66,8 +66,7 @@ public class DateFormatTransformer extends Transformer {
|
|||
}
|
||||
aRow.put(column, results);
|
||||
} else {
|
||||
String value = (String) o;
|
||||
aRow.put(column, process(value, fmt));
|
||||
aRow.put(column, process(o.toString(), fmt));
|
||||
}
|
||||
} catch (ParseException e) {
|
||||
LOG.warn( "Could not parse a Date field ", e);
|
||||
|
|
Loading…
Reference in New Issue