From f1bb1b78648861bda86b4283223ec37828cedfb4 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Sun, 10 Mar 2019 22:01:11 +0100 Subject: [PATCH] time intervals in activities index. #215 --- app/models/activity.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/activity.rb b/app/models/activity.rb index 58d7004a1..2a35fa725 100644 --- a/app/models/activity.rb +++ b/app/models/activity.rb @@ -94,7 +94,7 @@ def after_audit awardTitle: { type: :keyword } }}, dates: { type: :object, properties: { - date: { type: :date, format: "yyyy-MM-dd||yyyy-MM||yyyy", ignore_malformed: true }, + date: { type: :date, format: "date_optional_time", ignore_malformed: true, fields: { raw: { type: :text }} }, dateType: { type: :keyword } }}, geo_locations: { type: :object, properties: {