Skip to content

Commit

Permalink
Plone 5 and upwards needs this index to figure out the icon.
Browse files Browse the repository at this point in the history
The older getIcon Index return bool for either showing or not showing a thumbnail in folder_contents.
  • Loading branch information
Mathias Leimgruber committed Jan 18, 2021
1 parent 35fa294 commit 169d8f7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions solr-base.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -173,7 +173,7 @@ additional-solrconfig =
${:solrconfig-shards}
</lst>
<lst name="invariants">
<str name="fl">Creator Title Description modified portal_type path_string getIcon UID getRemoteUrl</str>
<str name="fl">Creator Title Description modified portal_type path_string getIcon UID getRemoteUrl mime_type</str>
</lst>
<arr name="last-components">
<str>spellcheck</str>
Expand All @@ -187,7 +187,7 @@ additional-solrconfig =
<int name="rows">1000</int>
</lst>
<lst name="invariants">
<str name="fl">Title Description portal_type path_string getIcon getRemoteUrl Type</str>
<str name="fl">Title Description portal_type path_string getIcon getRemoteUrl Type mime_type</str>
</lst>
</requestHandler>

Expand Down Expand Up @@ -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

0 comments on commit 169d8f7

Please sign in to comment.