From 169d8f7e77ff38d66664b51fb29493c043a79b6e Mon Sep 17 00:00:00 2001 From: Mathias Leimgruber Date: Fri, 15 Jan 2021 15:40:22 -0500 Subject: [PATCH] Plone 5 and upwards needs this index to figure out the icon. The older getIcon Index return bool for either showing or not showing a thumbnail in folder_contents. --- solr-base.cfg | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/solr-base.cfg b/solr-base.cfg index d06ebc3..0aedb2a 100644 --- a/solr-base.cfg +++ b/solr-base.cfg @@ -14,7 +14,7 @@ parts = # Increment this value, if you change solr related configs in this file. # This makes the solr recipe detect a change and perform a reinstall. -config-version = 4 +config-version = 5 [solr-settings] @@ -173,7 +173,7 @@ additional-solrconfig = ${:solrconfig-shards} - Creator Title Description modified portal_type path_string getIcon UID getRemoteUrl + Creator Title Description modified portal_type path_string getIcon UID getRemoteUrl mime_type spellcheck @@ -187,7 +187,7 @@ additional-solrconfig = 1000 - Title Description portal_type path_string getIcon getRemoteUrl Type + Title Description portal_type path_string getIcon getRemoteUrl Type mime_type @@ -224,3 +224,4 @@ index = name:UID type:string stored:true required:true name:crawler_site_id type:string stored:true name:trashed type:boolean stored:true + name:mime_type type:string stored:true