spring-projects/spring-data-elasticsearch — pull request #14 by javamachr (2013-10-07 08:51:22+00:00)
Title: added format and pattern  support for date fieldtype + fixed nullpointer...

Added format and pattern support for FieldType.Date.
Example usage:
@Field(type = FieldType.Date)
@Field(type = FieldType.Date, format = DateFormat.basic_date_time)
@Field(type = FieldType.Date, format = DateFormat.custom, pattern="yy.MM.dd hh:mm")

Fixed nullpointerException when TransportClientFactoryBean configuration is java config only - default value for some client properties was specified only in XSD.