Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.x solr9 #79

Merged
merged 24 commits into from
Jul 27, 2023
Merged

4.x solr9 #79

merged 24 commits into from
Jul 27, 2023

Conversation

mkalkbrenner
Copy link
Owner

No description provided.

Comment on lines 78 to 88
<lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-dataimporthandler-.*\.jar" />

<lib dir="${solr.install.dir:../../../..}/contrib/extraction/lib" regex=".*\.jar" />
<lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-cell-\d.*\.jar" />

<lib dir="${solr.install.dir:../../../..}/contrib/langid/lib/" regex=".*\.jar" />
<lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-langid-\d.*\.jar" />

<lib dir="${solr.install.dir:../../../..}/contrib/analysis-extras/lib" regex=".*\.jar" />
<lib dir="${solr.install.dir:../../../..}/contrib/analysis-extras/lucene-libs" regex=".*\.jar" />
<lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-analysis-extras-\d.*\.jar" />
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In solr 9.2 I don't see a /dist directory anymore and those jars.

Also for this configuration we have to add the /scripting/lib/ as well so this line:

  <lib dir="${solr.install.dir:../../../..}/contrib/scripting/lib" regex=".*\.jar" />

in Solr's conf/xslt directory. Changes to xslt files are checked for
every xsltCacheLifetimeSeconds.
-->
<queryResponseWriter name="xslt" class="solr.XSLTResponseWriter">
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In 9 the class name has changed to solr.scripting.xslt.XSLTResponseWriter. I got that from https://stackoverflow.com/a/75143704

Comment on lines +5 to +29
<documentCache class="solr.LRUCache" size="512" initialSize="512" autowarmCount="0"/>

<!--
Field Value Cache
7.0.0
-->
<fieldValueCache class="solr.FastLRUCache" size="512" autowarmCount="128" showItems="32"/>

<!--
Filter Cache
7.0.0
-->
<filterCache class="solr.FastLRUCache" size="512" initialSize="512" autowarmCount="0"/>

<!--
Per Segment Filter Cache
7.0.0
-->
<cache name="perSegFilter" class="solr.search.LRUCache" size="10" initialSize="0" autowarmCount="10" regenerator="solr.NoOpRegenerator"/>

<!--
Query Result Cache
7.0.0
-->
<queryResultCache class="solr.LRUCache" size="512" initialSize="512" autowarmCount="0"/>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LRUCache, LFUCache and FastLRUCache are deprecated and will be removed in Solr 9.0. Users should switch their configurations to use CaffeineCache instead.

Following lead from IQSS/dataverse#7662 I think removing the class would be enough to remove those deprecated cache references.

@mkalkbrenner mkalkbrenner merged commit c594668 into 4.x Jul 27, 2023
56 of 89 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants