File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 385
385
break ;
386
386
case properties . DateProperty :
387
387
field . type = 'date' ;
388
- field . format = 'dateOptionalTime ' ;
388
+ field . format = 'strict_date_optional_time||epoch_millis ' ;
389
389
break ;
390
390
case properties . ReferenceProperty :
391
391
field . type = 'string' ;
407
407
break ;
408
408
case properties . DateProperty :
409
409
field . type = 'date' ;
410
- field . format = 'dateOptionalTime ' ;
410
+ field . format = 'strict_date_optional_time||epoch_millis ' ;
411
411
break ;
412
412
case properties . ReferenceProperty :
413
413
field . type = 'string' ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " enju" ,
3
- "version" : " 0.2.6 " ,
3
+ "version" : " 0.2.8 " ,
4
4
"description" : " An elasticsearch on node.js written in CoffeeScript." ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ module.exports = class Document
273
273
field .type = ' double'
274
274
when properties .DateProperty
275
275
field .type = ' date'
276
- field .format = ' dateOptionalTime '
276
+ field .format = ' strict_date_optional_time||epoch_millis '
277
277
when properties .ReferenceProperty
278
278
field .type = ' string'
279
279
field .analyzer = ' keyword'
@@ -289,7 +289,7 @@ module.exports = class Document
289
289
field .type = ' double'
290
290
when properties .DateProperty
291
291
field .type = ' date'
292
- field .format = ' dateOptionalTime '
292
+ field .format = ' strict_date_optional_time||epoch_millis '
293
293
when properties .ReferenceProperty
294
294
field .type = ' string'
295
295
field .analyzer = ' keyword'
You can’t perform that action at this time.
0 commit comments