From e80215a572a96a67ab3d2e29b8f2fae0648b8ccb Mon Sep 17 00:00:00 2001 From: Mathias Leimgruber Date: Fri, 15 Jan 2021 15:40:22 -0500 Subject: [PATCH] Plone 5.1.x 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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/solr-base.cfg b/solr-base.cfg index d06ebc3..43df41c 100644 --- a/solr-base.cfg +++ b/solr-base.cfg @@ -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