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

[TASK] 11.6.x-dev Bump solr from 9.5.0 to 9.7.0 in /Docker/SolrServer #4146

Open
wants to merge 20 commits into
base: release-11.6.x
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 10, 2024

Bumps solr from 9.5.0 to 9.7.0.

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

dkd-friedrich and others added 20 commits March 7, 2024 15:42
As there may be several indexing configurations per type the
queue check has to consider the indexing configuration. The
missing check is added by this commit.

Ports: #3764
Resolves: #3763
As an initial steps to allow custom index queue types interfaces
for queue and queue items are introduced. Additionally custom
queue classes can be configured via:
plugin.tx_solr.index.queue.<configurationName>.indexQueue

This is a breaking change for all instances that implement own
queues and queue items!

Ports: #3764
Resolves: #3763
Queue initialization status returned by the QueueInitializationService
isn't considered in the backend module and a success message is always
shown. This commit adds a check for the returned status and displays an
error message similiar to the message that is shown if an exceptions
occured.

Ports: #3764
Resolves: #3763
Existing exceptions are now based on the recently introduced
generic EXT:solr exception.

Additionally based on the new generic EXT:solr exception a further
exception is introduced, allowing more targeted handling of exceptions:
InvalidIndexQueueInitizalizationPostProcessorException

This is a breaking change as the base excepion changed and the new
exception is no longer based on \UnexpectedValueException.

Ports: #3764
Resolves: #3763
Activates PHPStan in level 2 and performs
required adaptions for this level.
Updates to Apache Solr 9.2, this includes the required
configuration updates. luceneMatchVersion is sill set to 8.5.0
to prevent changes in search behaviour.

To avoid security issues described in CVE-2022-39135 the SQL
module is not enabled, you have to enabled the module manually
if required.

Note: With Apache Solr 9 the following components are no longer
available and you have to adapt the configuration if needed. No
longer available components are:

1) Data Import Handler (DIH)
DIH is an independent project now; it is no longer a part of Solr

2) VelocityResponseWriter
VelocityResponseWriter is an independent project now; it is no
longer a part of Solr. This encompasses all previously included
/browse and wt=velocity examples.

This update is considered as breaking, as a new Solr server
and configset is required, but though not recommended you
can still use your old configset and Solr 8.5 if an update is
not possible.

Ports: #3673
This adds a startup script which disables all unneeded cores.

Usage:

`docker run -e 'TYPO3_SOLR_ENABLED_CORES=english german' -it typo3solr/ext-solr`

This enables only the english and german core (core_en, core_de) during startup.

If the env variable is not set, then all cores are enabled (= default behaviour).

The additional cores can be enabled afterwards by adding them to the TYPO3_SOLR_ENABLED_CORES env. variable.

Ports: #3503
…uild

This change makes it possible to change solr unix GID:UID on docker image build time.
It is required for dev. environments and custom setups of EXT:solr docker containers.

Ports: #3689
Note this change requires on third party installations enabling stream feature via the ENV vars or system properties.

Following variables are set in Docker images:
* `SOLR_ENABLE_REMOTE_STREAMING=true`
* `SOLR_ENABLE_STREAM_BODY=true`

For more information see:
* https://solr.apache.org/guide/solr/latest/upgrade-notes/major-changes-in-solr-9.html#security
* https://issues.apache.org/jira/browse/SOLR-14853

Ports: #3748
Since Apache Solr 9 the Unified Highlighter is used by default,
causing the fragment size setting to be ignored in our setup.

By configuring the Original Highlighter as default, this issue
is fixed till we update our highlighting setup to use the
recommended highlighter.

Ports: #3802
Updates the supported and recommended Solr version to
Apache Solr 9.5.0.
This change fixes the range string calculation, so items for
the given date are included until 23:59 of the target end date.

Fixes: #4087
Ports: #4090
Fixes multiple issues within "Optimize index of a site" component.

Relates: #4102
Ports: #4104
Bumps solr from 9.5.0 to 9.7.0.

---
updated-dependencies:
- dependency-name: solr
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file docker Pull requests that update Docker code labels Sep 10, 2024
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this pull request Sep 30, 2024
This change fixes the access restrictions stack within TYPO3 13.
There were multiple troubles in classes and in integration tests.
The page indexer stack on live system runs in multiple isolated processes:

1. CLI
2. first FE request to get FE-groups
3. multiple FE requests to get real content from page for desired FE-groups combination

unlike on integration test running the page indexer steps allways on single process. 
This requires to unset the produced state on each step of indexing process.
The runtime cache was interfering between the steps 
and did things that had nothing to do withhin the own step.

---

The main problem within access restriction stack on page indexing 
was the registration of Event-Listeners methods within `UserGroupDetector` with `#[AsEventListener]` on EXT:solr. 
Due of current troubles with circular dependencies 
the auto-wiring and auto-configuration was disabled in Servvices.yaml globally. 
It requires to enable this features manually for classes, which was done for `UserGroupDetector` class.

Relates: TYPO3-Solr#3995
Fixes: TYPO3-Solr#4146
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file docker Pull requests that update Docker code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants