forked from TYPO3-Solr/ext-solr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Support several Apache Solr versions
As incompatibilities can also occur in minor versions, all versions will be explicitly tested and listed. Currently tested and supported versions are: 8.11.1, 8.11.2., 8.11.3 It is always recommended to use the latest tested version. Note: Apache Solr 8.11.3 contains a breaking change, see security fix "SOLR-14853: Make enableRemoteStreaming option global; not configSet". EXT:solr relies on stream bodies which aren't enabled by default since 8.11.3. EXT:solr 11.5.6 contains all required settings, but if you're updating and not using our Docker image, you have to set "enableRemoteStreaming=true" and "solr.enableStreamBody=true". TYPO3 reports module will print a warning if you have to reconfigure. Ports: TYPO3-Solr#3956 Resolves: TYPO3-Solr#3955
- Loading branch information
1 parent
cba463b
commit b253ee3
Showing
7 changed files
with
100 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
FROM solr:8.11.1 | ||
FROM solr:8.11.3 | ||
MAINTAINER dkd Internet Service GmbH <[email protected]> | ||
ENV TERM linux | ||
|
||
USER root | ||
RUN rm -fR /opt/solr/server/solr/* | ||
RUN rm -fR /opt/solr/server/solr/* \ | ||
&& echo '# EXT:solr relevant changes: ' >> /etc/default/solr.in.sh \ | ||
&& echo 'SOLR_OPTS="$SOLR_OPTS -Dsolr.enableRemoteStreaming=true -Dsolr.enableStreamBody=true"' >> /etc/default/solr.in.sh \ | ||
&& echo '# END: EXT:solr' >> /etc/default/solr.in.sh | ||
|
||
USER solr | ||
|
||
COPY --chown=solr:solr Resources/Private/Solr/ /var/solr/data | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 32 additions & 20 deletions
52
Resources/Private/Templates/Backend/Reports/SolrVersionStatus.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,34 @@ | ||
<p style="margin-bottom: 10px;">Found an | ||
outdated Apache Solr server version. <br />The <strong>minimum | ||
required version is <code>{requiredVersion}</code></strong>, you have <code>{currentVersion}</code>.</p> | ||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" | ||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers" | ||
data-namespace-typo3-fluid="true" | ||
> | ||
|
||
<p style="margin-bottom: 10px;">Found an unsupported Apache Solr server version. <br /> | ||
It is strongly recommended to use one of the explicitly tested versions, preferably the latest one.<br /> | ||
The currently supported versions are: | ||
<f:for each="{supportedSolrVersions}" as="version" iteration="iterator"> | ||
<strong><code>{version}</code></strong>{f:if(condition: '{iterator.isLast}', then: '.', else: ',')} | ||
</f:for> | ||
<br />Your version is: <code>{currentVersion}</code>. | ||
</p> | ||
<table class="table table-condensed table-hover table-striped"> | ||
<thead> | ||
<tr> | ||
<td colspan="2">Affected Solr server</td> | ||
</tr> | ||
</thead> | ||
<tr> | ||
<th>Host</th> | ||
<td>{solr.primaryEndpoint.host}</td> | ||
</tr> | ||
<tr> | ||
<th>Path</th> | ||
<td>{solr.corePath}</td> | ||
</tr> | ||
<tr> | ||
<th>Port</th> | ||
<td>{solr.primaryEndpoint.port}</td> | ||
</tr> | ||
<thead> | ||
<tr> | ||
<td colspan="2">Affected Solr server</td> | ||
</tr> | ||
</thead> | ||
<tr> | ||
<th>Host</th> | ||
<td>{solr.primaryEndpoint.host}</td> | ||
</tr> | ||
<tr> | ||
<th>Path</th> | ||
<td>{solr.corePath}</td> | ||
</tr> | ||
<tr> | ||
<th>Port</th> | ||
<td>{solr.primaryEndpoint.port}</td> | ||
</tr> | ||
</table> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters