diff --git a/code/solr/SolrIndex.php b/code/solr/SolrIndex.php index 76842a2..bac125b 100644 --- a/code/solr/SolrIndex.php +++ b/code/solr/SolrIndex.php @@ -35,6 +35,11 @@ abstract class SolrIndex extends SearchIndex protected $templatesPath = null; + private static $casting = [ + 'FieldDefinitions' => 'HTMLText', + 'CopyFieldDefinitions' => 'HTMLText' + ]; + /** * List of boosted fields *