From 6fc5a6fb34c623178461039196d8e13dfb5f1973 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Wed, 11 Sep 2019 15:29:04 +1200 Subject: [PATCH] Add type mappings for dbdatetime --- src/Solr/SolrIndex.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Solr/SolrIndex.php b/src/Solr/SolrIndex.php index 19cb1dc..44d59c4 100644 --- a/src/Solr/SolrIndex.php +++ b/src/Solr/SolrIndex.php @@ -31,6 +31,9 @@ abstract class SolrIndex extends SearchIndex '*' => 'string', 'Boolean' => 'boolean', 'Date' => 'tdate', + 'Datetime' => 'tdate', + 'DBDate' => 'tdate', + 'DBDatetime' => 'tdate', 'SSDatetime' => 'tdate', 'SS_Datetime' => 'tdate', 'ForeignKey' => 'tint',