Skip to content
Snippets Groups Projects
Commit c4de245e authored by Michael Hamann's avatar Michael Hamann Committed by Michael Hamann
Browse files

XWIKI-22820: Solr field cache uses a lot of RAM (#3845)

* Configure the "string" field type with docValues="true" as in the
  default configuration. In tests, this eliminates all fields in the
  field cache apart from the caches for title_sort and
  author_display_sort, which seem small in comparison.

(cherry picked from commit 062dabeb)
parent 25c5b02a
No related branches found
No related tags found
No related merge requests found
......@@ -367,7 +367,7 @@
-->
<!-- The StrField type is not analyzed, but indexed/stored verbatim. -->
<fieldType name="string" class="solr.StrField" sortMissingLast="true" />
<fieldType name="string" class="solr.StrField" sortMissingLast="true" docValues="true" />
<fieldType name="strings" class="solr.StrField" sortMissingLast="true" multiValued="true" docValues="true" />
<!-- boolean type: "true" or "false" -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment